41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
namespace app\model\Openim;
|
|
|
|
use think\Model;
|
|
/**
|
|
* @property string $user_id
|
|
* @property string $group_id
|
|
* @property int $handle_result
|
|
* @property string $req_msg
|
|
* @property string $handled_msg
|
|
* @property datetime $req_time
|
|
* @property string $handle_user_id
|
|
* @property datetime $handled_time
|
|
* @property int $join_source
|
|
* @property string $inviter_user_id
|
|
* @property string $ex
|
|
* @property string $handle_msg
|
|
*/
|
|
class GroupRequest extends \app\model\Base
|
|
{
|
|
protected $table = 'group_request';
|
|
protected $schema = [
|
|
'user_id' => 'string',
|
|
'group_id' => 'string',
|
|
'handle_result' => 'int',
|
|
'req_msg' => 'string',
|
|
'handled_msg' => 'string',
|
|
'req_time' => 'datetime',
|
|
'handle_user_id' => 'string',
|
|
'handled_time' => 'datetime',
|
|
'join_source' => 'int',
|
|
'inviter_user_id' => 'string',
|
|
'ex' => 'string',
|
|
'handle_msg' => 'string',
|
|
];
|
|
protected function getOptions(): array{
|
|
return array_merge(parent::getOptions(),[
|
|
'connection' => 'immongodb',
|
|
]);
|
|
}
|
|
} |