group_cat_info.go 767 B

12345678910111213
  1. package viewmodel
  2. type GroupCatInfo struct {
  3. OcId int64 `json:"-" xorm:"'oc_id' bigint pk comment('组织ID:公司或机构或单位ID')"`
  4. GroupCatId int64 `json:"groupCatId" xorm:"'group_cat_id' bigint pk comment('主键ID') "`
  5. GroupCatTitle string `json:"groupCatTitle" xorm:"'group_cat_title' varchar(50) comment('群组类型名称') "`
  6. GroupCatDesc string `json:"groupCatDesc" xorm:"'group_cat_desc' varchar(50) comment('描述') "`
  7. IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
  8. }
  9. func (t *GroupCatInfo) TableName() string {
  10. return "s_group_cat"
  11. }