co_do

package
v0.1.104 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Company

type Company struct {
	g.Meta        `orm:"table:co_company, do:true"`
	Id            interface{} // ID
	Name          interface{} // 名称
	ContactName   interface{} // 商务联系人
	ContactMobile interface{} // 商务联系电话
	UserId        interface{} // 管理员ID
	ParentId      interface{} // 父级ID
	State         interface{} // 状态:0未启用,1正常
	Remark        interface{} // 备注
	CreatedBy     interface{} // 创建者
	CreatedAt     *gtime.Time // 创建时间
	UpdatedBy     interface{} // 更新者
	UpdatedAt     *gtime.Time // 更新时间
	DeletedBy     interface{} // 删除者
	DeletedAt     *gtime.Time // 删除时间
}

Company is the golang structure of table co_company for DAO operations like Where/Data.

type CompanyEmployee

type CompanyEmployee struct {
	g.Meta       `orm:"table:co_company_employee, do:true"`
	Id           interface{} // ID,保持与USERID一致
	No           interface{} // 工号
	Avatar       interface{} // 头像
	Name         interface{} // 姓名
	Mobile       interface{} // 手机号
	UnionMainId  interface{} // 所属主体
	State        interface{} // 状态: -1已离职,0待确认,1已入职
	LastActiveIp interface{} // 最后活跃IP
	HiredAt      *gtime.Time // 入职时间
	CreatedBy    interface{} //
	CreatedAt    *gtime.Time //
	UpdatedBy    interface{} //
	UpdatedAt    *gtime.Time //
	DeletedBy    interface{} //
	DeletedAt    *gtime.Time //
}

CompanyEmployee is the golang structure of table co_company_employee for DAO operations like Where/Data.

type CompanyTeam

type CompanyTeam struct {
	g.Meta            `orm:"table:co_company_team, do:true"`
	Id                interface{} //
	Name              interface{} // 团队名称,公司维度下唯一
	OwnerEmployeeId   interface{} // 团队所有者/业务总监/业务经理/团队队长
	CaptainEmployeeId interface{} // 团队队长编号/小组组长
	UnionMainId       interface{} // 所属主体单位ID
	ParentId          interface{} // 父级ID
	Remark            interface{} // 备注
	CreatedAt         *gtime.Time //
	UpdatedAt         *gtime.Time //
	DeletedAt         *gtime.Time //
}

CompanyTeam is the golang structure of table co_company_team for DAO operations like Where/Data.

type CompanyTeamMember

type CompanyTeamMember struct {
	g.Meta       `orm:"table:co_company_team_member, do:true"`
	Id           interface{} // ID
	TeamId       interface{} // 团队ID
	EmployeeId   interface{} // 成员ID
	InviteUserId interface{} // 邀约人ID
	UnionMainId  interface{} // 关联主体ID
	JoinAt       *gtime.Time // 加入时间
}

CompanyTeamMember is the golang structure of table co_company_team_member for DAO operations like Where/Data.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL