app_cat_info.go 726 B

12345678910111213
  1. package viewmodel
  2. type AppCatInfo struct {
  3. OcId int64 `json:"ocId" xorm:"'oc_id' bigint pk comment('OC ID') "`
  4. AppCatId int64 `json:"appCatId" xorm:"'app_cat_id' bigint pk comment('主键ID') "`
  5. AppCatTitle string `json:"appCatTitle" xorm:"'app_cat_title' varchar(50) comment('群组类型名称') "`
  6. AppCatDesc string `json:"appCatDesc" xorm:"'app_cat_desc' varchar(50) comment('描述') "`
  7. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
  8. }
  9. func (t *AppCatInfo) TableName() string {
  10. return "app_cat"
  11. }