Documentation ¶
Index ¶
- func BatchCreateAssessRecord(req *BatchCreateAssessRecordRequest) error
- func BatchCreateCertificate(req *BatchCreateCertificateRequest) error
- func BatchCreateFamilyMembers(req *BatchCreateFamilyMemberRequest) error
- func BatchCreateMotionRecordings(req *BatchCreateMotionRecodingRequest) error
- func BatchCreateRewardPunishes(req *BatchCreateRewardPunishRequest) error
- func BatchCreateTrainingRecords(req *BatchCreateTrainingRecordRequest) error
- func BatchCreateWorkExperiences(req *BatchCreateWorkExperienceRequest) error
- func CreateCertificate(req *CreateCertificateRequest) (string, error)
- func CreateFamilyMember(req *CreateFamilyMemberRequest) (string, error)
- func CreateMotionRecoding(req *CreateMotionRecodingRequest) (string, error)
- func CreatePersonnelArchive(req *CreatePersonnelArchiveRequest) (string, error)
- func CreateRewardPunish(req *CreateRewardPunishRequest) (string, error)
- func CreateTrainingRecord(req *CreateTrainingRecordRequest) (string, error)
- func CreateWorkExperience(req *CreateWorkExperienceRequest) (string, error)
- func DeleteCertificate(companyId, certId string) error
- func DeleteFamilyMember(companyId, familyMemberId string) error
- func DeleteMotionRecoding(companyId, motionRecordingId string) error
- func DeletePersonnelArchive(companyId, archiveId string) error
- func DeleteRewardPunish(companyId, rewardPunishId string) error
- func DeleteTrainingRecord(companyId, id string) error
- func DeleteWorkExperience(companyId, rewardPunishId string) error
- func Destroy()
- func Init(baseUrl string, timeoutSec time.Duration)
- func UpdateCertificate(req *UpdateCertificateRequest) error
- func UpdateFamilyMember(req *UpdateFamilyMemberRequest) error
- func UpdateMotionRecording(req *UpdateMotionRecodingRequest) error
- func UpdatePersonnelArchive(req *UpdatePersonnelArchiveRequest) error
- func UpdateRewardPunish(req *UpdateRewardPunishRequest) error
- func UpdateTrainingRecord(req *UpdateTrainingRecordRequest) error
- func UpdateWorkExperience(req *UpdateWorkExperienceRequest) error
- type AssessRecordInfo
- type BatchCreateAssessRecordRequest
- type BatchCreateAssessRecordResponse
- type BatchCreateCertificateRequest
- type BatchCreateCertificateResponse
- type BatchCreateFamilyMemberRequest
- type BatchCreateFamilyMemberResponse
- type BatchCreateMotionRecodingRequest
- type BatchCreateMotionRecodingResponse
- type BatchCreateRewardPunishRequest
- type BatchCreateRewardPunishResponse
- type BatchCreateTrainingRecordRequest
- type BatchCreateTrainingRecordResponse
- type BatchCreateWorkExperienceRequest
- type BatchCreateWorkExperienceResponse
- type CertificateInfo
- type CreateAssessRecordRequest
- type CreateCertificateRequest
- type CreateCertificateResponse
- type CreateFamilyMemberRequest
- type CreateFamilyMemberResponse
- type CreateMotionRecodingRequest
- type CreateMotionRecodingResponse
- type CreatePersonnelArchiveRequest
- type CreatePersonnelArchiveResponse
- type CreateRewardPunishRequest
- type CreateRewardPunishResponse
- type CreateTrainingRecordRequest
- type CreateTrainingRecordResponse
- type CreateWorkExperienceRequest
- type CreateWorkExperienceResponse
- type DeleteCertificateQuery
- type DeleteCertificateResponse
- type DeleteFamilyMemberQuery
- type DeleteFamilyMemberResponse
- type DeleteMotionRecodingQuery
- type DeleteMotionRecodingResponse
- type DeletePersonnelArchiveQuery
- type DeletePersonnelArchiveResponse
- type DeleteRewardPunishQuery
- type DeleteRewardPunishResponse
- type DeleteTrainingRecordQuery
- type DeleteTrainingRecordResponse
- type DeleteWorkExperienceQuery
- type DeleteWorkExperienceResponse
- type FamilyMemberInfo
- type GetAssessRecordsQuery
- type GetAssessRecordsResponse
- type GetCertificatesQuery
- type GetCertificatesResponse
- type GetFamilyMembersQuery
- type GetFamilyMembersResponse
- type GetMotionRecodingsQuery
- type GetMotionRecodingsResponse
- type GetPersonnelArchivesQuery
- type GetPersonnelArchivesResponse
- type GetRewardPunishesQuery
- type GetRewardPunishesResponse
- type GetTrainingRecordsQuery
- type GetTrainingRecordsResponse
- type GetWorkExperiencesQuery
- type GetWorkExperiencesResponse
- type MotionRecordingInfo
- type PersonnelArchiveInfo
- type RewardPunishInfo
- type TrainingRecordInfo
- type UpdateCertificateRequest
- type UpdateCertificateResponse
- type UpdateFamilyMemberRequest
- type UpdateFamilyMemberResponse
- type UpdateMotionRecodingRequest
- type UpdateMotionRecodingResponse
- type UpdatePersonnelArchiveRequest
- type UpdatePersonnelArchiveResponse
- type UpdateRewardPunishRequest
- type UpdateRewardPunishResponse
- type UpdateTrainingRecordRequest
- type UpdateTrainingRecordResponse
- type UpdateWorkExperienceRequest
- type UpdateWorkExperienceResponse
- type UploadTempPicRequest
- type UploadTempPicResponse
- type WorkExperienceInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchCreateAssessRecord ¶
func BatchCreateAssessRecord(req *BatchCreateAssessRecordRequest) error
func BatchCreateCertificate ¶
func BatchCreateCertificate(req *BatchCreateCertificateRequest) error
func BatchCreateFamilyMembers ¶
func BatchCreateFamilyMembers(req *BatchCreateFamilyMemberRequest) error
func BatchCreateMotionRecordings ¶
func BatchCreateMotionRecordings(req *BatchCreateMotionRecodingRequest) error
func BatchCreateRewardPunishes ¶
func BatchCreateRewardPunishes(req *BatchCreateRewardPunishRequest) error
func BatchCreateTrainingRecords ¶
func BatchCreateTrainingRecords(req *BatchCreateTrainingRecordRequest) error
func BatchCreateWorkExperiences ¶
func BatchCreateWorkExperiences(req *BatchCreateWorkExperienceRequest) error
func CreateCertificate ¶
func CreateCertificate(req *CreateCertificateRequest) (string, error)
func CreateFamilyMember ¶
func CreateFamilyMember(req *CreateFamilyMemberRequest) (string, error)
func CreateMotionRecoding ¶
func CreateMotionRecoding(req *CreateMotionRecodingRequest) (string, error)
func CreatePersonnelArchive ¶
func CreatePersonnelArchive(req *CreatePersonnelArchiveRequest) (string, error)
func CreateRewardPunish ¶
func CreateRewardPunish(req *CreateRewardPunishRequest) (string, error)
func CreateTrainingRecord ¶
func CreateTrainingRecord(req *CreateTrainingRecordRequest) (string, error)
func CreateWorkExperience ¶
func CreateWorkExperience(req *CreateWorkExperienceRequest) (string, error)
func DeleteCertificate ¶
func DeleteFamilyMember ¶
func DeleteMotionRecoding ¶
func DeletePersonnelArchive ¶
func DeleteRewardPunish ¶
func DeleteTrainingRecord ¶
func DeleteWorkExperience ¶
func UpdateCertificate ¶
func UpdateCertificate(req *UpdateCertificateRequest) error
func UpdateFamilyMember ¶
func UpdateFamilyMember(req *UpdateFamilyMemberRequest) error
func UpdateMotionRecording ¶
func UpdateMotionRecording(req *UpdateMotionRecodingRequest) error
func UpdatePersonnelArchive ¶
func UpdatePersonnelArchive(req *UpdatePersonnelArchiveRequest) error
func UpdateRewardPunish ¶
func UpdateRewardPunish(req *UpdateRewardPunishRequest) error
func UpdateTrainingRecord ¶
func UpdateTrainingRecord(req *UpdateTrainingRecordRequest) error
func UpdateWorkExperience ¶
func UpdateWorkExperience(req *UpdateWorkExperienceRequest) error
Types ¶
type AssessRecordInfo ¶
type AssessRecordInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` AssessDate string `json:"assessDate"` AssessType string `json:"assessType"` AssessResult string `json:"assessResult"` AssessEstimate string `json:"assessEstimate"` AssessProve string `json:"assessProve"` AssessorId string `json:"assessorId"` AssessorName string `json:"assessorName"` CompanyId string `json:"companyId"` }
type BatchCreateAssessRecordRequest ¶
type BatchCreateAssessRecordRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateAssessRecordRequest `json:"batch,omitempty"` }
type BatchCreateAssessRecordResponse ¶
type BatchCreateAssessRecordResponse struct {
// contains filtered or unexported fields
}
type BatchCreateCertificateRequest ¶
type BatchCreateCertificateRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateCertificateRequest `json:"batch,omitempty"` }
type BatchCreateCertificateResponse ¶
type BatchCreateCertificateResponse struct {
// contains filtered or unexported fields
}
type BatchCreateFamilyMemberRequest ¶
type BatchCreateFamilyMemberRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateFamilyMemberRequest `json:"batch,omitempty"` }
type BatchCreateFamilyMemberResponse ¶
type BatchCreateFamilyMemberResponse struct {
// contains filtered or unexported fields
}
type BatchCreateMotionRecodingRequest ¶
type BatchCreateMotionRecodingRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateMotionRecodingRequest `json:"batch,omitempty"` }
type BatchCreateMotionRecodingResponse ¶
type BatchCreateMotionRecodingResponse struct {
// contains filtered or unexported fields
}
type BatchCreateRewardPunishRequest ¶
type BatchCreateRewardPunishRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateRewardPunishRequest `json:"batch,omitempty"` }
type BatchCreateRewardPunishResponse ¶
type BatchCreateRewardPunishResponse struct {
// contains filtered or unexported fields
}
type BatchCreateTrainingRecordRequest ¶
type BatchCreateTrainingRecordRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateTrainingRecordRequest `json:"batch,omitempty"` }
type BatchCreateTrainingRecordResponse ¶
type BatchCreateTrainingRecordResponse struct {
// contains filtered or unexported fields
}
type BatchCreateWorkExperienceRequest ¶
type BatchCreateWorkExperienceRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId,omitempty"` Batch []CreateWorkExperienceRequest `json:"batch,omitempty"` }
type BatchCreateWorkExperienceResponse ¶
type BatchCreateWorkExperienceResponse struct {
// contains filtered or unexported fields
}
type CertificateInfo ¶
type CertificateInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` CertName string `json:"certName"` ObtainDate string `json:"obtainDate"` CertAuthority string `json:"certAuthority"` ValidPeriod string `json:"validPeriod"` CertState string `json:"certState"` CompanyId string `json:"companyId"` }
type CreateAssessRecordRequest ¶
type CreateAssessRecordRequest struct { CompanyId string `json:"companyId" binding:"required"` // 档案ID ArchiveId string `json:"archiveId" ` // 考核时间 AssessDate string `json:"assessDate" ` // 考核类型 AssessType string `json:"assessType" ` // 考核结果 AssessResult string `json:"assessResult" ` // 考核评价 AssessEstimate string `json:"assessEstimate" ` // 考核证明 AssessProve string `json:"assessProve" ` // 考核人ID AssessorId string `json:"assessorId" ` // 考核人Name AssessorName string `json:"assessorName" ` }
type CreateCertificateRequest ¶
type CreateCertificateRequest struct { CompanyId string `json:"companyId"` ArchiveId string `json:"archiveId" ` CertName string `json:"certName" ` ObtainDate string `json:"obtainDate" ` CertAuthority string `json:"certAuthority" ` ValidPeriod string `json:"validPeriod" ` CertState string `json:"certState" ` }
type CreateCertificateResponse ¶
type CreateCertificateResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreateFamilyMemberRequest ¶
type CreateFamilyMemberRequest struct { CompanyId string `json:"companyId" binding:"required"` ArchiveId string `json:"archiveId" ` MemberName string `json:"memberName" ` Relation string `json:"relation" ` Contact string `json:"contact" ` Profession string `json:"profession" ` Health string `json:"health" ` Education string `json:"education" ` Remark string `json:"remark" ` }
type CreateFamilyMemberResponse ¶
type CreateFamilyMemberResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreateMotionRecodingRequest ¶
type CreateMotionRecodingRequest struct { CompanyId string `json:"companyId" binding:"required"` ArchiveId string `json:"archiveId" ` MotionType string `json:"motionType" ` MotionDate string `json:"motionDate" ` BeforeCase string `json:"beforeCase" ` AfterCase string `json:"afterCase" ` MotionReason string `json:"motionReason" ` ApproverId string `json:"approverId" ` ApproverName string `json:"approverName" ` Remark string `json:"remark" ` }
type CreateMotionRecodingResponse ¶
type CreateMotionRecodingResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreatePersonnelArchiveRequest ¶
type CreatePersonnelArchiveRequest struct { CompanyId string `json:"companyId"` UserId string `json:"userId"` Name string `json:"name"` Gender string `json:"gender"` WNo string `json:"wNo" ` Department string `json:"department" ` Position string `json:"position" ` DutyLevel string `json:"dutyLevel" ` Duty string `json:"duty" ` IdentityType string `json:"identityType" ` EnrollmentDate string `json:"enrollmentDate" ` RegularStatus string `json:"regularStatus" ` RegularDate string `json:"regularDate" ` WorkingYear int `json:"workingYear" ` CertificateType string `json:"certificateType" ` CertificateNo string `json:"certificateNo" ` Birthday string `json:"birthday" ` Nation string `json:"nation" ` NativePlace string `json:"nativePlace" ` PoliticsStatus string `json:"politicsStatus" ` MaritalStatus string `json:"maritalStatus" ` DomicilePlace string `json:"domicilePlace" ` StartingWorkDate string `json:"startingWorkDate" ` HighestEducation string `json:"highestEducation" ` University string `json:"university" ` Major string `json:"major" ` PhoneNo string `json:"phoneNo" ` Email string `json:"email" ` Superior string `json:"superior" ` BasicSalary int `json:"basicSalary" ` Subsidy int `json:"subsidy" ` MeritSalary int `json:"meritSalary" ` AvatarObjName string `json:"avatarObjName"` }
type CreatePersonnelArchiveResponse ¶
type CreatePersonnelArchiveResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreateRewardPunishRequest ¶
type CreateRewardPunishRequest struct { CompanyId string `json:"companyId" binding:"required"` ArchiveId string `json:"archiveId" ` RpType string `json:"rpType" ` Reason string `json:"reason" ` Date string `json:"date" ` Money float32 `json:"money" ` Remark string `json:"remark" ` ApproverId string `json:"approverId" ` ApproverName string `json:"approverName" ` }
type CreateRewardPunishResponse ¶
type CreateRewardPunishResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreateTrainingRecordRequest ¶
type CreateTrainingRecordRequest struct { CompanyId string `json:"companyId" binding:"required"` ArchiveId string `json:"archiveId" ` TrainingDate string `json:"trainingDate" ` TrainingName string `json:"trainingName" ` TrainingPlace string `json:"trainingPlace" ` TrainingContent string `json:"trainingContent" ` TrainingHour float32 `json:"trainingHour" ` TrainingTeacher string `json:"trainingTeacher" ` TrainingScore string `json:"trainingScore" ` TrainingCert string `json:"trainingCert" ` Remark string `json:"remark" ` }
type CreateTrainingRecordResponse ¶
type CreateTrainingRecordResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type CreateWorkExperienceRequest ¶
type CreateWorkExperienceRequest struct { CompanyId string `json:"companyId" binding:"required"` ArchiveId string `json:"archiveId" ` CompanyName string `json:"companyName" ` StartTime string `json:"startTime" ` EndTime string `json:"endTime" ` Department string `json:"department" ` Position string `json:"position" ` WorkContent string `json:"workContent" ` WorkPerformance string `json:"workPerformance" ` LeaveReason string `json:"leaveReason" ` }
type CreateWorkExperienceResponse ¶
type CreateWorkExperienceResponse struct { Id string `json:"id"` // contains filtered or unexported fields }
type DeleteCertificateQuery ¶
type DeleteCertificateQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeleteCertificateResponse ¶
type DeleteCertificateResponse struct {
// contains filtered or unexported fields
}
type DeleteFamilyMemberQuery ¶
type DeleteFamilyMemberQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeleteFamilyMemberResponse ¶
type DeleteFamilyMemberResponse struct {
// contains filtered or unexported fields
}
type DeleteMotionRecodingQuery ¶
type DeleteMotionRecodingQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeleteMotionRecodingResponse ¶
type DeleteMotionRecodingResponse struct {
// contains filtered or unexported fields
}
type DeletePersonnelArchiveQuery ¶
type DeletePersonnelArchiveQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeletePersonnelArchiveResponse ¶
type DeletePersonnelArchiveResponse struct {
// contains filtered or unexported fields
}
type DeleteRewardPunishQuery ¶
type DeleteRewardPunishQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeleteRewardPunishResponse ¶
type DeleteRewardPunishResponse struct {
// contains filtered or unexported fields
}
type DeleteTrainingRecordQuery ¶
type DeleteTrainingRecordQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeleteTrainingRecordResponse ¶
type DeleteTrainingRecordResponse struct {
// contains filtered or unexported fields
}
type DeleteWorkExperienceQuery ¶
type DeleteWorkExperienceQuery struct {
CompanyId string `form:"companyId" binding:"required"`
}
type DeleteWorkExperienceResponse ¶
type DeleteWorkExperienceResponse struct {
// contains filtered or unexported fields
}
type FamilyMemberInfo ¶
type FamilyMemberInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` MemberName string `json:"memberName"` Relation string `json:"relation"` Contact string `json:"contact"` Profession string `json:"profession"` Health string `json:"health"` Education string `json:"education"` Remark string `json:"remark"` CompanyId string `json:"companyId"` }
type GetAssessRecordsQuery ¶
type GetAssessRecordsResponse ¶
type GetAssessRecordsResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []AssessRecordInfo `json:"infos"` // contains filtered or unexported fields }
func GetAssessRecords ¶
func GetAssessRecords(req *GetAssessRecordsQuery) (*GetAssessRecordsResponse, error)
type GetCertificatesQuery ¶
type GetCertificatesResponse ¶
type GetCertificatesResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []CertificateInfo `json:"infos"` // contains filtered or unexported fields }
func GetCertificates ¶
func GetCertificates(req *GetCertificatesQuery) (*GetCertificatesResponse, error)
type GetFamilyMembersQuery ¶
type GetFamilyMembersResponse ¶
type GetFamilyMembersResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []FamilyMemberInfo `json:"infos"` // contains filtered or unexported fields }
func GetFamilyMembers ¶
func GetFamilyMembers(req *GetFamilyMembersQuery) (*GetFamilyMembersResponse, error)
type GetMotionRecodingsQuery ¶
type GetMotionRecodingsResponse ¶
type GetMotionRecodingsResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []MotionRecordingInfo `json:"infos"` // contains filtered or unexported fields }
func GetMotionRecording ¶
func GetMotionRecording(req *GetMotionRecodingsQuery) (*GetMotionRecodingsResponse, error)
type GetPersonnelArchivesQuery ¶
type GetPersonnelArchivesQuery struct { CompanyId string `form:"companyId"` Id string `form:"id"` UserId string `form:"userId"` Name string `form:"name"` WNo string `form:"wNo"` Gender string `form:"gender"` Department string `form:"department"` Position string `form:"position"` DutyLevel string `form:"dutyLevel"` Duty string `form:"duty"` IdentityType string `form:"identityType"` EnrollmentDate string `form:"enrollmentDate"` RegularStatus string `form:"regularStatus"` RegularDate string `form:"regularDate"` WorkingYear int `form:"workingYear"` CertificateType string `form:"certificateType"` CertificateNo string `form:"certificateNo"` Birthday string `form:"birthday"` Nation string `form:"nation"` NativePlace string `form:"nativePlace"` PoliticsStatus string `form:"politicsStatus"` MaritalStatus string `form:"maritalStatus"` DomicilePlace string `form:"domicilePlace"` StartingWorkDate string `form:"startingWorkDate"` HighestEducation string `form:"highestEducation"` University string `form:"university"` Major string `form:"major"` PhoneNo string `form:"phoneNo"` Superior string `form:"superior"` PageNo int `form:"pageNo"` PageSize int `form:"pageSize"` }
type GetPersonnelArchivesResponse ¶
type GetPersonnelArchivesResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []PersonnelArchiveInfo `json:"infos"` // contains filtered or unexported fields }
func GetPersonnelArchives ¶
func GetPersonnelArchives(req *GetPersonnelArchivesQuery) (*GetPersonnelArchivesResponse, error)
type GetRewardPunishesQuery ¶
type GetRewardPunishesResponse ¶
type GetRewardPunishesResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []RewardPunishInfo `json:"infos"` // contains filtered or unexported fields }
func GetRewardPunish ¶
func GetRewardPunish(req *GetRewardPunishesQuery) (*GetRewardPunishesResponse, error)
type GetTrainingRecordsQuery ¶
type GetTrainingRecordsResponse ¶
type GetTrainingRecordsResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []TrainingRecordInfo `json:"infos"` // contains filtered or unexported fields }
func GetTrainingRecord ¶
func GetTrainingRecord(req *GetTrainingRecordsQuery) (*GetTrainingRecordsResponse, error)
type GetWorkExperiencesQuery ¶
type GetWorkExperiencesResponse ¶
type GetWorkExperiencesResponse struct { PageNo int `json:"pageNo"` TotalCount int64 `json:"totalCount"` Infos []WorkExperienceInfo `json:"infos"` // contains filtered or unexported fields }
func GetWorkExperience ¶
func GetWorkExperience(req *GetWorkExperiencesQuery) (*GetWorkExperiencesResponse, error)
type MotionRecordingInfo ¶
type MotionRecordingInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` MotionType string `json:"motionType"` MotionDate string `json:"motionDate"` BeforeCase string `json:"beforeCase"` AfterCase string `json:"afterCase"` MotionReason string `json:"motionReason"` ApproverId string `json:"approverId"` ApproverName string `json:"approverName"` Remark string `json:"remark"` CompanyId string `json:"companyId"` }
type PersonnelArchiveInfo ¶
type PersonnelArchiveInfo struct { Id string `json:"id"` UserId string `json:"userId"` Name string `json:"name"` Gender string `json:"gender"` WNo string `json:"wNo"` Department string `json:"department"` Position string `json:"position"` DutyLevel string `json:"dutyLevel"` Duty string `json:"duty"` IdentityType string `json:"identityType"` EnrollmentDate string `json:"enrollmentDate"` RegularStatus string `json:"regularStatus"` RegularDate string `json:"regularDate"` WorkingYear int `json:"workingYear"` CertificateType string `json:"certificateType"` CertificateNo string `json:"certificateNo"` Birthday string `json:"birthday"` Nation string `json:"nation"` NativePlace string `json:"nativePlace"` PoliticsStatus string `json:"politicsStatus"` MaritalStatus string `json:"maritalStatus"` DomicilePlace string `json:"domicilePlace"` StartingWorkDate string `json:"startingWorkDate"` HighestEducation string `json:"highestEducation"` University string `json:"university"` Major string `json:"major"` PhoneNo string `json:"phoneNo"` Email string `json:"email"` Superior string `json:"superior"` BasicSalary int `json:"basicSalary"` Subsidy int `json:"subsidy"` MeritSalary int `json:"meritSalary"` CompanyId string `json:"companyId"` AvatarUrl string `json:"avatarUrl"` }
type RewardPunishInfo ¶
type RewardPunishInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` RpType string `json:"rpType"` Reason string `json:"reason"` Date string `json:"date"` Money float32 `json:"money"` Remark string `json:"remark"` ApproverId string `json:"approverId"` ApproverName string `json:"approverName"` CompanyId string `json:"companyId"` }
type TrainingRecordInfo ¶
type TrainingRecordInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` TrainingDate string `json:"trainingDate"` TrainingName string `json:"trainingName"` TrainingPlace string `json:"trainingPlace"` TrainingContent string `json:"trainingContent"` TrainingHour float32 `json:"trainingHour"` TrainingTeacher string `json:"trainingTeacher"` TrainingScore string `json:"trainingScore"` TrainingCert string `json:"trainingCert"` Remark string `json:"remark"` CompanyId string `json:"companyId"` }
type UpdateCertificateResponse ¶
type UpdateCertificateResponse struct {
// contains filtered or unexported fields
}
type UpdateFamilyMemberRequest ¶
type UpdateFamilyMemberRequest struct { CompanyId string `json:"companyId" binding:"required"` Id string `json:"id" binding:"required"` MemberName string `json:"memberName"` Relation string `json:"relation"` Contact string `json:"contact"` Profession string `json:"profession"` Health string `json:"health"` Education string `json:"education"` Remark string `json:"remark"` }
type UpdateFamilyMemberResponse ¶
type UpdateFamilyMemberResponse struct {
// contains filtered or unexported fields
}
type UpdateMotionRecodingRequest ¶
type UpdateMotionRecodingRequest struct { CompanyId string `json:"companyId" binding:"required"` Id string `json:"id" binding:"required"` MotionType string `json:"motionType"` MotionDate string `json:"motionDate"` BeforeCase string `json:"beforeCase"` AfterCase string `json:"afterCase"` MotionReason string `json:"motionReason"` ApproverId string `json:"approverId"` ApproverName string `json:"approverName"` Remark string `json:"remark"` }
type UpdateMotionRecodingResponse ¶
type UpdateMotionRecodingResponse struct {
// contains filtered or unexported fields
}
type UpdatePersonnelArchiveRequest ¶
type UpdatePersonnelArchiveRequest struct { CompanyId string `json:"companyId"` UserId string `json:"userId"` Id string `json:"id"` Name string `json:"name"` Gender string `json:"gender"` Department string `json:"department"` Position string `json:"position"` DutyLevel string `json:"dutyLevel"` Duty string `json:"duty"` IdentityType string `json:"identityType"` EnrollmentDate string `json:"enrollmentDate"` RegularStatus string `json:"regularStatus"` RegularDate string `json:"regularDate"` WorkingYear int `json:"workingYear"` CertificateType string `json:"certificateType"` CertificateNo string `json:"certificateNo"` Birthday string `json:"birthday"` Nation string `json:"nation"` NativePlace string `json:"nativePlace"` PoliticsStatus string `json:"politicsStatus"` MaritalStatus string `json:"maritalStatus"` DomicilePlace string `json:"domicilePlace"` StartingWorkDate string `json:"startingWorkDate"` HighestEducation string `json:"highestEducation"` University string `json:"university"` Major string `json:"major"` PhoneNo string `json:"phoneNo"` Superior string `json:"superior"` AvatarObjName string `json:"avatarObjName"` }
type UpdatePersonnelArchiveResponse ¶
type UpdatePersonnelArchiveResponse struct {
// contains filtered or unexported fields
}
type UpdateRewardPunishRequest ¶
type UpdateRewardPunishRequest struct { CompanyId string `json:"companyId" binding:"required"` Id string `json:"id" binding:"required"` Reason string `json:"reason"` Date string `json:"date"` Money float32 `json:"money"` Remark string `json:"remark"` ApproverId string `json:"approverId"` ApproverName string `json:"approverName"` }
type UpdateRewardPunishResponse ¶
type UpdateRewardPunishResponse struct {
// contains filtered or unexported fields
}
type UpdateTrainingRecordRequest ¶
type UpdateTrainingRecordRequest struct { CompanyId string `json:"companyId" binding:"required"` Id string `json:"id" binding:"required"` TrainingDate string `json:"trainingDate"` TrainingName string `json:"trainingName"` TrainingPlace string `json:"trainingPlace"` TrainingContent string `json:"trainingContent"` TrainingHour float32 `json:"trainingHour"` TrainingTeacher string `json:"trainingTeacher"` TrainingScore string `json:"trainingScore"` TrainingCert string `json:"trainingCert"` Remark string `json:"remark"` }
type UpdateTrainingRecordResponse ¶
type UpdateTrainingRecordResponse struct {
// contains filtered or unexported fields
}
type UpdateWorkExperienceRequest ¶
type UpdateWorkExperienceRequest struct { CompanyId string `json:"companyId" binding:"required"` Id string `json:"id" binding:"required"` CompanyName string `json:"companyName"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` Department string `json:"department"` Position string `json:"position"` WorkContent string `json:"workContent"` WorkPerformance string `json:"workPerformance"` LeaveReason string `json:"leaveReason"` }
type UpdateWorkExperienceResponse ¶
type UpdateWorkExperienceResponse struct {
// contains filtered or unexported fields
}
type UploadTempPicRequest ¶
type UploadTempPicRequest struct {
Pic *multipart.FileHeader `form:"file"`
}
type UploadTempPicResponse ¶
type UploadTempPicResponse struct { Url string `json:"url"` ObjName string `json:"objName"` // contains filtered or unexported fields }
func UploadSingleTempPic ¶
func UploadSingleTempPic(req *UploadTempPicRequest) (*UploadTempPicResponse, error)
type WorkExperienceInfo ¶
type WorkExperienceInfo struct { Id string `json:"id"` ArchiveId string `json:"archiveId"` CompanyName string `json:"companyName"` StartTime string `json:"startTime"` EndTime string `json:"endTime"` Department string `json:"department"` Position string `json:"position"` WorkContent string `json:"workContent"` WorkPerformance string `json:"workPerformance"` LeaveReason string `json:"leaveReason"` CompanyId string `json:"companyId"` }
Click to show internal directories.
Click to hide internal directories.