oc_cat_info.go 724 B

12345678910111213
  1. package viewmodels
  2. type OcCatInfo struct {
  3. OcTypeId int64 `json:"ocTypeId" xorm:"'oc_type_id' bigint pk comment('主键ID') "`
  4. OcCatId int64 `json:"ocCatId" xorm:"'oc_cat_id' bigint pk comment('主键ID') "`
  5. OcCatTitle string `json:"ocCatTitle" xorm:"'oc_cat_title' varchar(50) comment('群组类型名称') "`
  6. OcCatDesc string `json:"ocCatDesc" xorm:"'oc_cat_desc' varchar(50) comment('描述') "`
  7. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
  8. }
  9. func (t *OcCatInfo) TableName() string {
  10. return "oc_cat"
  11. }