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