Files

47 lines
1.3 KiB
PHP
Raw Permalink Normal View History

2026-02-27 13:53:53 +08:00
<?php
namespace app\model\Openim;
use think\Model;
/**
* @property string $group_id
* @property string $group_name
* @property string $notification
* @property string $introduction
* @property string $face_url
* @property datetime $create_time
* @property string $ex
* @property int $status
* @property string $creator_user_id
* @property int $group_type
* @property int $need_verification
* @property int $look_member_info
* @property int $apply_member_friend
* @property datetime $notification_update_time
* @property string $notification_user_id
*/
class Group extends \app\model\Base
{
protected $table = 'group';
protected $schema = [
'group_id' => 'string',
'group_name' => 'string',
'notification' => 'string',
'introduction' => 'string',
'face_url' => 'string',
'create_time' => 'datetime',
'ex' => 'string',
'status' => 'int',
'creator_user_id' => 'string',
'group_type' => 'int',
'need_verification' => 'int',
'look_member_info' => 'int',
'apply_member_friend' => 'int',
'notification_update_time' => 'datetime',
'notification_user_id' => 'string',
];
protected function getOptions(): array{
return array_merge(parent::getOptions(),[
'connection' => 'immongodb',
]);
}
}