Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Company ¶
type Company struct { Id int64 `json:"id" description:"ID"` Name string `json:"name" description:"名称"` ContactName string `json:"contactName" description:"商务联系人"` ContactMobile string `json:"contactMobile" description:"商务联系电话"` UserId int64 `json:"userId" description:"管理员ID"` ParentId int64 `json:"parentId" description:"父级ID"` State int `json:"state" description:"状态:0未启用,1正常"` Remark string `json:"remark" description:"备注"` CreatedBy int64 `json:"createdBy" description:"创建者"` CreatedAt *gtime.Time `json:"createdAt" description:"创建时间"` UpdatedBy int64 `json:"updatedBy" description:"更新者"` UpdatedAt *gtime.Time `json:"updatedAt" description:"更新时间"` DeletedBy int64 `json:"deletedBy" description:"删除者"` DeletedAt *gtime.Time `json:"deletedAt" description:"删除时间"` }
Company is the golang structure for table company.
type CompanyEmployee ¶
type CompanyEmployee struct { Id int64 `json:"id" description:"ID,保持与USERID一致"` No string `json:"no" description:"工号"` Avatar string `json:"avatar" description:"头像"` Name string `json:"name" description:"姓名"` Mobile string `json:"mobile" description:"手机号"` UnionMainId int64 `json:"unionMainId" description:"所属主体"` State int `json:"state" description:"状态: -1已离职,0待确认,1已入职"` LastActiveIp string `json:"lastActiveIp" description:"最后活跃IP"` HiredAt *gtime.Time `json:"hiredAt" description:"入职时间"` CreatedBy int64 `json:"createdBy" description:""` CreatedAt *gtime.Time `json:"createdAt" description:""` UpdatedBy int64 `json:"updatedBy" description:""` UpdatedAt *gtime.Time `json:"updatedAt" description:""` DeletedBy int64 `json:"deletedBy" description:""` DeletedAt *gtime.Time `json:"deletedAt" description:""` }
CompanyEmployee is the golang structure for table company_employee.
type CompanyTeam ¶
type CompanyTeam struct { Id int64 `json:"id" description:""` Name string `json:"name" description:"团队名称,公司维度下唯一"` OwnerEmployeeId int64 `json:"ownerEmployeeId" description:"团队所有者/业务总监/业务经理/团队队长"` CaptainEmployeeId int64 `json:"captainEmployeeId" description:"团队队长编号/小组组长"` UnionMainId int64 `json:"unionMainId" description:"所属主体单位ID"` ParentId int64 `json:"parentId" description:"父级ID"` Remark string `json:"remark" description:"备注"` CreatedAt *gtime.Time `json:"createdAt" description:""` UpdatedAt *gtime.Time `json:"updatedAt" description:""` DeletedAt *gtime.Time `json:"deletedAt" description:""` }
CompanyTeam is the golang structure for table company_team.
type CompanyTeamMember ¶
type CompanyTeamMember struct { Id int64 `json:"id" description:"ID"` TeamId int64 `json:"teamId" description:"团队ID"` EmployeeId int64 `json:"employeeId" description:"成员ID"` InviteUserId int64 `json:"inviteUserId" description:"邀约人ID"` UnionMainId int64 `json:"unionMainId" description:"关联主体ID"` JoinAt *gtime.Time `json:"joinAt" description:"加入时间"` }
CompanyTeamMember is the golang structure for table company_team_member.
Click to show internal directories.
Click to hide internal directories.