12
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
<?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',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user