Files
im/app/model/Openim/Config.php
T

27 lines
641 B
PHP
Raw Normal View History

2026-02-27 13:53:53 +08:00
<?php
namespace app\model\Openim;
use think\Model;
/**
* @property string $key
* @property string $value
* @property string $description
* @property datetime $create_time
* @property datetime $update_time
*/
class Config extends \app\model\Base
{
protected $table = 'config';
protected $schema = [
'key' => 'string',
'value' => 'string',
'description' => 'string',
'create_time' => 'datetime',
'update_time' => 'datetime',
];
protected function getOptions(): array{
return array_merge(parent::getOptions(),[
'connection' => 'immongodb',
]);
}
}