Files
im/app/model/Openim/Msg.php
T
commie d75fea32f7 12
2026-02-27 13:53:53 +08:00

21 lines
425 B
PHP

<?php
namespace app\model\Openim;
use think\Model;
/**
* @property string $doc_id
* @property array $msgs
*/
class Msg extends \app\model\Base
{
protected $table = 'msg';
protected $schema = [
'doc_id' => 'string',
'msgs' => 'array',
];
protected function getOptions(): array{
return array_merge(parent::getOptions(),[
'connection' => 'immongodb',
]);
}
}