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