Files

28 lines
641 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 $d_id
* @property array $logs
* @property int $version
* @property bool $deleted
* @property datetime $last_update
*/
class ConversationVersion extends \app\model\Base
{
protected $table = 'conversation_version';
protected $schema = [
'd_id' => 'string',
'logs' => 'array',
'version' => 'int',
'deleted' => 'bool',
'last_update' => 'datetime',
];
protected function getOptions(): array{
return array_merge(parent::getOptions(),[
'connection' => 'immongodb',
]);
}
}