package viewmodels type AppPermitInfo struct { AppId int64 `json:"appId" xorm:"'app_id' bigint pk comment('APP ID') "` RoleId int64 `json:"roleId" xorm:"'role_id' bigint pk comment('Role ID') "` PermitId int64 `json:"permitId" xorm:"'permit_id' bigint pk comment('Permit ID') "` PermitTitle string `json:"permitTitle" xorm:"'permit_title' varchar(127) comment('标题') "` PermitCode string `json:"permitCode" xorm:"'permit_code' varchar(127) comment('CODE') "` PermitDesc string `json:"permitDesc" xorm:"'permit_desc' varchar(511) comment('描述') "` PermitType int64 `json:"permitType" xorm:"'permit_type' int comment('Type') "` RootId int64 `json:"rootId" xorm:"'root_id' int comment('Root Id') "` ParentId int64 `json:"parentId" xorm:"'parent_id' int comment('Parent Id') "` SortNo int64 `json:"sortNo" xorm:"'sort_no' int comment('Sort No') "` } func (t *AppPermitInfo) TableName() string { return "app_permit" }