co_company_api

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 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 AuditInvoiceDetailReq added in v0.1.112

type AuditInvoiceDetailReq struct {
	InvoiceDetailId int64 `json:"invoiceDetailId"  v:"required|max-length:64#请输入发票详情id|id最大支持64个字符" dc:"发票详情id" `
	AuditInfo       co_model.FdInvoiceAuditInfo
}

type BankCardRegisterReq added in v0.1.112

type BankCardRegisterReq struct {
	co_model.BankCardRegister
}

type CreateCompanyReq

type CreateCompanyReq struct {
	co_model.Company
}

type CreateEmployeeReq

type CreateEmployeeReq struct {
	co_model.Employee
}

type CreateInvoiceDetailReq added in v0.1.112

type CreateInvoiceDetailReq struct {
	co_model.FdInvoiceDetailRegister
}

type CreateInvoiceReq added in v0.1.112

type CreateInvoiceReq struct {
	co_model.FdInvoiceRegister
}

type CreateTeamReq

type CreateTeamReq struct {
	co_model.Team
}

type DeleteBankCardReq added in v0.1.112

type DeleteBankCardReq struct {
	BankCardId int64 `json:"bankCardId" dc:"银行卡ID"`
}

type DeleteEmployeeReq

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

type DeleteInvoiceByIdReq added in v0.1.112

type DeleteInvoiceByIdReq struct {
	InvoiceId int64 `json:"invoiceId" dc:"发票抬头ID"`
}

type DeleteTeamReq

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

type GetAccountBalanceReq added in v0.1.112

type GetAccountBalanceReq struct {
	AccountId int64 `json:"accountId" 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 MakeInvoiceDetailReq added in v0.1.112

type MakeInvoiceDetailReq struct {
	InvoiceDetailId int64 `json:"invoiceDetailId"  v:"required|max-length:64#请输入发票详情id|id最大支持64个字符" dc:"发票详情id"`
	co_model.FdMakeInvoiceDetail
}

type QueryBankCardListReq added in v0.1.112

type QueryBankCardListReq struct {
	UserId int64 `json:"userId" dc:"用户ID"`
	base_model.SearchParams
}

type QueryCompanyListReq

type QueryCompanyListReq struct {
	base_model.SearchParams
}

type QueryEmployeeListReq

type QueryEmployeeListReq struct {
	base_model.SearchParams
}

type QueryInvoiceDetailListReq added in v0.1.112

type QueryInvoiceDetailListReq struct {
	UnionMainId int64 `json:"unionMainId" dc:"主体ID"`
	UserId      int64 `json:"userId" dc:"用户ID"`
	base_model.SearchParams
}

type QueryInvoiceReq added in v0.1.112

type QueryInvoiceReq struct {
	UserId int64 `json:"userId"  dc:"用户ID"`
	base_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 {
	base_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