group_member.go 710 B

123456789101112131415
  1. package datamodel
  2. // GroupMember data struct
  3. type GroupMember struct {
  4. GmId int64 `json:"gmId" xorm:"bigint 'gm_id' not null comment('主键ID')"`
  5. OcId int64 `json:"ocId" xorm:"bigint 'oc_id' not null comment('组织ID:公司或机构或单位ID')"`
  6. GroupId int64 `json:"groupId" xorm:"bigint 'group_id' not null comment('主键ID')"`
  7. AccountId int64 `json:"accountId" xorm:"bigint 'account_id' not null comment('主键ID')"`
  8. IsFixed int64 `json:"isFixed" xorm:"bigint 'is_fixed' comment('主键ID')"`
  9. }
  10. // TableName : table name of database
  11. func (t *GroupMember) TableName() string {
  12. return "s_group_member"
  13. }