12
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
namespace app\model\Openim;
|
||||
|
||||
use think\Model;
|
||||
/**
|
||||
* @property string $conversation_id
|
||||
* @property string $user_id
|
||||
* @property int $max_seq
|
||||
* @property int $min_seq
|
||||
* @property int $read_seq
|
||||
*/
|
||||
class SeqUser extends \app\model\Base
|
||||
{
|
||||
protected $table = 'seq_user';
|
||||
protected $schema = [
|
||||
'conversation_id' => 'string',
|
||||
'user_id' => 'string',
|
||||
'max_seq' => 'int',
|
||||
'min_seq' => 'int',
|
||||
'read_seq' => 'int',
|
||||
];
|
||||
protected function getOptions(): array{
|
||||
return array_merge(parent::getOptions(),[
|
||||
'connection' => 'immongodb',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user