29 lines
723 B
PHP
29 lines
723 B
PHP
|
|
<?php
|
||
|
|
namespace app\model\Openim;
|
||
|
|
|
||
|
|
use think\Model;
|
||
|
|
/**
|
||
|
|
* @property string $owner_user_id
|
||
|
|
* @property string $block_user_id
|
||
|
|
* @property datetime $create_time
|
||
|
|
* @property int $add_source
|
||
|
|
* @property string $operator_user_id
|
||
|
|
* @property string $ex
|
||
|
|
*/
|
||
|
|
class Black extends \app\model\Base
|
||
|
|
{
|
||
|
|
protected $table = 'black';
|
||
|
|
protected $schema = [
|
||
|
|
'owner_user_id' => 'string',
|
||
|
|
'block_user_id' => 'string',
|
||
|
|
'create_time' => 'datetime',
|
||
|
|
'add_source' => 'int',
|
||
|
|
'operator_user_id' => 'string',
|
||
|
|
'ex' => 'string',
|
||
|
|
];
|
||
|
|
protected function getOptions(): array{
|
||
|
|
return array_merge(parent::getOptions(),[
|
||
|
|
'connection' => 'immongodb',
|
||
|
|
]);
|
||
|
|
}
|
||
|
|
}
|