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