Files

27 lines
624 B
PHP
Raw Permalink Normal View History

2026-02-27 13:53:53 +08:00
<?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',
]);
}
}