package viewmodel type OcTypeInfo struct { OcTypeId int64 `json:"ocTypeId" xorm:"'oc_type_id' bigint pk comment('主键ID') "` OcTypeTitle string `json:"ocTypeTitle" xorm:"'oc_type_title' varchar(50) comment('群组类型名称') "` OcTypeDesc string `json:"ocTypeDesc" xorm:"'oc_type_desc' varchar(50) comment('描述') "` IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "` } func (t *OcTypeInfo) TableName() string { return "oc_type" }