oc_type_info.go 593 B

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