// +---------------------------------------------------------------------- namespace app\kefu\model\user; use traits\ModelTrait; use basic\ModelBasic; use service\HookService; use service\SystemConfigService; use app\kefu\model\user\UserLabelModel; class UserLabelCate extends ModelBasic { use ModelTrait; protected $name = "user_label_category"; public function labelList() { return $this->hasMany(UserLabelModel::class, "label_cate", "id"); } }