doc_cat_info.go 725 B

12345678910111213
  1. package viewmodel
  2. type DocCatInfo struct {
  3. OcId int64 `json:"ocId" xorm:"'oc_id' bigint pk comment('OC ID') "`
  4. DocCatId int64 `json:"docCatId" xorm:"'doc_cat_id' bigint pk comment('DOC CAT ID') "`
  5. DocCatTitle string `json:"docCatTitle" xorm:"'doc_cat_title' varchar(127) comment('群组类型名称') "`
  6. DocCatDesc string `json:"docCatDesc" xorm:"'doc_cat_desc' varchar(127) comment('描述') "`
  7. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
  8. }
  9. func (t *DocCatInfo) TableName() string {
  10. return "doc_cat"
  11. }