group_member_position_grant_info.go 2.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. // Copyright 2020. HouYafeng. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // License that can be found in the LICENSE file.
  4. // Package tar implements access to tar archives .
  5. // It aims to cover most of the variations, including those produced.
  6. // by GUN and BSD tars.
  7. //
  8. // References:
  9. // https://www.58yunkang.com
  10. package viewmodels
  11. type GroupMemberPositionGrantInfo struct {
  12. OcId int64 `xorm:"'oc_id' bigint not null pk comment('公司组织ID') " `
  13. GmId int64 `xorm:"'gm_id' bigint not null pk comment('GM PK ID') " `
  14. GroupId int64 `xorm:"'group_id' bigint not null pk comment('群组ID') " `
  15. GroupName string `xorm:"'group_name' string not null comment('群组名称') " `
  16. AccountId int64 `xorm:"'account_id' bigint not null pk comment('帐号ID') " `
  17. AccountRealName string `xorm:"'account_real_name' varchar(64) comment('姓名')"`
  18. AccountPhone string `xorm:"'account_phone' varchar(64) comment('手机号')"`
  19. AccountLastIp string `xorm:"'account_last_ip' varchar(64) comment('最近一次登录IP')"`
  20. AccountLoc string `xorm:"'account_loc' varchar(64) comment('区域')"`
  21. AccountPic string `xorm:"'account_pic' varchar(64) comment('头像')"`
  22. Status int64 `xorm:"'status' bigint default 1 comment('状态,默认值 1,[0:未激活; 1:正常; 2:锁定; -1:删除'])"`
  23. GmpId int64 `xorm:"'gmp_id' bigint not null comment('GMP PK ID') " `
  24. PositionId int64 `xorm:"'account_id' bigint not null comment('岗位ID') " `
  25. PositionName string `xorm:"'position_name' string not null comment('岗位名称') " `
  26. GmpgId int64 `xorm:"'gmpg_id' bigint not null comment('GMPG PK ID') " `
  27. GrantGroupId int64 `xorm:"'grant_group_id' bigint not null comment('授权群组ID') " `
  28. GrantGroupName string `xorm:"'grant_group_name' string not null comment('授权群组名称') " `
  29. }