group_member_position_grant.go 939 B

12345678910111213141516
  1. package datamodels
  2. // Group Member Position Grant
  3. type GroupMemberPositionGrant struct {
  4. OcId int64 `form:"ocId" xorm:"bigint 'oc_id' pk not null comment('组织ID:公司或机构或单位ID')"`
  5. GmpgId int64 `form:"gmpgid" xorm:"bigint 'gmpg_id' pk not null comment('主键ID')"`
  6. GroupId int64 `form:"groupId" xorm:"bigint 'group_id' not null comment('群组ID')"`
  7. AccountId int64 `form:"accountId" xorm:"bigint 'account_id' not null comment('帐号ID')"`
  8. PositionId int64 `form:"positionId" xorm:"bigint 'position_id' not null comment('岗位ID')"`
  9. GrantGroupId int64 `form:"grantGroupId" xorm:"bigint 'grant_group_id' not null comment('授权群组ID')"`
  10. }
  11. // TableName: table name of database
  12. func (t *GroupMemberPositionGrant) TableName() string {
  13. return "s_group_member_position_grant"
  14. }