| 12345678910111213141516171819202122 |
- package datamodels
- import "time"
- type GroupCat struct {
- OcId int64 `json:"-" xorm:"'oc_id' bigint pk comment('组织ID:公司或机构或单位ID')"`
- GroupCatId int64 `json:"groupCatId" xorm:"'group_cat_id' bigint pk comment('主键ID') "`
- GroupCatTitle string `json:"groupCatTitle" xorm:"'group_cat_title' varchar(50) comment('群组类型名称') "`
- GroupCatDesc string `json:"groupCatDesc" xorm:"'group_cat_desc' varchar(50) comment('描述') "`
- IsFixed int64 `json:"isFixed" xorm:"'is_fixed' int comment('是否可修改') "`
- CreatedBy int64 `json:"createdBy" xorm:"'created_by'"`
- CreatedAt time.Time `json:"createdAt" xorm:"'created_at'"`
- UpdatedBy int64 `json:"updatedBy" xorm:"'updated_by'"`
- UpdatedAt time.Time `json:"updatedAt" xorm:"'updated_at'"`
- DeletedFlag int64 `json:"deletedFlag" xorm:"'deleted_flag'"`
- DeletedBy int64 `json:"deletedBy" xorm:"'deleted_by'"`
- DeletedAt time.Time `json:"deletedAt" xorm:"'deleted_at'"`
- }
- func (t *GroupCat) TableName() string {
- return "s_group_cat"
- }
|