oc_info.go 1.7 KB

1234567891011121314151617181920
  1. package viewmodels
  2. // OcInfo
  3. type OcInfo struct {
  4. OcId int64 `json:"ocId" form:"ocTypeId" xorm:"'oc_id' bigint pk comment('主键ID') " `
  5. OcName string `json:"ocName" form:"ocName" xorm:"'oc_name' varchar(127) comment('ENT类型名称') " `
  6. OcTypeId int64 `json:"ocTypeId" form:"ocTypeId" xorm:"'oc_type_id' bigint comment('Type ID') " `
  7. RootId int64 `json:"rootId" form:"rootId" xorm:"'root_id' bigint comment('Root ID') " `
  8. ParentId int64 `json:"parentId" form:"parentId" xorm:"'parent_id' bigint comment('Parent ID') " `
  9. AdminId int64 `json:"adminId" form:"adminId" xorm:"'admin_id' bigint comment('Admin ID') " `
  10. AdminName string `json:"adminName" form:"adminName" xorm:"'admin_name' varchar(127) comment('Admin Name') " `
  11. GroupId int64 `json:"groupId" form:"groupId" xorm:"'group_id' bigint comment('Root Group Id')" `
  12. IfLic int `json:"ifLic" form:"ifLic" xorm:"'if_lic' int comment('Admin ID') " `
  13. NodeLeft int `json:"nodeLeft" form:"nodeLeft" xorm:"'node_left' int comment('Admin ID') " `
  14. NodeRight int `json:"nodeRight" form:"nodeRight" xorm:"'node_right' int comment('Admin ID') " `
  15. IsLeaf int `json:"isLeaf" form:"isLeaf" xorm:"'is_leaf' int comment('Admin ID') " `
  16. NodeLevel int `json:"nodeLevel" form:"nodeLevel" xorm:"'node_level' int comment('Admin ID') " `
  17. Status int `json:"status" form:"status" xorm:"'status' int comment('OC Status') " `
  18. }