- package viewmodel
- type OcCatInfo struct {
- OcTypeId int64 `json:"ocTypeId" xorm:"'oc_type_id' bigint pk comment('主键ID') "`
- OcCatId int64 `json:"ocCatId" xorm:"'oc_cat_id' bigint pk comment('主键ID') "`
- OcCatTitle string `json:"ocCatTitle" xorm:"'oc_cat_title' varchar(50) comment('群组类型名称') "`
- OcCatDesc string `json:"ocCatDesc" xorm:"'oc_cat_desc' varchar(50) comment('描述') "`
- IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
- }
- func (t *OcCatInfo) TableName() string {
- return "oc_cat"
- }
|