// +---------------------------------------------------------------------- namespace app\model\user; use crmeb\basic\BaseModel; use crmeb\traits\ModelTrait; /** * Class UserGroup * @package app\model\user */ class UserGroup extends BaseModel { use ModelTrait; /** * 数据表主键 * @var string */ protected $pk = 'id'; /** * 模型名称 * @var string */ protected $name = 'user_group'; }