Files
commie d75fea32f7 12
2026-02-27 13:53:53 +08:00

35 lines
881 B
PHP

<?php
namespace app\model\Openim;
use think\Model;
/**
* @property string $friend_id
* @property string $owner_user_id
* @property string $friend_user_id
* @property string $remark
* @property datetime $create_time
* @property int $add_source
* @property string $operator_user_id
* @property string $ex
* @property bool $is_pinned
*/
class Friend extends \app\model\Base
{
protected $table = 'friend';
protected $schema = [
'owner_user_id' => 'string',
'friend_user_id' => 'string',
'remark' => 'string',
'create_time' => 'datetime',
'add_source' => 'int',
'operator_user_id' => 'string',
'ex' => 'string',
'is_pinned' => 'bool',
];
protected function getOptions(): array{
return array_merge(parent::getOptions(),[
'connection' => 'immongodb',
]);
}
}