co_company_api

package
v0.1.111 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: MIT Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateCompanyReq

type CreateCompanyReq struct {
	co_model.Company
}

type CreateEmployeeReq

type CreateEmployeeReq struct {
	co_model.Employee
}

type CreateTeamReq

type CreateTeamReq struct {
	co_model.Team
}

type DeleteEmployeeReq

type DeleteEmployeeReq struct {
	Id int64 `json:"id" v:"required#ID校验失败" dc:"员工ID"`
}

type DeleteTeamReq

type DeleteTeamReq struct {
	Id int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}

type GetCompanyByIdReq

type GetCompanyByIdReq struct {
	Id int64 `json:"id" v:"required#ID校验失败" dc:"服务商ID"`
}

type GetCompanyDetailReq

type GetCompanyDetailReq struct {
	Id int64 `json:"id" v:"required#ID校验失败" dc:"服务商ID"`
}

type GetCompanyReq

type GetCompanyReq struct {
}

type GetEmployeeByIdReq

type GetEmployeeByIdReq struct {
	Id int64 `json:"id" v:"required#ID校验失败" dc:"员工ID"`
}

type GetEmployeeDetailByIdReq

type GetEmployeeDetailByIdReq struct {
	Id int64 `json:"id" v:"required#ID校验失败" dc:"员工ID"`
}

type GetEmployeeListByRoleIdReq

type GetEmployeeListByRoleIdReq struct {
	Id int64 `json:"id" v:"required#ID校验失败" dc:"角色ID"`
}

type GetProfileReq

type GetProfileReq struct {
}

type GetTeamByIdReq

type GetTeamByIdReq struct {
	Id int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}

type GetTeamMemberListReq

type GetTeamMemberListReq struct {
	Id int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
}

type GetTeamsReq

type GetTeamsReq struct {
}

type HasCompanyByNameReq

type HasCompanyByNameReq struct {
	Name string `json:"name" v:"required#名称不能为空" dc:"名称"`
}

type HasEmployeeByNameReq

type HasEmployeeByNameReq struct {
	Name        string `json:"name" v:"required#名称不能为空" dc:"名称"`
	UnionNameId int64  `json:"unionNameId" dc:"关联主体ID"`
	ExcludeId   int64  `json:"excludeId" dc:"要排除的员工ID"`
}

type HasEmployeeByNoReq

type HasEmployeeByNoReq struct {
	No        string `json:"no" dc:"工号"`
	ExcludeId int64  `json:"excludeId" dc:"要排除的员工ID"`
}

type HasTeamByNameReq

type HasTeamByNameReq struct {
	Name        string `json:"name" v:"required#名称不能为空" dc:"名称"`
	UnionNameId int64  `json:"unionNameId" dc:"关联主体ID"`
	ExcludeId   int64  `json:"excludeId" dc:"要排除的团队ID"`
}

type QueryCompanyListReq

type QueryCompanyListReq struct {
	sys_model.SearchParams
}

type QueryEmployeeListReq

type QueryEmployeeListReq struct {
	sys_model.SearchParams
}

type QueryTeamListByEmployeeReq

type QueryTeamListByEmployeeReq struct {
	EmployeeId  int64 `json:"employeeId" v:"required#员工ID校验失败" dc:"员工ID"`
	UnionMainId int64 `json:"unionMainId" dc:"关联主体,默认当前主体"`
}

type QueryTeamListReq

type QueryTeamListReq struct {
	sys_model.SearchParams
}

type SetAvatarReq

type SetAvatarReq struct {
	ImageId int64 `json:"imageId" dc:"头像ID"`
}

type SetMobileReq

type SetMobileReq struct {
	Mobile   int64  `json:"mobile" v:"required|phone#请数据手机号|手机号错误" dc:"手机号"`
	Captcha  string `json:"captcha" v:"required#请输入手机验证码"`
	Password string `json:"password" v:"required#请输入账号密码" dc:"登录密码"`
}

type SetTeamCaptainReq

type SetTeamCaptainReq struct {
	Id         int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
	EmployeeId int64 `json:"employeeId" v:"required#团队队长ID校验失败" dc:"团队队长ID"`
}

type SetTeamMemberReq

type SetTeamMemberReq struct {
	Id          int64   `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
	EmployeeIds []int64 `json:"employeeIds" dc:"团队成员"`
}

type SetTeamOwnerReq

type SetTeamOwnerReq struct {
	Id         int64 `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
	EmployeeId int64 `json:"employeeId" v:"required#团队管理者ID校验失败" dc:"团队管理者ID"`
}

type UpdateCompanyReq

type UpdateCompanyReq struct {
	co_model.Company
}

type UpdateEmployeeReq

type UpdateEmployeeReq struct {
	co_model.Employee
}

type UpdateTeamReq

type UpdateTeamReq struct {
	Id     int64  `json:"id" v:"required#团队ID校验失败" dc:"团队或小组ID"`
	Name   string `json:"name" v:"required#名称不能为空" dc:"名称"`
	Remark string `json:"remark" dc:"备注"`
}

Jump to

Keyboard shortcuts

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