app_permit_info.go 1.3 KB

123456789101112131415
  1. package viewmodels
  2. // AppPermit Data Model
  3. type AppPermitInfo struct {
  4. AppId int64 `json:"appId" form:"appId" xorm:"'app_id' bigint pk comment('APP ID')"`
  5. RoleId int64 `json:"roleId" form:"roleId" xorm:"'role_id' bigint pk comment('Role ID')"`
  6. PermitId int64 `json:"permitId" form:"permitId" xorm:"'permit_id' bigint pk comment('Permit ID') "`
  7. PermitTitle string `json:"permitTitle" form:"permitTitle" xorm:"'permit_title' varchar(127) comment('标题') "`
  8. PermitCode string `json:"permitCode" form:"permitCode" xorm:"'permit_code' varchar(127) comment('CODE') "`
  9. PermitDesc string `json:"permitDesc" form:"permitDesc" xorm:"'permit_desc' varchar(511) comment('描述') "`
  10. PermitType int64 `json:"permitType" form:"permitType" xorm:"'permit_type' int comment('Type') "`
  11. RootId int64 `json:"rootId" form:"rootId" xorm:"'root_id' int comment('Root Id') "`
  12. ParentId int64 `json:"parentId" form:"parentId" xorm:"'parent_id' int comment('Parent Id') "`
  13. SortNo int64 `json:"sortNo" form:"sortNo" xorm:"'sort_no' int comment('Sort No') "`
  14. }