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