Documentation ¶
Index ¶
- Constants
- type AdjustmentLogic
- type AdjustmentLogicBuilder
- type Archive
- type ArchiveBuilder
- func (builder *ArchiveBuilder) ArchiveId(archiveId string) *ArchiveBuilder
- func (builder *ArchiveBuilder) ArchiveTid(archiveTid string) *ArchiveBuilder
- func (builder *ArchiveBuilder) Build() *Archive
- func (builder *ArchiveBuilder) EffectiveDate(effectiveDate string) *ArchiveBuilder
- func (builder *ArchiveBuilder) Plan(plan *Plan) *ArchiveBuilder
- func (builder *ArchiveBuilder) UserId(userId string) *ArchiveBuilder
- type ArchiveDetail
- type ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) ArchiveIndicators(archiveIndicators []*ArchiveIndicator) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) ArchiveItems(archiveItems []*ArchiveItem) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) Build() *ArchiveDetail
- func (builder *ArchiveDetailBuilder) ChangeDescription(changeDescription string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) ChangeReasonId(changeReasonId string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) CurrencyId(currencyId string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) EffectiveDate(effectiveDate string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) Id(id string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) PlanId(planId string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) PlanTid(planTid string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) SalaryLevelId(salaryLevelId string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) Tid(tid string) *ArchiveDetailBuilder
- func (builder *ArchiveDetailBuilder) UserId(userId string) *ArchiveDetailBuilder
- type ArchiveIndicator
- type ArchiveIndicatorBuilder
- func (builder *ArchiveIndicatorBuilder) Build() *ArchiveIndicator
- func (builder *ArchiveIndicatorBuilder) IndicatorId(indicatorId string) *ArchiveIndicatorBuilder
- func (builder *ArchiveIndicatorBuilder) IndicatorResult(indicatorResult string) *ArchiveIndicatorBuilder
- func (builder *ArchiveIndicatorBuilder) IndicatorResultRegular(indicatorResultRegular string) *ArchiveIndicatorBuilder
- type ArchiveItem
- type ArchiveItemBuilder
- func (builder *ArchiveItemBuilder) Build() *ArchiveItem
- func (builder *ArchiveItemBuilder) ItemId(itemId string) *ArchiveItemBuilder
- func (builder *ArchiveItemBuilder) ItemResult(itemResult string) *ArchiveItemBuilder
- func (builder *ArchiveItemBuilder) ItemResultRegular(itemResultRegular string) *ArchiveItemBuilder
- type ChangeReason
- type ChangeReasonBuilder
- func (builder *ChangeReasonBuilder) ActiveStatus(activeStatus int) *ChangeReasonBuilder
- func (builder *ChangeReasonBuilder) Build() *ChangeReason
- func (builder *ChangeReasonBuilder) I18nNames(i18nNames []*I18nContent) *ChangeReasonBuilder
- func (builder *ChangeReasonBuilder) I18nNotes(i18nNotes []*I18nContent) *ChangeReasonBuilder
- func (builder *ChangeReasonBuilder) Id(id string) *ChangeReasonBuilder
- func (builder *ChangeReasonBuilder) Name(name string) *ChangeReasonBuilder
- func (builder *ChangeReasonBuilder) Note(note string) *ChangeReasonBuilder
- type DepartmentId
- type DepartmentIdBuilder
- type Formula
- type FormulaBuilder
- type FormulaParam
- type FormulaParamBuilder
- type I18n
- type I18nBuilder
- type I18nContent
- type I18nContentBuilder
- type Indicator
- type IndicatorBuilder
- func (builder *IndicatorBuilder) ActiveStatus(activeStatus int) *IndicatorBuilder
- func (builder *IndicatorBuilder) Build() *Indicator
- func (builder *IndicatorBuilder) I18nNames(i18nNames []*I18nContent) *IndicatorBuilder
- func (builder *IndicatorBuilder) Id(id string) *IndicatorBuilder
- func (builder *IndicatorBuilder) Name(name string) *IndicatorBuilder
- func (builder *IndicatorBuilder) ValueType(valueType string) *IndicatorBuilder
- type Item
- type ItemBuilder
- func (builder *ItemBuilder) ActiveStatus(activeStatus int) *ItemBuilder
- func (builder *ItemBuilder) Build() *Item
- func (builder *ItemBuilder) CategoryId(categoryId string) *ItemBuilder
- func (builder *ItemBuilder) DecimalPlaces(decimalPlaces int) *ItemBuilder
- func (builder *ItemBuilder) Description(description string) *ItemBuilder
- func (builder *ItemBuilder) I18nDescriptions(i18nDescriptions []*I18nContent) *ItemBuilder
- func (builder *ItemBuilder) I18nNames(i18nNames []*I18nContent) *ItemBuilder
- func (builder *ItemBuilder) Id(id string) *ItemBuilder
- func (builder *ItemBuilder) ItemType(itemType string) *ItemBuilder
- func (builder *ItemBuilder) Name(name string) *ItemBuilder
- func (builder *ItemBuilder) PayOffFrequencyType(payOffFrequencyType string) *ItemBuilder
- func (builder *ItemBuilder) ValueType(valueType string) *ItemBuilder
- type ItemCategory
- type ItemCategoryBuilder
- type ListChangeReasonIterator
- type ListChangeReasonReq
- type ListChangeReasonReqBuilder
- func (builder *ListChangeReasonReqBuilder) Build() *ListChangeReasonReq
- func (builder *ListChangeReasonReqBuilder) Limit(limit int) *ListChangeReasonReqBuilder
- func (builder *ListChangeReasonReqBuilder) PageSize(pageSize int) *ListChangeReasonReqBuilder
- func (builder *ListChangeReasonReqBuilder) PageToken(pageToken string) *ListChangeReasonReqBuilder
- type ListChangeReasonResp
- type ListChangeReasonRespData
- type ListIndicatorIterator
- type ListIndicatorReq
- type ListIndicatorReqBuilder
- func (builder *ListIndicatorReqBuilder) Build() *ListIndicatorReq
- func (builder *ListIndicatorReqBuilder) Limit(limit int) *ListIndicatorReqBuilder
- func (builder *ListIndicatorReqBuilder) PageSize(pageSize int) *ListIndicatorReqBuilder
- func (builder *ListIndicatorReqBuilder) PageToken(pageToken string) *ListIndicatorReqBuilder
- type ListIndicatorResp
- type ListIndicatorRespData
- type ListItemCategoryIterator
- type ListItemCategoryReq
- type ListItemCategoryReqBuilder
- func (builder *ListItemCategoryReqBuilder) Build() *ListItemCategoryReq
- func (builder *ListItemCategoryReqBuilder) Limit(limit int) *ListItemCategoryReqBuilder
- func (builder *ListItemCategoryReqBuilder) PageSize(pageSize int) *ListItemCategoryReqBuilder
- func (builder *ListItemCategoryReqBuilder) PageToken(pageToken string) *ListItemCategoryReqBuilder
- type ListItemCategoryResp
- type ListItemCategoryRespData
- type ListItemIterator
- type ListItemReq
- type ListItemReqBuilder
- func (builder *ListItemReqBuilder) Build() *ListItemReq
- func (builder *ListItemReqBuilder) ItemType(itemType string) *ListItemReqBuilder
- func (builder *ListItemReqBuilder) Limit(limit int) *ListItemReqBuilder
- func (builder *ListItemReqBuilder) PageSize(pageSize int) *ListItemReqBuilder
- func (builder *ListItemReqBuilder) PageToken(pageToken string) *ListItemReqBuilder
- type ListItemResp
- type ListItemRespData
- type ListPlanIterator
- type ListPlanReq
- type ListPlanReqBuilder
- type ListPlanResp
- type ListPlanRespData
- type LumpSumPayment
- type LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) ApplySource(applySource int) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) BindingPeriod(bindingPeriod int) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) Build() *LumpSumPayment
- func (builder *LumpSumPaymentBuilder) CreateTime(createTime string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) CurrencyId(currencyId string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) Details(details []*LumpSumPaymentDetail) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) GrantDate(grantDate string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) Id(id string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) IssuanceDetailText(issuanceDetailText *I18n) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) IssuanceFrequency(issuanceFrequency int) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) ItemId(itemId string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) ModifyTime(modifyTime string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) Remark(remark string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) TotalAmount(totalAmount string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) UniqueId(uniqueId string) *LumpSumPaymentBuilder
- func (builder *LumpSumPaymentBuilder) UserId(userId string) *LumpSumPaymentBuilder
- type LumpSumPaymentDetail
- type LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) Build() *LumpSumPaymentDetail
- func (builder *LumpSumPaymentDetailBuilder) CreateTime(createTime string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) CurrencyId(currencyId string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) Id(id string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) IssuanceAmount(issuanceAmount string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) IssuanceStatus(issuanceStatus string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) IssuanceTime(issuanceTime string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) IssuanceWay(issuanceWay string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) ModifyTime(modifyTime string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) RecordId(recordId string) *LumpSumPaymentDetailBuilder
- func (builder *LumpSumPaymentDetailBuilder) UserId(userId string) *LumpSumPaymentDetailBuilder
- type LumpSumPaymentDetailForCreate
- type LumpSumPaymentDetailForCreateBuilder
- func (builder *LumpSumPaymentDetailForCreateBuilder) Build() *LumpSumPaymentDetailForCreate
- func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceAmount(issuanceAmount string) *LumpSumPaymentDetailForCreateBuilder
- func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceStatus(issuanceStatus string) *LumpSumPaymentDetailForCreateBuilder
- func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceTime(issuanceTime string) *LumpSumPaymentDetailForCreateBuilder
- func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceWay(issuanceWay string) *LumpSumPaymentDetailForCreateBuilder
- type LumpSumPaymentDetailForUpdate
- type LumpSumPaymentDetailForUpdateBuilder
- func (builder *LumpSumPaymentDetailForUpdateBuilder) Build() *LumpSumPaymentDetailForUpdate
- func (builder *LumpSumPaymentDetailForUpdateBuilder) Id(id string) *LumpSumPaymentDetailForUpdateBuilder
- func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceAmount(issuanceAmount string) *LumpSumPaymentDetailForUpdateBuilder
- func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceStatus(issuanceStatus string) *LumpSumPaymentDetailForUpdateBuilder
- func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceTime(issuanceTime string) *LumpSumPaymentDetailForUpdateBuilder
- func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceWay(issuanceWay string) *LumpSumPaymentDetailForUpdateBuilder
- type LumpSumPaymentForCreate
- type LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) BindingPeriod(bindingPeriod int) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) Build() *LumpSumPaymentForCreate
- func (builder *LumpSumPaymentForCreateBuilder) CurrencyId(currencyId string) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) Details(details []*LumpSumPaymentDetailForCreate) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) GrantDate(grantDate string) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) IssuanceFrequency(issuanceFrequency int) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) ItemId(itemId string) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) Remark(remark string) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) TotalAmount(totalAmount string) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) UniqueId(uniqueId string) *LumpSumPaymentForCreateBuilder
- func (builder *LumpSumPaymentForCreateBuilder) UserId(userId string) *LumpSumPaymentForCreateBuilder
- type LumpSumPaymentForUpdate
- type LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) BindingPeriod(bindingPeriod int) *LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) Build() *LumpSumPaymentForUpdate
- func (builder *LumpSumPaymentForUpdateBuilder) CurrencyId(currencyId string) *LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) Details(details []*LumpSumPaymentDetailForUpdate) *LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) Id(id string) *LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) IssuanceFrequency(issuanceFrequency int) *LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) Remark(remark string) *LumpSumPaymentForUpdateBuilder
- func (builder *LumpSumPaymentForUpdateBuilder) TotalAmount(totalAmount string) *LumpSumPaymentForUpdateBuilder
- type LumpSumPaymentOperateResult
- type LumpSumPaymentOperateResultBuilder
- func (builder *LumpSumPaymentOperateResultBuilder) Build() *LumpSumPaymentOperateResult
- func (builder *LumpSumPaymentOperateResultBuilder) Code(code int) *LumpSumPaymentOperateResultBuilder
- func (builder *LumpSumPaymentOperateResultBuilder) Id(id string) *LumpSumPaymentOperateResultBuilder
- func (builder *LumpSumPaymentOperateResultBuilder) Message(message string) *LumpSumPaymentOperateResultBuilder
- func (builder *LumpSumPaymentOperateResultBuilder) UniqueId(uniqueId string) *LumpSumPaymentOperateResultBuilder
- type Plan
- type PlanBuilder
- type PlanCondition
- type PlanConditionBuilder
- func (builder *PlanConditionBuilder) Build() *PlanCondition
- func (builder *PlanConditionBuilder) LeftType(leftType int) *PlanConditionBuilder
- func (builder *PlanConditionBuilder) Operator(operator int) *PlanConditionBuilder
- func (builder *PlanConditionBuilder) RightValue(rightValue []string) *PlanConditionBuilder
- type PlanDetail
- type PlanDetailBuilder
- func (builder *PlanDetailBuilder) Build() *PlanDetail
- func (builder *PlanDetailBuilder) CurrencyId(currencyId string) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) Description(description string) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) EffectiveDate(effectiveDate string) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) I18nDescriptions(i18nDescriptions []*I18nContent) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) I18nNames(i18nNames []*I18nContent) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) Id(id string) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) Name(name string) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) PlanIndicators(planIndicators []*PlanIndicator) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) PlanItems(planItems []*PlanItem) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) PlanScope(planScope *PlanScope) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) ProbationSalaryStatus(probationSalaryStatus bool) *PlanDetailBuilder
- func (builder *PlanDetailBuilder) Tid(tid string) *PlanDetailBuilder
- type PlanIndicator
- type PlanIndicatorBuilder
- type PlanItem
- type PlanItemBuilder
- func (builder *PlanItemBuilder) AdjustmentType(adjustmentType string) *PlanItemBuilder
- func (builder *PlanItemBuilder) Build() *PlanItem
- func (builder *PlanItemBuilder) ItemId(itemId string) *PlanItemBuilder
- func (builder *PlanItemBuilder) PlanItemLogic(planItemLogic *AdjustmentLogic) *PlanItemBuilder
- func (builder *PlanItemBuilder) ProbationDiscountPercentum(probationDiscountPercentum string) *PlanItemBuilder
- func (builder *PlanItemBuilder) ProbationDiscountType(probationDiscountType string) *PlanItemBuilder
- type PlanScope
- type PlanScopeBuilder
- type QueryArchivePathReqBodyBuilder
- func (builder *QueryArchivePathReqBodyBuilder) Build() (*QueryArchiveReqBody, error)
- func (builder *QueryArchivePathReqBodyBuilder) EffectiveEndDate(effectiveEndDate string) *QueryArchivePathReqBodyBuilder
- func (builder *QueryArchivePathReqBodyBuilder) EffectiveStartDate(effectiveStartDate string) *QueryArchivePathReqBodyBuilder
- func (builder *QueryArchivePathReqBodyBuilder) UserIdList(userIdList []string) *QueryArchivePathReqBodyBuilder
- type QueryArchiveReq
- type QueryArchiveReqBody
- type QueryArchiveReqBodyBuilder
- func (builder *QueryArchiveReqBodyBuilder) Build() *QueryArchiveReqBody
- func (builder *QueryArchiveReqBodyBuilder) EffectiveEndDate(effectiveEndDate string) *QueryArchiveReqBodyBuilder
- func (builder *QueryArchiveReqBodyBuilder) EffectiveStartDate(effectiveStartDate string) *QueryArchiveReqBodyBuilder
- func (builder *QueryArchiveReqBodyBuilder) UserIdList(userIdList []string) *QueryArchiveReqBodyBuilder
- type QueryArchiveReqBuilder
- func (builder *QueryArchiveReqBuilder) Body(body *QueryArchiveReqBody) *QueryArchiveReqBuilder
- func (builder *QueryArchiveReqBuilder) Build() *QueryArchiveReq
- func (builder *QueryArchiveReqBuilder) PageSize(pageSize int) *QueryArchiveReqBuilder
- func (builder *QueryArchiveReqBuilder) PageToken(pageToken string) *QueryArchiveReqBuilder
- func (builder *QueryArchiveReqBuilder) UserIdType(userIdType string) *QueryArchiveReqBuilder
- type QueryArchiveResp
- type QueryArchiveRespData
- type RecurringPayment
- type RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) Build() *RecurringPayment
- func (builder *RecurringPaymentBuilder) CurrencyId(currencyId string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) EachAmount(eachAmount string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) EndDate(endDate string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) Id(id string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) IssuancePeriod(issuancePeriod string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) IssuanceType(issuanceType string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) ItemId(itemId string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) Remark(remark string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) StartDate(startDate string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) UniqueId(uniqueId string) *RecurringPaymentBuilder
- func (builder *RecurringPaymentBuilder) UserId(userId string) *RecurringPaymentBuilder
- type RecurringPaymentForCreate
- type RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) Build() *RecurringPaymentForCreate
- func (builder *RecurringPaymentForCreateBuilder) CurrencyId(currencyId string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) EachAmount(eachAmount string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) EndDate(endDate string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) IssuanceType(issuanceType string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) ItemId(itemId string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) Remark(remark string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) StartDate(startDate string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) UniqueId(uniqueId string) *RecurringPaymentForCreateBuilder
- func (builder *RecurringPaymentForCreateBuilder) UserId(userId string) *RecurringPaymentForCreateBuilder
- type RecurringPaymentForUpdate
- type RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) Build() *RecurringPaymentForUpdate
- func (builder *RecurringPaymentForUpdateBuilder) CurrencyId(currencyId string) *RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) EachAmount(eachAmount string) *RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) EndDate(endDate string) *RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) Id(id string) *RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) IssuanceType(issuanceType string) *RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) Remark(remark string) *RecurringPaymentForUpdateBuilder
- func (builder *RecurringPaymentForUpdateBuilder) StartDate(startDate string) *RecurringPaymentForUpdateBuilder
- type RecurringPaymentOperateResult
- type RecurringPaymentOperateResultBuilder
- func (builder *RecurringPaymentOperateResultBuilder) Build() *RecurringPaymentOperateResult
- func (builder *RecurringPaymentOperateResultBuilder) Code(code int) *RecurringPaymentOperateResultBuilder
- func (builder *RecurringPaymentOperateResultBuilder) Id(id string) *RecurringPaymentOperateResultBuilder
- func (builder *RecurringPaymentOperateResultBuilder) Message(message string) *RecurringPaymentOperateResultBuilder
- func (builder *RecurringPaymentOperateResultBuilder) UniqueId(uniqueId string) *RecurringPaymentOperateResultBuilder
- type SocialArchive
- type SocialArchiveAdjustRecord
- type SocialArchiveAdjustRecordBuilder
- func (builder *SocialArchiveAdjustRecordBuilder) Build() *SocialArchiveAdjustRecord
- func (builder *SocialArchiveAdjustRecordBuilder) Details(details []*SocialArchiveDetail) *SocialArchiveAdjustRecordBuilder
- func (builder *SocialArchiveAdjustRecordBuilder) RecordType(recordType string) *SocialArchiveAdjustRecordBuilder
- func (builder *SocialArchiveAdjustRecordBuilder) UserId(userId string) *SocialArchiveAdjustRecordBuilder
- type SocialArchiveBuilder
- type SocialArchiveDetail
- type SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) AccountType(accountType string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) BaseSalary(baseSalary string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) Build() *SocialArchiveDetail
- func (builder *SocialArchiveDetailBuilder) CompanyId(companyId string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) Description(description *I18n) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) EffectiveDate(effectiveDate string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) Id(id string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) InsuranceAccount(insuranceAccount string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) InsuranceDetails(insuranceDetails []*SocialArchiveItem) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) InsuranceStatus(insuranceStatus string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) InsuranceType(insuranceType string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) LocationId(locationId string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) PlanId(planId string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) PlanTid(planTid string) *SocialArchiveDetailBuilder
- func (builder *SocialArchiveDetailBuilder) Tid(tid string) *SocialArchiveDetailBuilder
- type SocialArchiveItem
- type SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) Build() *SocialArchiveItem
- func (builder *SocialArchiveItemBuilder) CompanyDeduction(companyDeduction string) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) CompanySetting(companySetting *SocialPlanItemSetting) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) InsuranceId(insuranceId string) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) InsuranceName(insuranceName *I18n) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) PaymentFrequency(paymentFrequency string) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) PaymentMonths(paymentMonths []int) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) PersonalDeduction(personalDeduction string) *SocialArchiveItemBuilder
- func (builder *SocialArchiveItemBuilder) PersonalSetting(personalSetting *SocialPlanItemSetting) *SocialArchiveItemBuilder
- type SocialInsurance
- type SocialInsuranceBuilder
- func (builder *SocialInsuranceBuilder) Active(active bool) *SocialInsuranceBuilder
- func (builder *SocialInsuranceBuilder) Build() *SocialInsurance
- func (builder *SocialInsuranceBuilder) Id(id string) *SocialInsuranceBuilder
- func (builder *SocialInsuranceBuilder) InsuranceType(insuranceType string) *SocialInsuranceBuilder
- func (builder *SocialInsuranceBuilder) IsSystem(isSystem bool) *SocialInsuranceBuilder
- func (builder *SocialInsuranceBuilder) Name(name *I18n) *SocialInsuranceBuilder
- type SocialPlan
- type SocialPlanBuilder
- func (builder *SocialPlanBuilder) Active(active bool) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) Build() *SocialPlan
- func (builder *SocialPlanBuilder) EffectiveDate(effectiveDate string) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) InsuranceType(insuranceType string) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) ItemDetail(itemDetail []*SocialPlanItemDetail) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) Name(name *I18n) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) PlanId(planId string) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) PlanTid(planTid string) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) Remark(remark *I18n) *SocialPlanBuilder
- func (builder *SocialPlanBuilder) Scope(scope *SocialPlanScope) *SocialPlanBuilder
- type SocialPlanCondition
- type SocialPlanConditionBuilder
- func (builder *SocialPlanConditionBuilder) Build() *SocialPlanCondition
- func (builder *SocialPlanConditionBuilder) LeftType(leftType int) *SocialPlanConditionBuilder
- func (builder *SocialPlanConditionBuilder) Operator(operator int) *SocialPlanConditionBuilder
- func (builder *SocialPlanConditionBuilder) RightValues(rightValues []string) *SocialPlanConditionBuilder
- type SocialPlanItemDetail
- type SocialPlanItemDetailBuilder
- func (builder *SocialPlanItemDetailBuilder) Build() *SocialPlanItemDetail
- func (builder *SocialPlanItemDetailBuilder) ItemId(itemId string) *SocialPlanItemDetailBuilder
- func (builder *SocialPlanItemDetailBuilder) ItemName(itemName *I18n) *SocialPlanItemDetailBuilder
- func (builder *SocialPlanItemDetailBuilder) ItemSettingOfCompany(itemSettingOfCompany *SocialPlanItemSetting) *SocialPlanItemDetailBuilder
- func (builder *SocialPlanItemDetailBuilder) ItemSettingOfPerson(itemSettingOfPerson *SocialPlanItemSetting) *SocialPlanItemDetailBuilder
- func (builder *SocialPlanItemDetailBuilder) PaymentFrequency(paymentFrequency string) *SocialPlanItemDetailBuilder
- func (builder *SocialPlanItemDetailBuilder) PaymentMonths(paymentMonths []int) *SocialPlanItemDetailBuilder
- type SocialPlanItemSetting
- type SocialPlanItemSettingBuilder
- func (builder *SocialPlanItemSettingBuilder) Build() *SocialPlanItemSetting
- func (builder *SocialPlanItemSettingBuilder) FixedPayment(fixedPayment string) *SocialPlanItemSettingBuilder
- func (builder *SocialPlanItemSettingBuilder) LowerLimit(lowerLimit string) *SocialPlanItemSettingBuilder
- func (builder *SocialPlanItemSettingBuilder) PaymentDecimals(paymentDecimals int) *SocialPlanItemSettingBuilder
- func (builder *SocialPlanItemSettingBuilder) PaymentRatio(paymentRatio string) *SocialPlanItemSettingBuilder
- func (builder *SocialPlanItemSettingBuilder) PaymentRoundingRule(paymentRoundingRule string) *SocialPlanItemSettingBuilder
- func (builder *SocialPlanItemSettingBuilder) UpperLimit(upperLimit string) *SocialPlanItemSettingBuilder
- type SocialPlanScope
- type SocialPlanScopeBuilder
- type V1
Constants ¶
const ( UserIDTypeUserId = "user_id" // 以user_id来识别用户 UserIDTypeUnionId = "union_id" // 以union_id来识别用户 UserIDTypeOpenId = "open_id" // 以open_id来识别用户 UserIDTypePeopleCorehrId = "people_corehr_id" // 以people_corehr_id来识别用户 )
const ( ItemTypeSalary = "salary" // 基本薪资 ItemTypeBonus = "bonus" // 一次性支付 ItemTypeRecurringPayment = "recurring_payment" // 经常性支付 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AdjustmentLogic ¶
type AdjustmentLogicBuilder ¶
type AdjustmentLogicBuilder struct {
// contains filtered or unexported fields
}
func NewAdjustmentLogicBuilder ¶
func NewAdjustmentLogicBuilder() *AdjustmentLogicBuilder
func (*AdjustmentLogicBuilder) Build ¶
func (builder *AdjustmentLogicBuilder) Build() *AdjustmentLogic
func (*AdjustmentLogicBuilder) Fixed ¶
func (builder *AdjustmentLogicBuilder) Fixed(fixed string) *AdjustmentLogicBuilder
固定值
示例值:60
func (*AdjustmentLogicBuilder) Formula ¶
func (builder *AdjustmentLogicBuilder) Formula(formula *Formula) *AdjustmentLogicBuilder
公式配置
示例值:
type Archive ¶
type Archive struct { ArchiveId *string `json:"archive_id,omitempty"` // 档案ID ArchiveTid *string `json:"archive_tid,omitempty"` // 档案时间轴版本ID UserId *string `json:"user_id,omitempty"` // 员工ID Plan *Plan `json:"plan,omitempty"` // 关联方案 EffectiveDate *string `json:"effective_date,omitempty"` // 档案生效时间 }
type ArchiveBuilder ¶
type ArchiveBuilder struct {
// contains filtered or unexported fields
}
func NewArchiveBuilder ¶
func NewArchiveBuilder() *ArchiveBuilder
func (*ArchiveBuilder) ArchiveId ¶
func (builder *ArchiveBuilder) ArchiveId(archiveId string) *ArchiveBuilder
档案ID
示例值:7196951947268589113
func (*ArchiveBuilder) ArchiveTid ¶
func (builder *ArchiveBuilder) ArchiveTid(archiveTid string) *ArchiveBuilder
档案时间轴版本ID
示例值:7209959917078201911
func (*ArchiveBuilder) Build ¶
func (builder *ArchiveBuilder) Build() *Archive
func (*ArchiveBuilder) EffectiveDate ¶
func (builder *ArchiveBuilder) EffectiveDate(effectiveDate string) *ArchiveBuilder
档案生效时间
示例值:2022-03-18
func (*ArchiveBuilder) Plan ¶
func (builder *ArchiveBuilder) Plan(plan *Plan) *ArchiveBuilder
关联方案
示例值:
func (*ArchiveBuilder) UserId ¶
func (builder *ArchiveBuilder) UserId(userId string) *ArchiveBuilder
员工ID
示例值:7117649868058789407
type ArchiveDetail ¶
type ArchiveDetail struct { UserId *string `json:"user_id,omitempty"` // 员工ID Id *string `json:"id,omitempty"` // 档案ID Tid *string `json:"tid,omitempty"` // 档案TID PlanId *string `json:"plan_id,omitempty"` // 关联方案ID,详细信息可以通过[批量查询薪资方案](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/plan/list)接口查询获得 PlanTid *string `json:"plan_tid,omitempty"` // 关联方案TID,详细信息可以通过[批量查询薪资方案](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/plan/list)接口查询获得 CurrencyId *string `json:"currency_id,omitempty"` // 档案币种ID,详细信息可以通过[查询货币信息v2](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-currency/search)接口查询获得 ChangeReasonId *string `json:"change_reason_id,omitempty"` // 调薪原因ID,详细信息可以通过[批量查询定调薪原因](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/change_reason/list)接口查询获得 ChangeDescription *string `json:"change_description,omitempty"` // 调薪说明 EffectiveDate *string `json:"effective_date,omitempty"` // 生效时间 SalaryLevelId *string `json:"salary_level_id,omitempty"` // 薪级薪等ID ArchiveItems []*ArchiveItem `json:"archive_items,omitempty"` // 档案关联的薪资项 ArchiveIndicators []*ArchiveIndicator `json:"archive_indicators,omitempty"` // 档案关联的薪资指标 }
type ArchiveDetailBuilder ¶
type ArchiveDetailBuilder struct {
// contains filtered or unexported fields
}
func NewArchiveDetailBuilder ¶
func NewArchiveDetailBuilder() *ArchiveDetailBuilder
func (*ArchiveDetailBuilder) ArchiveIndicators ¶
func (builder *ArchiveDetailBuilder) ArchiveIndicators(archiveIndicators []*ArchiveIndicator) *ArchiveDetailBuilder
档案关联的薪资指标
示例值:
func (*ArchiveDetailBuilder) ArchiveItems ¶
func (builder *ArchiveDetailBuilder) ArchiveItems(archiveItems []*ArchiveItem) *ArchiveDetailBuilder
档案关联的薪资项
示例值:
func (*ArchiveDetailBuilder) Build ¶
func (builder *ArchiveDetailBuilder) Build() *ArchiveDetail
func (*ArchiveDetailBuilder) ChangeDescription ¶
func (builder *ArchiveDetailBuilder) ChangeDescription(changeDescription string) *ArchiveDetailBuilder
调薪说明
示例值:长期表现优异,产出高,本次给出涨幅
func (*ArchiveDetailBuilder) ChangeReasonId ¶
func (builder *ArchiveDetailBuilder) ChangeReasonId(changeReasonId string) *ArchiveDetailBuilder
调薪原因ID,详细信息可以通过[批量查询定调薪原因](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/change_reason/list)接口查询获得
示例值:321414123
func (*ArchiveDetailBuilder) CurrencyId ¶
func (builder *ArchiveDetailBuilder) CurrencyId(currencyId string) *ArchiveDetailBuilder
档案币种ID,详细信息可以通过[查询货币信息v2](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/basic_info-currency/search)接口查询获得
示例值:324167823
func (*ArchiveDetailBuilder) EffectiveDate ¶
func (builder *ArchiveDetailBuilder) EffectiveDate(effectiveDate string) *ArchiveDetailBuilder
生效时间
示例值:2022-10-23
func (*ArchiveDetailBuilder) Id ¶
func (builder *ArchiveDetailBuilder) Id(id string) *ArchiveDetailBuilder
档案ID
示例值:32141234412
func (*ArchiveDetailBuilder) PlanId ¶
func (builder *ArchiveDetailBuilder) PlanId(planId string) *ArchiveDetailBuilder
关联方案ID,详细信息可以通过[批量查询薪资方案](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/plan/list)接口查询获得
示例值:123412433
func (*ArchiveDetailBuilder) PlanTid ¶
func (builder *ArchiveDetailBuilder) PlanTid(planTid string) *ArchiveDetailBuilder
关联方案TID,详细信息可以通过[批量查询薪资方案](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/plan/list)接口查询获得
示例值:213412343
func (*ArchiveDetailBuilder) SalaryLevelId ¶
func (builder *ArchiveDetailBuilder) SalaryLevelId(salaryLevelId string) *ArchiveDetailBuilder
薪级薪等ID
示例值:12342313
func (*ArchiveDetailBuilder) Tid ¶
func (builder *ArchiveDetailBuilder) Tid(tid string) *ArchiveDetailBuilder
档案TID
示例值:141541351
func (*ArchiveDetailBuilder) UserId ¶
func (builder *ArchiveDetailBuilder) UserId(userId string) *ArchiveDetailBuilder
员工ID
示例值:344325234123
type ArchiveIndicator ¶
type ArchiveIndicator struct { IndicatorId *string `json:"indicator_id,omitempty"` // 薪资统计指标ID,详细信息可以通过[批量查询薪资统计指标](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/indicator/list)接口查询获得 IndicatorResult *string `json:"indicator_result,omitempty"` // 档案关联薪资统计指标数值 IndicatorResultRegular *string `json:"indicator_result_regular,omitempty"` // 档案关联薪资统计指标转正后数值 }
type ArchiveIndicatorBuilder ¶
type ArchiveIndicatorBuilder struct {
// contains filtered or unexported fields
}
func NewArchiveIndicatorBuilder ¶
func NewArchiveIndicatorBuilder() *ArchiveIndicatorBuilder
func (*ArchiveIndicatorBuilder) Build ¶
func (builder *ArchiveIndicatorBuilder) Build() *ArchiveIndicator
func (*ArchiveIndicatorBuilder) IndicatorId ¶
func (builder *ArchiveIndicatorBuilder) IndicatorId(indicatorId string) *ArchiveIndicatorBuilder
薪资统计指标ID,详细信息可以通过[批量查询薪资统计指标](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/indicator/list)接口查询获得
示例值:23141423
func (*ArchiveIndicatorBuilder) IndicatorResult ¶
func (builder *ArchiveIndicatorBuilder) IndicatorResult(indicatorResult string) *ArchiveIndicatorBuilder
档案关联薪资统计指标数值
示例值:15000
func (*ArchiveIndicatorBuilder) IndicatorResultRegular ¶
func (builder *ArchiveIndicatorBuilder) IndicatorResultRegular(indicatorResultRegular string) *ArchiveIndicatorBuilder
档案关联薪资统计指标转正后数值
示例值:18000
type ArchiveItem ¶
type ArchiveItem struct { ItemId *string `json:"item_id,omitempty"` // 薪酬项ID,详细信息可以通过[批量查询薪资项](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list)接口查询获得 ItemResult *string `json:"item_result,omitempty"` // 档案关联薪酬项数值 ItemResultRegular *string `json:"item_result_regular,omitempty"` // 档案关联薪酬项转正后数值 }
type ArchiveItemBuilder ¶
type ArchiveItemBuilder struct {
// contains filtered or unexported fields
}
func NewArchiveItemBuilder ¶
func NewArchiveItemBuilder() *ArchiveItemBuilder
func (*ArchiveItemBuilder) Build ¶
func (builder *ArchiveItemBuilder) Build() *ArchiveItem
func (*ArchiveItemBuilder) ItemId ¶
func (builder *ArchiveItemBuilder) ItemId(itemId string) *ArchiveItemBuilder
薪酬项ID,详细信息可以通过[批量查询薪资项](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list)接口查询获得
示例值:213423144
func (*ArchiveItemBuilder) ItemResult ¶
func (builder *ArchiveItemBuilder) ItemResult(itemResult string) *ArchiveItemBuilder
档案关联薪酬项数值
示例值:15000
func (*ArchiveItemBuilder) ItemResultRegular ¶
func (builder *ArchiveItemBuilder) ItemResultRegular(itemResultRegular string) *ArchiveItemBuilder
档案关联薪酬项转正后数值
示例值:18000
type ChangeReason ¶
type ChangeReason struct { Id *string `json:"id,omitempty"` // 调薪原因ID Name *string `json:"name,omitempty"` // 调薪原因名称 Note *string `json:"note,omitempty"` // 调薪原因备注 ActiveStatus *int `json:"active_status,omitempty"` // 启用状态 I18nNames []*I18nContent `json:"i18n_names,omitempty"` // 多语言名称 I18nNotes []*I18nContent `json:"i18n_notes,omitempty"` // 多语言描述 }
type ChangeReasonBuilder ¶
type ChangeReasonBuilder struct {
// contains filtered or unexported fields
}
func NewChangeReasonBuilder ¶
func NewChangeReasonBuilder() *ChangeReasonBuilder
func (*ChangeReasonBuilder) ActiveStatus ¶
func (builder *ChangeReasonBuilder) ActiveStatus(activeStatus int) *ChangeReasonBuilder
启用状态
示例值:1
func (*ChangeReasonBuilder) Build ¶
func (builder *ChangeReasonBuilder) Build() *ChangeReason
func (*ChangeReasonBuilder) I18nNames ¶
func (builder *ChangeReasonBuilder) I18nNames(i18nNames []*I18nContent) *ChangeReasonBuilder
多语言名称
示例值:
func (*ChangeReasonBuilder) I18nNotes ¶
func (builder *ChangeReasonBuilder) I18nNotes(i18nNotes []*I18nContent) *ChangeReasonBuilder
多语言描述
示例值:
func (*ChangeReasonBuilder) Id ¶
func (builder *ChangeReasonBuilder) Id(id string) *ChangeReasonBuilder
调薪原因ID
示例值:7196951947268589113
func (*ChangeReasonBuilder) Name ¶
func (builder *ChangeReasonBuilder) Name(name string) *ChangeReasonBuilder
调薪原因名称
示例值:入职调薪
func (*ChangeReasonBuilder) Note ¶
func (builder *ChangeReasonBuilder) Note(note string) *ChangeReasonBuilder
调薪原因备注
示例值:入职时使用的调薪原因
type DepartmentId ¶
type DepartmentIdBuilder ¶
type DepartmentIdBuilder struct {
// contains filtered or unexported fields
}
func NewDepartmentIdBuilder ¶
func NewDepartmentIdBuilder() *DepartmentIdBuilder
func (*DepartmentIdBuilder) Build ¶
func (builder *DepartmentIdBuilder) Build() *DepartmentId
func (*DepartmentIdBuilder) DepartmentId ¶
func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder
示例值:
func (*DepartmentIdBuilder) OpenDepartmentId ¶
func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder
示例值:
type Formula ¶
type Formula struct { Expr *string `json:"expr,omitempty"` // 公式表达式 FormulaParams []*FormulaParam `json:"formula_params,omitempty"` // 公式参数列表 }
type FormulaBuilder ¶
type FormulaBuilder struct {
// contains filtered or unexported fields
}
func NewFormulaBuilder ¶
func NewFormulaBuilder() *FormulaBuilder
func (*FormulaBuilder) Build ¶
func (builder *FormulaBuilder) Build() *Formula
func (*FormulaBuilder) Expr ¶
func (builder *FormulaBuilder) Expr(expr string) *FormulaBuilder
公式表达式
示例值:${0} +${1}
func (*FormulaBuilder) FormulaParams ¶
func (builder *FormulaBuilder) FormulaParams(formulaParams []*FormulaParam) *FormulaBuilder
公式参数列表
示例值:
type FormulaParam ¶
type FormulaParamBuilder ¶
type FormulaParamBuilder struct {
// contains filtered or unexported fields
}
func NewFormulaParamBuilder ¶
func NewFormulaParamBuilder() *FormulaParamBuilder
func (*FormulaParamBuilder) Build ¶
func (builder *FormulaParamBuilder) Build() *FormulaParam
func (*FormulaParamBuilder) Id ¶
func (builder *FormulaParamBuilder) Id(id string) *FormulaParamBuilder
引用类型ID
示例值:23143242
func (*FormulaParamBuilder) RefType ¶
func (builder *FormulaParamBuilder) RefType(refType int) *FormulaParamBuilder
引用类型
示例值:1
type I18nBuilder ¶
type I18nBuilder struct {
// contains filtered or unexported fields
}
func NewI18nBuilder ¶
func NewI18nBuilder() *I18nBuilder
func (*I18nBuilder) Build ¶
func (builder *I18nBuilder) Build() *I18n
func (*I18nBuilder) EnUs ¶
func (builder *I18nBuilder) EnUs(enUs string) *I18nBuilder
英文名称
示例值:english_name
type I18nContent ¶
type I18nContentBuilder ¶
type I18nContentBuilder struct {
// contains filtered or unexported fields
}
func NewI18nContentBuilder ¶
func NewI18nContentBuilder() *I18nContentBuilder
func (*I18nContentBuilder) Build ¶
func (builder *I18nContentBuilder) Build() *I18nContent
func (*I18nContentBuilder) Locale ¶
func (builder *I18nContentBuilder) Locale(locale string) *I18nContentBuilder
语言版本
示例值:zh_cn
func (*I18nContentBuilder) Value ¶
func (builder *I18nContentBuilder) Value(value string) *I18nContentBuilder
语言名称
示例值:中文名称
type Indicator ¶
type Indicator struct { Id *string `json:"id,omitempty"` // 薪资统计指标ID Name *string `json:"name,omitempty"` // 薪资统计指标名称 ValueType *string `json:"value_type,omitempty"` // 薪资统计指标数值类型 ActiveStatus *int `json:"active_status,omitempty"` // 启用状态 I18nNames []*I18nContent `json:"i18n_names,omitempty"` // 多语言名称 }
type IndicatorBuilder ¶
type IndicatorBuilder struct {
// contains filtered or unexported fields
}
func NewIndicatorBuilder ¶
func NewIndicatorBuilder() *IndicatorBuilder
func (*IndicatorBuilder) ActiveStatus ¶
func (builder *IndicatorBuilder) ActiveStatus(activeStatus int) *IndicatorBuilder
启用状态
示例值:1
func (*IndicatorBuilder) Build ¶
func (builder *IndicatorBuilder) Build() *Indicator
func (*IndicatorBuilder) I18nNames ¶
func (builder *IndicatorBuilder) I18nNames(i18nNames []*I18nContent) *IndicatorBuilder
多语言名称
示例值:
func (*IndicatorBuilder) Id ¶
func (builder *IndicatorBuilder) Id(id string) *IndicatorBuilder
薪资统计指标ID
示例值:7196951947228589113
func (*IndicatorBuilder) Name ¶
func (builder *IndicatorBuilder) Name(name string) *IndicatorBuilder
薪资统计指标名称
示例值:年度现金总和
func (*IndicatorBuilder) ValueType ¶
func (builder *IndicatorBuilder) ValueType(valueType string) *IndicatorBuilder
薪资统计指标数值类型
示例值:money
type Item ¶
type Item struct { Id *string `json:"id,omitempty"` // 薪酬项ID Name *string `json:"name,omitempty"` // 薪酬项名称 Description *string `json:"description,omitempty"` // 薪酬项描述 CategoryId *string `json:"category_id,omitempty"` // 薪酬项分类ID,详细信息可以通过[批量获取薪资项分类信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item_category/list)接口查询获得 ValueType *string `json:"value_type,omitempty"` // 薪酬项数值类型 PayOffFrequencyType *string `json:"pay_off_frequency_type,omitempty"` // 发放频率 DecimalPlaces *int `json:"decimal_places,omitempty"` // 小数位数 ActiveStatus *int `json:"active_status,omitempty"` // 启用状态 I18nNames []*I18nContent `json:"i18n_names,omitempty"` // 多语言名称 I18nDescriptions []*I18nContent `json:"i18n_descriptions,omitempty"` // 多语言描述 ItemType *string `json:"item_type,omitempty"` // 薪酬项类型 }
type ItemBuilder ¶
type ItemBuilder struct {
// contains filtered or unexported fields
}
func NewItemBuilder ¶
func NewItemBuilder() *ItemBuilder
func (*ItemBuilder) ActiveStatus ¶
func (builder *ItemBuilder) ActiveStatus(activeStatus int) *ItemBuilder
启用状态
示例值:1
func (*ItemBuilder) Build ¶
func (builder *ItemBuilder) Build() *Item
func (*ItemBuilder) CategoryId ¶
func (builder *ItemBuilder) CategoryId(categoryId string) *ItemBuilder
薪酬项分类ID,详细信息可以通过[批量获取薪资项分类信息](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item_category/list)接口查询获得
示例值:7196951947268589223
func (*ItemBuilder) DecimalPlaces ¶
func (builder *ItemBuilder) DecimalPlaces(decimalPlaces int) *ItemBuilder
小数位数
示例值:2
func (*ItemBuilder) Description ¶
func (builder *ItemBuilder) Description(description string) *ItemBuilder
薪酬项描述
示例值:每月份的薪酬
func (*ItemBuilder) I18nDescriptions ¶
func (builder *ItemBuilder) I18nDescriptions(i18nDescriptions []*I18nContent) *ItemBuilder
多语言描述
示例值:
func (*ItemBuilder) I18nNames ¶
func (builder *ItemBuilder) I18nNames(i18nNames []*I18nContent) *ItemBuilder
多语言名称
示例值:
func (*ItemBuilder) Id ¶
func (builder *ItemBuilder) Id(id string) *ItemBuilder
薪酬项ID
示例值:7196951947268589113
func (*ItemBuilder) ItemType ¶ added in v3.3.5
func (builder *ItemBuilder) ItemType(itemType string) *ItemBuilder
薪酬项类型
示例值:bonus
func (*ItemBuilder) Name ¶
func (builder *ItemBuilder) Name(name string) *ItemBuilder
薪酬项名称
示例值:基本月薪
func (*ItemBuilder) PayOffFrequencyType ¶
func (builder *ItemBuilder) PayOffFrequencyType(payOffFrequencyType string) *ItemBuilder
发放频率
示例值:month
func (*ItemBuilder) ValueType ¶
func (builder *ItemBuilder) ValueType(valueType string) *ItemBuilder
薪酬项数值类型
示例值:money
type ItemCategory ¶
type ItemCategory struct { Id *string `json:"id,omitempty"` // 薪酬项分类ID Name *string `json:"name,omitempty"` // 薪酬项分类名称 I18nNames []*I18nContent `json:"i18n_names,omitempty"` // 薪酬项多语言分类 }
type ItemCategoryBuilder ¶
type ItemCategoryBuilder struct {
// contains filtered or unexported fields
}
func NewItemCategoryBuilder ¶
func NewItemCategoryBuilder() *ItemCategoryBuilder
func (*ItemCategoryBuilder) Build ¶
func (builder *ItemCategoryBuilder) Build() *ItemCategory
func (*ItemCategoryBuilder) I18nNames ¶
func (builder *ItemCategoryBuilder) I18nNames(i18nNames []*I18nContent) *ItemCategoryBuilder
薪酬项多语言分类
示例值:
func (*ItemCategoryBuilder) Id ¶
func (builder *ItemCategoryBuilder) Id(id string) *ItemCategoryBuilder
薪酬项分类ID
示例值:4532312334
func (*ItemCategoryBuilder) Name ¶
func (builder *ItemCategoryBuilder) Name(name string) *ItemCategoryBuilder
薪酬项分类名称
示例值:基本薪资类
type ListChangeReasonIterator ¶
type ListChangeReasonIterator struct {
// contains filtered or unexported fields
}
func (*ListChangeReasonIterator) Next ¶
func (iterator *ListChangeReasonIterator) Next() (bool, *ChangeReason, error)
func (*ListChangeReasonIterator) NextPageToken ¶
func (iterator *ListChangeReasonIterator) NextPageToken() *string
type ListChangeReasonReq ¶
type ListChangeReasonReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListChangeReasonReqBuilder ¶
type ListChangeReasonReqBuilder struct {
// contains filtered or unexported fields
}
func NewListChangeReasonReqBuilder ¶
func NewListChangeReasonReqBuilder() *ListChangeReasonReqBuilder
func (*ListChangeReasonReqBuilder) Build ¶
func (builder *ListChangeReasonReqBuilder) Build() *ListChangeReasonReq
func (*ListChangeReasonReqBuilder) Limit ¶
func (builder *ListChangeReasonReqBuilder) Limit(limit int) *ListChangeReasonReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListChangeReasonReqBuilder) PageSize ¶
func (builder *ListChangeReasonReqBuilder) PageSize(pageSize int) *ListChangeReasonReqBuilder
分页大小
示例值:100
func (*ListChangeReasonReqBuilder) PageToken ¶
func (builder *ListChangeReasonReqBuilder) PageToken(pageToken string) *ListChangeReasonReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:12314342
type ListChangeReasonResp ¶
type ListChangeReasonResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListChangeReasonRespData `json:"data"` // 业务数据 }
func (*ListChangeReasonResp) Success ¶
func (resp *ListChangeReasonResp) Success() bool
type ListChangeReasonRespData ¶
type ListChangeReasonRespData struct { Items []*ChangeReason `json:"items,omitempty"` // 调薪原因信息列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type ListIndicatorIterator ¶
type ListIndicatorIterator struct {
// contains filtered or unexported fields
}
func (*ListIndicatorIterator) Next ¶
func (iterator *ListIndicatorIterator) Next() (bool, *Indicator, error)
func (*ListIndicatorIterator) NextPageToken ¶
func (iterator *ListIndicatorIterator) NextPageToken() *string
type ListIndicatorReq ¶
type ListIndicatorReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListIndicatorReqBuilder ¶
type ListIndicatorReqBuilder struct {
// contains filtered or unexported fields
}
func NewListIndicatorReqBuilder ¶
func NewListIndicatorReqBuilder() *ListIndicatorReqBuilder
func (*ListIndicatorReqBuilder) Build ¶
func (builder *ListIndicatorReqBuilder) Build() *ListIndicatorReq
func (*ListIndicatorReqBuilder) Limit ¶
func (builder *ListIndicatorReqBuilder) Limit(limit int) *ListIndicatorReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListIndicatorReqBuilder) PageSize ¶
func (builder *ListIndicatorReqBuilder) PageSize(pageSize int) *ListIndicatorReqBuilder
分页大小
示例值:100
func (*ListIndicatorReqBuilder) PageToken ¶
func (builder *ListIndicatorReqBuilder) PageToken(pageToken string) *ListIndicatorReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:123423321
type ListIndicatorResp ¶
type ListIndicatorResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListIndicatorRespData `json:"data"` // 业务数据 }
func (*ListIndicatorResp) Success ¶
func (resp *ListIndicatorResp) Success() bool
type ListIndicatorRespData ¶
type ListItemCategoryIterator ¶
type ListItemCategoryIterator struct {
// contains filtered or unexported fields
}
func (*ListItemCategoryIterator) Next ¶
func (iterator *ListItemCategoryIterator) Next() (bool, *ItemCategory, error)
func (*ListItemCategoryIterator) NextPageToken ¶
func (iterator *ListItemCategoryIterator) NextPageToken() *string
type ListItemCategoryReq ¶
type ListItemCategoryReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListItemCategoryReqBuilder ¶
type ListItemCategoryReqBuilder struct {
// contains filtered or unexported fields
}
func NewListItemCategoryReqBuilder ¶
func NewListItemCategoryReqBuilder() *ListItemCategoryReqBuilder
func (*ListItemCategoryReqBuilder) Build ¶
func (builder *ListItemCategoryReqBuilder) Build() *ListItemCategoryReq
func (*ListItemCategoryReqBuilder) Limit ¶
func (builder *ListItemCategoryReqBuilder) Limit(limit int) *ListItemCategoryReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListItemCategoryReqBuilder) PageSize ¶
func (builder *ListItemCategoryReqBuilder) PageSize(pageSize int) *ListItemCategoryReqBuilder
分页大小
示例值:100
func (*ListItemCategoryReqBuilder) PageToken ¶
func (builder *ListItemCategoryReqBuilder) PageToken(pageToken string) *ListItemCategoryReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:231412341234
type ListItemCategoryResp ¶
type ListItemCategoryResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListItemCategoryRespData `json:"data"` // 业务数据 }
func (*ListItemCategoryResp) Success ¶
func (resp *ListItemCategoryResp) Success() bool
type ListItemCategoryRespData ¶
type ListItemCategoryRespData struct { Items []*ItemCategory `json:"items,omitempty"` // 薪酬项分类信息列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type ListItemIterator ¶
type ListItemIterator struct {
// contains filtered or unexported fields
}
func (*ListItemIterator) NextPageToken ¶
func (iterator *ListItemIterator) NextPageToken() *string
type ListItemReq ¶
type ListItemReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListItemReqBuilder ¶
type ListItemReqBuilder struct {
// contains filtered or unexported fields
}
func NewListItemReqBuilder ¶
func NewListItemReqBuilder() *ListItemReqBuilder
func (*ListItemReqBuilder) Build ¶
func (builder *ListItemReqBuilder) Build() *ListItemReq
func (*ListItemReqBuilder) ItemType ¶ added in v3.3.5
func (builder *ListItemReqBuilder) ItemType(itemType string) *ListItemReqBuilder
薪酬项类型(不传则认为查询所有类型薪酬项)
示例值:bonus
func (*ListItemReqBuilder) Limit ¶
func (builder *ListItemReqBuilder) Limit(limit int) *ListItemReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListItemReqBuilder) PageSize ¶
func (builder *ListItemReqBuilder) PageSize(pageSize int) *ListItemReqBuilder
分页大小
示例值:100
func (*ListItemReqBuilder) PageToken ¶
func (builder *ListItemReqBuilder) PageToken(pageToken string) *ListItemReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:5234233214
type ListItemResp ¶
type ListItemResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListItemRespData `json:"data"` // 业务数据 }
func (*ListItemResp) Success ¶
func (resp *ListItemResp) Success() bool
type ListItemRespData ¶
type ListPlanIterator ¶
type ListPlanIterator struct {
// contains filtered or unexported fields
}
func (*ListPlanIterator) Next ¶
func (iterator *ListPlanIterator) Next() (bool, *PlanDetail, error)
func (*ListPlanIterator) NextPageToken ¶
func (iterator *ListPlanIterator) NextPageToken() *string
type ListPlanReq ¶
type ListPlanReq struct { Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效 // contains filtered or unexported fields }
type ListPlanReqBuilder ¶
type ListPlanReqBuilder struct {
// contains filtered or unexported fields
}
func NewListPlanReqBuilder ¶
func NewListPlanReqBuilder() *ListPlanReqBuilder
func (*ListPlanReqBuilder) Build ¶
func (builder *ListPlanReqBuilder) Build() *ListPlanReq
func (*ListPlanReqBuilder) Limit ¶
func (builder *ListPlanReqBuilder) Limit(limit int) *ListPlanReqBuilder
最大返回多少记录,当使用迭代器访问时才有效
func (*ListPlanReqBuilder) PageSize ¶
func (builder *ListPlanReqBuilder) PageSize(pageSize int) *ListPlanReqBuilder
分页大小
示例值:100
func (*ListPlanReqBuilder) PageToken ¶
func (builder *ListPlanReqBuilder) PageToken(pageToken string) *ListPlanReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:213432123
type ListPlanResp ¶
type ListPlanResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *ListPlanRespData `json:"data"` // 业务数据 }
func (*ListPlanResp) Success ¶
func (resp *ListPlanResp) Success() bool
type ListPlanRespData ¶
type ListPlanRespData struct { Items []*PlanDetail `json:"items,omitempty"` // 薪资方案信息列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type LumpSumPayment ¶ added in v3.3.5
type LumpSumPayment struct { Id *string `json:"id,omitempty"` // 一次性支付记录id UniqueId *string `json:"unique_id,omitempty"` // 外部幂等id,由上游业务决定 UserId *string `json:"user_id,omitempty"` // 员工id,具体类型由入参中的 user_id_type 指定 TotalAmount *string `json:"total_amount,omitempty"` // 总金额,字符串表达的数字 BindingPeriod *int `json:"binding_period,omitempty"` // 绑定期,单位为月 CurrencyId *string `json:"currency_id,omitempty"` // 币种id IssuanceFrequency *int `json:"issuance_frequency,omitempty"` // 发放次数 GrantDate *string `json:"grant_date,omitempty"` // 授予日期 ItemId *string `json:"item_id,omitempty"` // 薪酬项id Remark *string `json:"remark,omitempty"` // 备注 IssuanceDetailText *I18n `json:"issuance_detail_text,omitempty"` // 发放规则描述文本 ApplySource *int `json:"apply_source,omitempty"` // 申请来源 CreateTime *string `json:"create_time,omitempty"` // 创建时间 ModifyTime *string `json:"modify_time,omitempty"` // 更新时间 Details []*LumpSumPaymentDetail `json:"details,omitempty"` // 发放明细列表 }
type LumpSumPaymentBuilder ¶ added in v3.3.5
type LumpSumPaymentBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentBuilder ¶ added in v3.3.5
func NewLumpSumPaymentBuilder() *LumpSumPaymentBuilder
func (*LumpSumPaymentBuilder) ApplySource ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) ApplySource(applySource int) *LumpSumPaymentBuilder
申请来源
示例值:1
func (*LumpSumPaymentBuilder) BindingPeriod ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) BindingPeriod(bindingPeriod int) *LumpSumPaymentBuilder
绑定期,单位为月
示例值:2
func (*LumpSumPaymentBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) Build() *LumpSumPayment
func (*LumpSumPaymentBuilder) CreateTime ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) CreateTime(createTime string) *LumpSumPaymentBuilder
创建时间
示例值:2024-08-01 12:34:56
func (*LumpSumPaymentBuilder) CurrencyId ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) CurrencyId(currencyId string) *LumpSumPaymentBuilder
币种id
示例值:6863329932261459464
func (*LumpSumPaymentBuilder) Details ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) Details(details []*LumpSumPaymentDetail) *LumpSumPaymentBuilder
发放明细列表
示例值:
func (*LumpSumPaymentBuilder) GrantDate ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) GrantDate(grantDate string) *LumpSumPaymentBuilder
授予日期
示例值:2024-08-01
func (*LumpSumPaymentBuilder) Id ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) Id(id string) *LumpSumPaymentBuilder
一次性支付记录id
示例值:7397033607132351532
func (*LumpSumPaymentBuilder) IssuanceDetailText ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) IssuanceDetailText(issuanceDetailText *I18n) *LumpSumPaymentBuilder
发放规则描述文本
示例值:
func (*LumpSumPaymentBuilder) IssuanceFrequency ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) IssuanceFrequency(issuanceFrequency int) *LumpSumPaymentBuilder
发放次数
示例值:3
func (*LumpSumPaymentBuilder) ItemId ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) ItemId(itemId string) *LumpSumPaymentBuilder
薪酬项id
示例值:7411039006180312620
func (*LumpSumPaymentBuilder) ModifyTime ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) ModifyTime(modifyTime string) *LumpSumPaymentBuilder
更新时间
示例值:2024-08-01 12:34:56
func (*LumpSumPaymentBuilder) Remark ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) Remark(remark string) *LumpSumPaymentBuilder
备注
示例值:备注
func (*LumpSumPaymentBuilder) TotalAmount ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) TotalAmount(totalAmount string) *LumpSumPaymentBuilder
总金额,字符串表达的数字
示例值:2000.00
func (*LumpSumPaymentBuilder) UniqueId ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) UniqueId(uniqueId string) *LumpSumPaymentBuilder
外部幂等id,由上游业务决定
示例值:7402510801304718380_7309316347007764012_7402523725868058156_1726070400000_10000
func (*LumpSumPaymentBuilder) UserId ¶ added in v3.3.5
func (builder *LumpSumPaymentBuilder) UserId(userId string) *LumpSumPaymentBuilder
员工id,具体类型由入参中的 user_id_type 指定
示例值:7337149697626801708
type LumpSumPaymentDetail ¶ added in v3.3.5
type LumpSumPaymentDetail struct { Id *string `json:"id,omitempty"` // 一次性支付记录明细id RecordId *string `json:"record_id,omitempty"` // 一次性支付记录id UserId *string `json:"user_id,omitempty"` // 员工id,具体类型由入参中的 user_id_type 指定 IssuanceAmount *string `json:"issuance_amount,omitempty"` // 一次性支付明细发放金额,可转数字的字符串 IssuanceStatus *string `json:"issuance_status,omitempty"` // 发放状态 IssuanceWay *string `json:"issuance_way,omitempty"` // 发放方式 IssuanceTime *string `json:"issuance_time,omitempty"` // 发放时间 CurrencyId *string `json:"currency_id,omitempty"` // 币种id CreateTime *string `json:"create_time,omitempty"` // 创建时间 ModifyTime *string `json:"modify_time,omitempty"` // 更新时间 }
type LumpSumPaymentDetailBuilder ¶ added in v3.3.5
type LumpSumPaymentDetailBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentDetailBuilder ¶ added in v3.3.5
func NewLumpSumPaymentDetailBuilder() *LumpSumPaymentDetailBuilder
func (*LumpSumPaymentDetailBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) Build() *LumpSumPaymentDetail
func (*LumpSumPaymentDetailBuilder) CreateTime ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) CreateTime(createTime string) *LumpSumPaymentDetailBuilder
创建时间
示例值:2024-08-01 12:34:56
func (*LumpSumPaymentDetailBuilder) CurrencyId ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) CurrencyId(currencyId string) *LumpSumPaymentDetailBuilder
币种id
示例值:6863329932261459464
func (*LumpSumPaymentDetailBuilder) Id ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) Id(id string) *LumpSumPaymentDetailBuilder
一次性支付记录明细id
示例值:7395133551102200876
func (*LumpSumPaymentDetailBuilder) IssuanceAmount ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) IssuanceAmount(issuanceAmount string) *LumpSumPaymentDetailBuilder
一次性支付明细发放金额,可转数字的字符串
示例值:2000.00
func (*LumpSumPaymentDetailBuilder) IssuanceStatus ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) IssuanceStatus(issuanceStatus string) *LumpSumPaymentDetailBuilder
发放状态
示例值:to_be_issued
func (*LumpSumPaymentDetailBuilder) IssuanceTime ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) IssuanceTime(issuanceTime string) *LumpSumPaymentDetailBuilder
发放时间
示例值:2024-08-01
func (*LumpSumPaymentDetailBuilder) IssuanceWay ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) IssuanceWay(issuanceWay string) *LumpSumPaymentDetailBuilder
发放方式
示例值:with_salary
func (*LumpSumPaymentDetailBuilder) ModifyTime ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) ModifyTime(modifyTime string) *LumpSumPaymentDetailBuilder
更新时间
示例值:2024-08-01 12:34:56
func (*LumpSumPaymentDetailBuilder) RecordId ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) RecordId(recordId string) *LumpSumPaymentDetailBuilder
一次性支付记录id
示例值:7395133551102168108
func (*LumpSumPaymentDetailBuilder) UserId ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailBuilder) UserId(userId string) *LumpSumPaymentDetailBuilder
员工id,具体类型由入参中的 user_id_type 指定
示例值:7337149697626801708
type LumpSumPaymentDetailForCreate ¶ added in v3.3.5
type LumpSumPaymentDetailForCreate struct { IssuanceAmount *string `json:"issuance_amount,omitempty"` // 一次性支付明细发放金额,可转数字的字符串 IssuanceStatus *string `json:"issuance_status,omitempty"` // 发放状态 IssuanceWay *string `json:"issuance_way,omitempty"` // 发放方式 IssuanceTime *string `json:"issuance_time,omitempty"` // 发放时间 }
type LumpSumPaymentDetailForCreateBuilder ¶ added in v3.3.5
type LumpSumPaymentDetailForCreateBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentDetailForCreateBuilder ¶ added in v3.3.5
func NewLumpSumPaymentDetailForCreateBuilder() *LumpSumPaymentDetailForCreateBuilder
func (*LumpSumPaymentDetailForCreateBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForCreateBuilder) Build() *LumpSumPaymentDetailForCreate
func (*LumpSumPaymentDetailForCreateBuilder) IssuanceAmount ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceAmount(issuanceAmount string) *LumpSumPaymentDetailForCreateBuilder
一次性支付明细发放金额,可转数字的字符串
示例值:2000.00
func (*LumpSumPaymentDetailForCreateBuilder) IssuanceStatus ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceStatus(issuanceStatus string) *LumpSumPaymentDetailForCreateBuilder
发放状态
示例值:to_be_issued
func (*LumpSumPaymentDetailForCreateBuilder) IssuanceTime ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceTime(issuanceTime string) *LumpSumPaymentDetailForCreateBuilder
发放时间
示例值:2024-08-01
func (*LumpSumPaymentDetailForCreateBuilder) IssuanceWay ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForCreateBuilder) IssuanceWay(issuanceWay string) *LumpSumPaymentDetailForCreateBuilder
发放方式
示例值:with_salary
type LumpSumPaymentDetailForUpdate ¶ added in v3.3.5
type LumpSumPaymentDetailForUpdate struct { Id *string `json:"id,omitempty"` // 一次性支付记录明细id。传入已有的id代表直接在原明细上进行更新,不传则代表创建新的明细 IssuanceAmount *string `json:"issuance_amount,omitempty"` // 一次性支付明细发放金额,可转数字的字符串 IssuanceStatus *string `json:"issuance_status,omitempty"` // 发放状态 IssuanceWay *string `json:"issuance_way,omitempty"` // 发放方式 IssuanceTime *string `json:"issuance_time,omitempty"` // 发放时间 }
type LumpSumPaymentDetailForUpdateBuilder ¶ added in v3.3.5
type LumpSumPaymentDetailForUpdateBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentDetailForUpdateBuilder ¶ added in v3.3.5
func NewLumpSumPaymentDetailForUpdateBuilder() *LumpSumPaymentDetailForUpdateBuilder
func (*LumpSumPaymentDetailForUpdateBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForUpdateBuilder) Build() *LumpSumPaymentDetailForUpdate
func (*LumpSumPaymentDetailForUpdateBuilder) Id ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForUpdateBuilder) Id(id string) *LumpSumPaymentDetailForUpdateBuilder
一次性支付记录明细id。传入已有的id代表直接在原明细上进行更新,不传则代表创建新的明细
示例值:7395133551102200876
func (*LumpSumPaymentDetailForUpdateBuilder) IssuanceAmount ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceAmount(issuanceAmount string) *LumpSumPaymentDetailForUpdateBuilder
一次性支付明细发放金额,可转数字的字符串
示例值:2000.00
func (*LumpSumPaymentDetailForUpdateBuilder) IssuanceStatus ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceStatus(issuanceStatus string) *LumpSumPaymentDetailForUpdateBuilder
发放状态
示例值:to_be_issued
func (*LumpSumPaymentDetailForUpdateBuilder) IssuanceTime ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceTime(issuanceTime string) *LumpSumPaymentDetailForUpdateBuilder
发放时间
示例值:2024-08-01
func (*LumpSumPaymentDetailForUpdateBuilder) IssuanceWay ¶ added in v3.3.5
func (builder *LumpSumPaymentDetailForUpdateBuilder) IssuanceWay(issuanceWay string) *LumpSumPaymentDetailForUpdateBuilder
发放方式
示例值:with_salary
type LumpSumPaymentForCreate ¶ added in v3.3.5
type LumpSumPaymentForCreate struct { UniqueId *string `json:"unique_id,omitempty"` // 外部幂等id,由上游业务决定 UserId *string `json:"user_id,omitempty"` // 员工id,具体类型由入参中的 user_id_type 指定 TotalAmount *string `json:"total_amount,omitempty"` // 总金额,字符串表达的数字 BindingPeriod *int `json:"binding_period,omitempty"` // 绑定期,单位为月 CurrencyId *string `json:"currency_id,omitempty"` // 币种id IssuanceFrequency *int `json:"issuance_frequency,omitempty"` // 发放次数,必须与 details 的长度一致 GrantDate *string `json:"grant_date,omitempty"` // 授予日期 ItemId *string `json:"item_id,omitempty"` // 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) Details []*LumpSumPaymentDetailForCreate `json:"details,omitempty"` // 发放明细列表 Remark *string `json:"remark,omitempty"` // 备注 }
type LumpSumPaymentForCreateBuilder ¶ added in v3.3.5
type LumpSumPaymentForCreateBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentForCreateBuilder ¶ added in v3.3.5
func NewLumpSumPaymentForCreateBuilder() *LumpSumPaymentForCreateBuilder
func (*LumpSumPaymentForCreateBuilder) BindingPeriod ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) BindingPeriod(bindingPeriod int) *LumpSumPaymentForCreateBuilder
绑定期,单位为月
示例值:2
func (*LumpSumPaymentForCreateBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) Build() *LumpSumPaymentForCreate
func (*LumpSumPaymentForCreateBuilder) CurrencyId ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) CurrencyId(currencyId string) *LumpSumPaymentForCreateBuilder
币种id
示例值:6863329932261459464
func (*LumpSumPaymentForCreateBuilder) Details ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) Details(details []*LumpSumPaymentDetailForCreate) *LumpSumPaymentForCreateBuilder
发放明细列表
示例值:
func (*LumpSumPaymentForCreateBuilder) GrantDate ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) GrantDate(grantDate string) *LumpSumPaymentForCreateBuilder
授予日期
示例值:2024-08-01
func (*LumpSumPaymentForCreateBuilder) IssuanceFrequency ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) IssuanceFrequency(issuanceFrequency int) *LumpSumPaymentForCreateBuilder
发放次数,必须与 details 的长度一致
示例值:3
func (*LumpSumPaymentForCreateBuilder) ItemId ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) ItemId(itemId string) *LumpSumPaymentForCreateBuilder
薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询)
示例值:7411039006180312620
func (*LumpSumPaymentForCreateBuilder) Remark ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) Remark(remark string) *LumpSumPaymentForCreateBuilder
备注
示例值:备注
func (*LumpSumPaymentForCreateBuilder) TotalAmount ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) TotalAmount(totalAmount string) *LumpSumPaymentForCreateBuilder
总金额,字符串表达的数字
示例值:2000.00
func (*LumpSumPaymentForCreateBuilder) UniqueId ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) UniqueId(uniqueId string) *LumpSumPaymentForCreateBuilder
外部幂等id,由上游业务决定
示例值:7402510801304718380_7309316347007764012_7402523725868058156_1726070400000_10000
func (*LumpSumPaymentForCreateBuilder) UserId ¶ added in v3.3.5
func (builder *LumpSumPaymentForCreateBuilder) UserId(userId string) *LumpSumPaymentForCreateBuilder
员工id,具体类型由入参中的 user_id_type 指定
示例值:7337149697626801708
type LumpSumPaymentForUpdate ¶ added in v3.3.5
type LumpSumPaymentForUpdate struct { Id *string `json:"id,omitempty"` // 一次性支付记录id TotalAmount *string `json:"total_amount,omitempty"` // 总金额,字符串表达的数字 BindingPeriod *int `json:"binding_period,omitempty"` // 绑定期,单位为月 CurrencyId *string `json:"currency_id,omitempty"` // 币种id IssuanceFrequency *int `json:"issuance_frequency,omitempty"` // 发放次数,必须与details的长度一致 Remark *string `json:"remark,omitempty"` // 备注 Details []*LumpSumPaymentDetailForUpdate `json:"details,omitempty"` // 发放明细列表 }
type LumpSumPaymentForUpdateBuilder ¶ added in v3.3.5
type LumpSumPaymentForUpdateBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentForUpdateBuilder ¶ added in v3.3.5
func NewLumpSumPaymentForUpdateBuilder() *LumpSumPaymentForUpdateBuilder
func (*LumpSumPaymentForUpdateBuilder) BindingPeriod ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) BindingPeriod(bindingPeriod int) *LumpSumPaymentForUpdateBuilder
绑定期,单位为月
示例值:2
func (*LumpSumPaymentForUpdateBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) Build() *LumpSumPaymentForUpdate
func (*LumpSumPaymentForUpdateBuilder) CurrencyId ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) CurrencyId(currencyId string) *LumpSumPaymentForUpdateBuilder
币种id
示例值:6863329932261459464
func (*LumpSumPaymentForUpdateBuilder) Details ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) Details(details []*LumpSumPaymentDetailForUpdate) *LumpSumPaymentForUpdateBuilder
发放明细列表
示例值:
func (*LumpSumPaymentForUpdateBuilder) Id ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) Id(id string) *LumpSumPaymentForUpdateBuilder
一次性支付记录id
示例值:7397033607132351532
func (*LumpSumPaymentForUpdateBuilder) IssuanceFrequency ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) IssuanceFrequency(issuanceFrequency int) *LumpSumPaymentForUpdateBuilder
发放次数,必须与details的长度一致
示例值:3
func (*LumpSumPaymentForUpdateBuilder) Remark ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) Remark(remark string) *LumpSumPaymentForUpdateBuilder
备注
示例值:备注
func (*LumpSumPaymentForUpdateBuilder) TotalAmount ¶ added in v3.3.5
func (builder *LumpSumPaymentForUpdateBuilder) TotalAmount(totalAmount string) *LumpSumPaymentForUpdateBuilder
总金额,字符串表达的数字
示例值:2000.00
type LumpSumPaymentOperateResult ¶ added in v3.3.5
type LumpSumPaymentOperateResultBuilder ¶ added in v3.3.5
type LumpSumPaymentOperateResultBuilder struct {
// contains filtered or unexported fields
}
func NewLumpSumPaymentOperateResultBuilder ¶ added in v3.3.5
func NewLumpSumPaymentOperateResultBuilder() *LumpSumPaymentOperateResultBuilder
func (*LumpSumPaymentOperateResultBuilder) Build ¶ added in v3.3.5
func (builder *LumpSumPaymentOperateResultBuilder) Build() *LumpSumPaymentOperateResult
func (*LumpSumPaymentOperateResultBuilder) Code ¶ added in v3.3.5
func (builder *LumpSumPaymentOperateResultBuilder) Code(code int) *LumpSumPaymentOperateResultBuilder
操作结果状态码
示例值:21270202
func (*LumpSumPaymentOperateResultBuilder) Id ¶ added in v3.3.5
func (builder *LumpSumPaymentOperateResultBuilder) Id(id string) *LumpSumPaymentOperateResultBuilder
操作的记录的 id
示例值:7390583861280556588
func (*LumpSumPaymentOperateResultBuilder) Message ¶ added in v3.3.5
func (builder *LumpSumPaymentOperateResultBuilder) Message(message string) *LumpSumPaymentOperateResultBuilder
操作结果描述
示例值:uqniue id conflict
func (*LumpSumPaymentOperateResultBuilder) UniqueId ¶ added in v3.3.5
func (builder *LumpSumPaymentOperateResultBuilder) UniqueId(uniqueId string) *LumpSumPaymentOperateResultBuilder
操作的记录的 unique_id
示例值:7390583861280556588
type PlanBuilder ¶
type PlanBuilder struct {
// contains filtered or unexported fields
}
func NewPlanBuilder ¶
func NewPlanBuilder() *PlanBuilder
func (*PlanBuilder) Build ¶
func (builder *PlanBuilder) Build() *Plan
func (*PlanBuilder) PeopleId ¶
func (builder *PlanBuilder) PeopleId(peopleId int) *PlanBuilder
People系统方案ID
示例值:20
func (*PlanBuilder) PlanId ¶
func (builder *PlanBuilder) PlanId(planId string) *PlanBuilder
方案ID
示例值:7234781378700985913
func (*PlanBuilder) PlanTid ¶
func (builder *PlanBuilder) PlanTid(planTid string) *PlanBuilder
方案时间轴版本ID
示例值:7137286102364227108
type PlanCondition ¶
type PlanConditionBuilder ¶
type PlanConditionBuilder struct {
// contains filtered or unexported fields
}
func NewPlanConditionBuilder ¶
func NewPlanConditionBuilder() *PlanConditionBuilder
func (*PlanConditionBuilder) Build ¶
func (builder *PlanConditionBuilder) Build() *PlanCondition
func (*PlanConditionBuilder) LeftType ¶
func (builder *PlanConditionBuilder) LeftType(leftType int) *PlanConditionBuilder
适用范围左值
示例值:7
func (*PlanConditionBuilder) Operator ¶
func (builder *PlanConditionBuilder) Operator(operator int) *PlanConditionBuilder
适用范围操作
示例值:1
func (*PlanConditionBuilder) RightValue ¶
func (builder *PlanConditionBuilder) RightValue(rightValue []string) *PlanConditionBuilder
适用范围右值
示例值:21341234
type PlanDetail ¶
type PlanDetail struct { Id *string `json:"id,omitempty"` // 薪资方案ID Tid *string `json:"tid,omitempty"` // 薪资方案TID Name *string `json:"name,omitempty"` // 薪资方案名称 Description *string `json:"description,omitempty"` // 薪资方案描述 EffectiveDate *string `json:"effective_date,omitempty"` // 薪资方案生效时间 PlanScope *PlanScope `json:"plan_scope,omitempty"` // 薪资方案适用范围 CurrencyId *string `json:"currency_id,omitempty"` // 币种ID ProbationSalaryStatus *bool `json:"probation_salary_status,omitempty"` // 开启试用期薪酬状态 PlanItems []*PlanItem `json:"plan_items,omitempty"` // 方案关联的薪资项 PlanIndicators []*PlanIndicator `json:"plan_indicators,omitempty"` // 方案关联的薪资统计指标 I18nNames []*I18nContent `json:"i18n_names,omitempty"` // 多语言名称 I18nDescriptions []*I18nContent `json:"i18n_descriptions,omitempty"` // 多语言描述 }
type PlanDetailBuilder ¶
type PlanDetailBuilder struct {
// contains filtered or unexported fields
}
func NewPlanDetailBuilder ¶
func NewPlanDetailBuilder() *PlanDetailBuilder
func (*PlanDetailBuilder) Build ¶
func (builder *PlanDetailBuilder) Build() *PlanDetail
func (*PlanDetailBuilder) CurrencyId ¶
func (builder *PlanDetailBuilder) CurrencyId(currencyId string) *PlanDetailBuilder
币种ID
示例值:341324121
func (*PlanDetailBuilder) Description ¶
func (builder *PlanDetailBuilder) Description(description string) *PlanDetailBuilder
薪资方案描述
示例值:基本月薪方案描述
func (*PlanDetailBuilder) EffectiveDate ¶
func (builder *PlanDetailBuilder) EffectiveDate(effectiveDate string) *PlanDetailBuilder
薪资方案生效时间
示例值:2022-10-20
func (*PlanDetailBuilder) I18nDescriptions ¶
func (builder *PlanDetailBuilder) I18nDescriptions(i18nDescriptions []*I18nContent) *PlanDetailBuilder
多语言描述
示例值:
func (*PlanDetailBuilder) I18nNames ¶
func (builder *PlanDetailBuilder) I18nNames(i18nNames []*I18nContent) *PlanDetailBuilder
多语言名称
示例值:
func (*PlanDetailBuilder) Id ¶
func (builder *PlanDetailBuilder) Id(id string) *PlanDetailBuilder
薪资方案ID
示例值:2134193289
func (*PlanDetailBuilder) Name ¶
func (builder *PlanDetailBuilder) Name(name string) *PlanDetailBuilder
薪资方案名称
示例值:基本月薪方案
func (*PlanDetailBuilder) PlanIndicators ¶
func (builder *PlanDetailBuilder) PlanIndicators(planIndicators []*PlanIndicator) *PlanDetailBuilder
方案关联的薪资统计指标
示例值:
func (*PlanDetailBuilder) PlanItems ¶
func (builder *PlanDetailBuilder) PlanItems(planItems []*PlanItem) *PlanDetailBuilder
方案关联的薪资项
示例值:
func (*PlanDetailBuilder) PlanScope ¶
func (builder *PlanDetailBuilder) PlanScope(planScope *PlanScope) *PlanDetailBuilder
薪资方案适用范围
示例值:
func (*PlanDetailBuilder) ProbationSalaryStatus ¶
func (builder *PlanDetailBuilder) ProbationSalaryStatus(probationSalaryStatus bool) *PlanDetailBuilder
开启试用期薪酬状态
示例值:true
func (*PlanDetailBuilder) Tid ¶
func (builder *PlanDetailBuilder) Tid(tid string) *PlanDetailBuilder
薪资方案TID
示例值:129738122
type PlanIndicator ¶
type PlanIndicator struct { IndicatorId *string `json:"indicator_id,omitempty"` // 薪资统计指标ID,详细信息可以通过[批量查询薪资统计指标](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/indicator/list)接口查询获得 PlanIndicatorLogic *AdjustmentLogic `json:"plan_indicator_logic,omitempty"` // 方案关联薪资统计指标逻辑配置 }
type PlanIndicatorBuilder ¶
type PlanIndicatorBuilder struct {
// contains filtered or unexported fields
}
func NewPlanIndicatorBuilder ¶
func NewPlanIndicatorBuilder() *PlanIndicatorBuilder
func (*PlanIndicatorBuilder) Build ¶
func (builder *PlanIndicatorBuilder) Build() *PlanIndicator
func (*PlanIndicatorBuilder) IndicatorId ¶
func (builder *PlanIndicatorBuilder) IndicatorId(indicatorId string) *PlanIndicatorBuilder
薪资统计指标ID,详细信息可以通过[批量查询薪资统计指标](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/indicator/list)接口查询获得
示例值:13243432
func (*PlanIndicatorBuilder) PlanIndicatorLogic ¶
func (builder *PlanIndicatorBuilder) PlanIndicatorLogic(planIndicatorLogic *AdjustmentLogic) *PlanIndicatorBuilder
方案关联薪资统计指标逻辑配置
示例值:
type PlanItem ¶
type PlanItem struct { AdjustmentType *string `json:"adjustment_type,omitempty"` // 定薪方式 ItemId *string `json:"item_id,omitempty"` // 薪酬项ID,详细信息可以通过[批量查询薪资项](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list)接口查询获得 PlanItemLogic *AdjustmentLogic `json:"plan_item_logic,omitempty"` // 方案关联薪资项逻辑配置 ProbationDiscountType *string `json:"probation_discount_type,omitempty"` // 试用期薪酬类型 ProbationDiscountPercentum *string `json:"probation_discount_percentum,omitempty"` // 试用期薪酬百分比 }
type PlanItemBuilder ¶
type PlanItemBuilder struct {
// contains filtered or unexported fields
}
func NewPlanItemBuilder ¶
func NewPlanItemBuilder() *PlanItemBuilder
func (*PlanItemBuilder) AdjustmentType ¶
func (builder *PlanItemBuilder) AdjustmentType(adjustmentType string) *PlanItemBuilder
定薪方式
示例值:manual
func (*PlanItemBuilder) Build ¶
func (builder *PlanItemBuilder) Build() *PlanItem
func (*PlanItemBuilder) ItemId ¶
func (builder *PlanItemBuilder) ItemId(itemId string) *PlanItemBuilder
薪酬项ID,详细信息可以通过[批量查询薪资项](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list)接口查询获得
示例值:21341234
func (*PlanItemBuilder) PlanItemLogic ¶
func (builder *PlanItemBuilder) PlanItemLogic(planItemLogic *AdjustmentLogic) *PlanItemBuilder
方案关联薪资项逻辑配置
示例值:
func (*PlanItemBuilder) ProbationDiscountPercentum ¶
func (builder *PlanItemBuilder) ProbationDiscountPercentum(probationDiscountPercentum string) *PlanItemBuilder
试用期薪酬百分比
示例值:80.00
func (*PlanItemBuilder) ProbationDiscountType ¶
func (builder *PlanItemBuilder) ProbationDiscountType(probationDiscountType string) *PlanItemBuilder
试用期薪酬类型
示例值:percentum
type PlanScope ¶
type PlanScope struct { IsAll *bool `json:"is_all,omitempty"` // 是否全部范围 PlanConditions []*PlanCondition `json:"plan_conditions,omitempty"` // 方案适用范围条件组 }
type PlanScopeBuilder ¶
type PlanScopeBuilder struct {
// contains filtered or unexported fields
}
func NewPlanScopeBuilder ¶
func NewPlanScopeBuilder() *PlanScopeBuilder
func (*PlanScopeBuilder) Build ¶
func (builder *PlanScopeBuilder) Build() *PlanScope
func (*PlanScopeBuilder) IsAll ¶
func (builder *PlanScopeBuilder) IsAll(isAll bool) *PlanScopeBuilder
是否全部范围
示例值:false
func (*PlanScopeBuilder) PlanConditions ¶
func (builder *PlanScopeBuilder) PlanConditions(planConditions []*PlanCondition) *PlanScopeBuilder
方案适用范围条件组
示例值:
type QueryArchivePathReqBodyBuilder ¶
type QueryArchivePathReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewQueryArchivePathReqBodyBuilder ¶
func NewQueryArchivePathReqBodyBuilder() *QueryArchivePathReqBodyBuilder
func (*QueryArchivePathReqBodyBuilder) Build ¶
func (builder *QueryArchivePathReqBodyBuilder) Build() (*QueryArchiveReqBody, error)
func (*QueryArchivePathReqBodyBuilder) EffectiveEndDate ¶
func (builder *QueryArchivePathReqBodyBuilder) EffectiveEndDate(effectiveEndDate string) *QueryArchivePathReqBodyBuilder
生效结束时间
示例值:2023-05-15
func (*QueryArchivePathReqBodyBuilder) EffectiveStartDate ¶
func (builder *QueryArchivePathReqBodyBuilder) EffectiveStartDate(effectiveStartDate string) *QueryArchivePathReqBodyBuilder
生效开始时间
示例值:2022-05-10
func (*QueryArchivePathReqBodyBuilder) UserIdList ¶
func (builder *QueryArchivePathReqBodyBuilder) UserIdList(userIdList []string) *QueryArchivePathReqBodyBuilder
用户ID列表
示例值:
type QueryArchiveReq ¶
type QueryArchiveReq struct { Body *QueryArchiveReqBody `body:""` // contains filtered or unexported fields }
type QueryArchiveReqBody ¶
type QueryArchiveReqBodyBuilder ¶
type QueryArchiveReqBodyBuilder struct {
// contains filtered or unexported fields
}
func NewQueryArchiveReqBodyBuilder ¶
func NewQueryArchiveReqBodyBuilder() *QueryArchiveReqBodyBuilder
func (*QueryArchiveReqBodyBuilder) Build ¶
func (builder *QueryArchiveReqBodyBuilder) Build() *QueryArchiveReqBody
func (*QueryArchiveReqBodyBuilder) EffectiveEndDate ¶
func (builder *QueryArchiveReqBodyBuilder) EffectiveEndDate(effectiveEndDate string) *QueryArchiveReqBodyBuilder
生效结束时间
示例值:2023-05-15
func (*QueryArchiveReqBodyBuilder) EffectiveStartDate ¶
func (builder *QueryArchiveReqBodyBuilder) EffectiveStartDate(effectiveStartDate string) *QueryArchiveReqBodyBuilder
生效开始时间
示例值:2022-05-10
func (*QueryArchiveReqBodyBuilder) UserIdList ¶
func (builder *QueryArchiveReqBodyBuilder) UserIdList(userIdList []string) *QueryArchiveReqBodyBuilder
用户ID列表
示例值:
type QueryArchiveReqBuilder ¶
type QueryArchiveReqBuilder struct {
// contains filtered or unexported fields
}
func NewQueryArchiveReqBuilder ¶
func NewQueryArchiveReqBuilder() *QueryArchiveReqBuilder
func (*QueryArchiveReqBuilder) Body ¶
func (builder *QueryArchiveReqBuilder) Body(body *QueryArchiveReqBody) *QueryArchiveReqBuilder
func (*QueryArchiveReqBuilder) Build ¶
func (builder *QueryArchiveReqBuilder) Build() *QueryArchiveReq
func (*QueryArchiveReqBuilder) PageSize ¶
func (builder *QueryArchiveReqBuilder) PageSize(pageSize int) *QueryArchiveReqBuilder
分页大小
示例值:100
func (*QueryArchiveReqBuilder) PageToken ¶
func (builder *QueryArchiveReqBuilder) PageToken(pageToken string) *QueryArchiveReqBuilder
分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果
示例值:231432433
func (*QueryArchiveReqBuilder) UserIdType ¶
func (builder *QueryArchiveReqBuilder) UserIdType(userIdType string) *QueryArchiveReqBuilder
用户ID类型
示例值:open_id
type QueryArchiveResp ¶
type QueryArchiveResp struct { *larkcore.ApiResp `json:"-"` larkcore.CodeError Data *QueryArchiveRespData `json:"data"` // 业务数据 }
func (*QueryArchiveResp) Success ¶
func (resp *QueryArchiveResp) Success() bool
type QueryArchiveRespData ¶
type QueryArchiveRespData struct { Items []*ArchiveDetail `json:"items,omitempty"` // 档案信息列表 PageToken *string `json:"page_token,omitempty"` // 分页标记,当 has_more 为 true 时,会同时返回新的 page_token,否则不返回 page_token HasMore *bool `json:"has_more,omitempty"` // 是否还有更多项 }
type RecurringPayment ¶ added in v3.3.7
type RecurringPayment struct { Id *string `json:"id,omitempty"` // 经常性支付记录id UniqueId *string `json:"unique_id,omitempty"` // 外部幂等id,由上游业务决定 UserId *string `json:"user_id,omitempty"` // 员工id,具体类型由入参中的 user_id_type 指定 ItemId *string `json:"item_id,omitempty"` // 薪酬项id IssuanceType *string `json:"issuance_type,omitempty"` // 发放方式 EachAmount *string `json:"each_amount,omitempty"` // 单次发放金额 StartDate *string `json:"start_date,omitempty"` // 发放开始日期 EndDate *string `json:"end_date,omitempty"` // 发放结束日期 IssuancePeriod *string `json:"issuance_period,omitempty"` // 发放频率 CurrencyId *string `json:"currency_id,omitempty"` // 币种id Remark *string `json:"remark,omitempty"` // 备注 }
type RecurringPaymentBuilder ¶ added in v3.3.7
type RecurringPaymentBuilder struct {
// contains filtered or unexported fields
}
func NewRecurringPaymentBuilder ¶ added in v3.3.7
func NewRecurringPaymentBuilder() *RecurringPaymentBuilder
func (*RecurringPaymentBuilder) Build ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) Build() *RecurringPayment
func (*RecurringPaymentBuilder) CurrencyId ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) CurrencyId(currencyId string) *RecurringPaymentBuilder
币种id
示例值:6863329932261459464
func (*RecurringPaymentBuilder) EachAmount ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) EachAmount(eachAmount string) *RecurringPaymentBuilder
单次发放金额
示例值:24.00
func (*RecurringPaymentBuilder) EndDate ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) EndDate(endDate string) *RecurringPaymentBuilder
发放结束日期
示例值:2025-01-20
func (*RecurringPaymentBuilder) Id ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) Id(id string) *RecurringPaymentBuilder
经常性支付记录id
示例值:7397033607132351532
func (*RecurringPaymentBuilder) IssuancePeriod ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) IssuancePeriod(issuancePeriod string) *RecurringPaymentBuilder
发放频率
示例值:year
func (*RecurringPaymentBuilder) IssuanceType ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) IssuanceType(issuanceType string) *RecurringPaymentBuilder
发放方式
示例值:with_salary
func (*RecurringPaymentBuilder) ItemId ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) ItemId(itemId string) *RecurringPaymentBuilder
薪酬项id
示例值:7411039006180312620
func (*RecurringPaymentBuilder) Remark ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) Remark(remark string) *RecurringPaymentBuilder
备注
示例值:这是个备注
func (*RecurringPaymentBuilder) StartDate ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) StartDate(startDate string) *RecurringPaymentBuilder
发放开始日期
示例值:2024-01-10
func (*RecurringPaymentBuilder) UniqueId ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) UniqueId(uniqueId string) *RecurringPaymentBuilder
外部幂等id,由上游业务决定
示例值:7402510801304718380_7309316347007764012_7402523725868058156_1726070400000_10000
func (*RecurringPaymentBuilder) UserId ¶ added in v3.3.7
func (builder *RecurringPaymentBuilder) UserId(userId string) *RecurringPaymentBuilder
员工id,具体类型由入参中的 user_id_type 指定
示例值:7337149697626801708
type RecurringPaymentForCreate ¶ added in v3.3.7
type RecurringPaymentForCreate struct { UniqueId *string `json:"unique_id,omitempty"` // 外部幂等id,由上游业务决定 UserId *string `json:"user_id,omitempty"` // 员工id,具体类型由入参中的 user_id_type 指定 ItemId *string `json:"item_id,omitempty"` // 薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询) EachAmount *string `json:"each_amount,omitempty"` // 每次发放金额 StartDate *string `json:"start_date,omitempty"` // 发放开始时间 EndDate *string `json:"end_date,omitempty"` // 发放结束时间 CurrencyId *string `json:"currency_id,omitempty"` // 币种id IssuanceType *string `json:"issuance_type,omitempty"` // 发放方式 Remark *string `json:"remark,omitempty"` // 备注 }
type RecurringPaymentForCreateBuilder ¶ added in v3.3.7
type RecurringPaymentForCreateBuilder struct {
// contains filtered or unexported fields
}
func NewRecurringPaymentForCreateBuilder ¶ added in v3.3.7
func NewRecurringPaymentForCreateBuilder() *RecurringPaymentForCreateBuilder
func (*RecurringPaymentForCreateBuilder) Build ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) Build() *RecurringPaymentForCreate
func (*RecurringPaymentForCreateBuilder) CurrencyId ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) CurrencyId(currencyId string) *RecurringPaymentForCreateBuilder
币种id
示例值:6863329932261459464
func (*RecurringPaymentForCreateBuilder) EachAmount ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) EachAmount(eachAmount string) *RecurringPaymentForCreateBuilder
每次发放金额
示例值:20.00
func (*RecurringPaymentForCreateBuilder) EndDate ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) EndDate(endDate string) *RecurringPaymentForCreateBuilder
发放结束时间
示例值:2025-08-01
func (*RecurringPaymentForCreateBuilder) IssuanceType ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) IssuanceType(issuanceType string) *RecurringPaymentForCreateBuilder
发放方式
示例值:with_salary
func (*RecurringPaymentForCreateBuilder) ItemId ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) ItemId(itemId string) *RecurringPaymentForCreateBuilder
薪酬项id(可通过 https://open.larkoffice.com/document/uAjLw4CM/ukTMukTMukTM/compensation-v1/item/list?appId=cli_a3077e2bb03c100d 进行查询)
示例值:7411039006180312620
func (*RecurringPaymentForCreateBuilder) Remark ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) Remark(remark string) *RecurringPaymentForCreateBuilder
备注
示例值:这是个备注
func (*RecurringPaymentForCreateBuilder) StartDate ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) StartDate(startDate string) *RecurringPaymentForCreateBuilder
发放开始时间
示例值:2024-08-01
func (*RecurringPaymentForCreateBuilder) UniqueId ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) UniqueId(uniqueId string) *RecurringPaymentForCreateBuilder
外部幂等id,由上游业务决定
示例值:7402510801304718380_7309316347007764012_7402523725868058156_1726070400000_10000
func (*RecurringPaymentForCreateBuilder) UserId ¶ added in v3.3.7
func (builder *RecurringPaymentForCreateBuilder) UserId(userId string) *RecurringPaymentForCreateBuilder
员工id,具体类型由入参中的 user_id_type 指定
示例值:7337149697626801708
type RecurringPaymentForUpdate ¶ added in v3.3.7
type RecurringPaymentForUpdate struct { Id *string `json:"id,omitempty"` // 经常性支付记录id EachAmount *string `json:"each_amount,omitempty"` // 每次发放金额 StartDate *string `json:"start_date,omitempty"` // 发放开始时间 EndDate *string `json:"end_date,omitempty"` // 发放结束时间 CurrencyId *string `json:"currency_id,omitempty"` // 币种id IssuanceType *string `json:"issuance_type,omitempty"` // 发放方式 Remark *string `json:"remark,omitempty"` // 原因 }
type RecurringPaymentForUpdateBuilder ¶ added in v3.3.7
type RecurringPaymentForUpdateBuilder struct {
// contains filtered or unexported fields
}
func NewRecurringPaymentForUpdateBuilder ¶ added in v3.3.7
func NewRecurringPaymentForUpdateBuilder() *RecurringPaymentForUpdateBuilder
func (*RecurringPaymentForUpdateBuilder) Build ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) Build() *RecurringPaymentForUpdate
func (*RecurringPaymentForUpdateBuilder) CurrencyId ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) CurrencyId(currencyId string) *RecurringPaymentForUpdateBuilder
币种id
示例值:6863329932261459464
func (*RecurringPaymentForUpdateBuilder) EachAmount ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) EachAmount(eachAmount string) *RecurringPaymentForUpdateBuilder
每次发放金额
示例值:10.00
func (*RecurringPaymentForUpdateBuilder) EndDate ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) EndDate(endDate string) *RecurringPaymentForUpdateBuilder
发放结束时间
示例值:2025-03-20
func (*RecurringPaymentForUpdateBuilder) Id ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) Id(id string) *RecurringPaymentForUpdateBuilder
经常性支付记录id
示例值:7397033607132351532
func (*RecurringPaymentForUpdateBuilder) IssuanceType ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) IssuanceType(issuanceType string) *RecurringPaymentForUpdateBuilder
发放方式
示例值:with_salary
func (*RecurringPaymentForUpdateBuilder) Remark ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) Remark(remark string) *RecurringPaymentForUpdateBuilder
原因
示例值:这是个备注
func (*RecurringPaymentForUpdateBuilder) StartDate ¶ added in v3.3.7
func (builder *RecurringPaymentForUpdateBuilder) StartDate(startDate string) *RecurringPaymentForUpdateBuilder
发放开始时间
示例值:2024-10-20
type RecurringPaymentOperateResult ¶ added in v3.3.7
type RecurringPaymentOperateResultBuilder ¶ added in v3.3.7
type RecurringPaymentOperateResultBuilder struct {
// contains filtered or unexported fields
}
func NewRecurringPaymentOperateResultBuilder ¶ added in v3.3.7
func NewRecurringPaymentOperateResultBuilder() *RecurringPaymentOperateResultBuilder
func (*RecurringPaymentOperateResultBuilder) Build ¶ added in v3.3.7
func (builder *RecurringPaymentOperateResultBuilder) Build() *RecurringPaymentOperateResult
func (*RecurringPaymentOperateResultBuilder) Code ¶ added in v3.3.7
func (builder *RecurringPaymentOperateResultBuilder) Code(code int) *RecurringPaymentOperateResultBuilder
操作结果状态码
示例值:21270202
func (*RecurringPaymentOperateResultBuilder) Id ¶ added in v3.3.7
func (builder *RecurringPaymentOperateResultBuilder) Id(id string) *RecurringPaymentOperateResultBuilder
操作记录的id
示例值:7390583861280556588
func (*RecurringPaymentOperateResultBuilder) Message ¶ added in v3.3.7
func (builder *RecurringPaymentOperateResultBuilder) Message(message string) *RecurringPaymentOperateResultBuilder
操作结果描述
示例值:uqniue id conflict
func (*RecurringPaymentOperateResultBuilder) UniqueId ¶ added in v3.3.7
func (builder *RecurringPaymentOperateResultBuilder) UniqueId(uniqueId string) *RecurringPaymentOperateResultBuilder
操作的记录的 unique_id
示例值:7390583861280556588
type SocialArchive ¶ added in v3.3.2
type SocialArchive struct { UserId *string `json:"user_id,omitempty"` // 员工ID Details []*SocialArchiveDetail `json:"details,omitempty"` // 员工参保档案,包含社保、公积金档案 }
type SocialArchiveAdjustRecord ¶ added in v3.3.2
type SocialArchiveAdjustRecord struct { UserId *string `json:"user_id,omitempty"` // 员工ID RecordType *string `json:"record_type,omitempty"` // 类型,increase: 增员; attrition: 减员 Details []*SocialArchiveDetail `json:"details,omitempty"` // 员工增减员记录,包括社保、公积金记录 }
type SocialArchiveAdjustRecordBuilder ¶ added in v3.3.2
type SocialArchiveAdjustRecordBuilder struct {
// contains filtered or unexported fields
}
func NewSocialArchiveAdjustRecordBuilder ¶ added in v3.3.2
func NewSocialArchiveAdjustRecordBuilder() *SocialArchiveAdjustRecordBuilder
func (*SocialArchiveAdjustRecordBuilder) Build ¶ added in v3.3.2
func (builder *SocialArchiveAdjustRecordBuilder) Build() *SocialArchiveAdjustRecord
func (*SocialArchiveAdjustRecordBuilder) Details ¶ added in v3.3.2
func (builder *SocialArchiveAdjustRecordBuilder) Details(details []*SocialArchiveDetail) *SocialArchiveAdjustRecordBuilder
员工增减员记录,包括社保、公积金记录
示例值:
func (*SocialArchiveAdjustRecordBuilder) RecordType ¶ added in v3.3.2
func (builder *SocialArchiveAdjustRecordBuilder) RecordType(recordType string) *SocialArchiveAdjustRecordBuilder
类型,increase: 增员; attrition: 减员
示例值:increase
func (*SocialArchiveAdjustRecordBuilder) UserId ¶ added in v3.3.2
func (builder *SocialArchiveAdjustRecordBuilder) UserId(userId string) *SocialArchiveAdjustRecordBuilder
员工ID
示例值:
type SocialArchiveBuilder ¶ added in v3.3.2
type SocialArchiveBuilder struct {
// contains filtered or unexported fields
}
func NewSocialArchiveBuilder ¶ added in v3.3.2
func NewSocialArchiveBuilder() *SocialArchiveBuilder
func (*SocialArchiveBuilder) Build ¶ added in v3.3.2
func (builder *SocialArchiveBuilder) Build() *SocialArchive
func (*SocialArchiveBuilder) Details ¶ added in v3.3.2
func (builder *SocialArchiveBuilder) Details(details []*SocialArchiveDetail) *SocialArchiveBuilder
员工参保档案,包含社保、公积金档案
示例值:
func (*SocialArchiveBuilder) UserId ¶ added in v3.3.2
func (builder *SocialArchiveBuilder) UserId(userId string) *SocialArchiveBuilder
员工ID
示例值:
type SocialArchiveDetail ¶ added in v3.3.2
type SocialArchiveDetail struct { Description *I18n `json:"description,omitempty"` // 调整说明 InsuranceType *string `json:"insurance_type,omitempty"` // 类型。social_insurance: 社保; provident_fund: 公积金 InsuranceStatus *string `json:"insurance_status,omitempty"` // 参保状态,非「参保」状态下,基数、险种数据等为空 Id *string `json:"id,omitempty"` // 档案时间轴对象ID,仅参保档案对象会包含 Tid *string `json:"tid,omitempty"` // 档案时间轴对象版本ID,仅参保档案对象会包含 PlanId *string `json:"plan_id,omitempty"` // 参保方案ID,详细信息可通过「查询参保方案」接口获取 PlanTid *string `json:"plan_tid,omitempty"` // 参保方案版本ID LocationId *string `json:"location_id,omitempty"` // 参保城市ID,可通过获取地点信息接口查询详细信息 CompanyId *string `json:"company_id,omitempty"` // 社保缴纳主体ID,可通过获取公司主体接口查询详细信息 AccountType *string `json:"account_type,omitempty"` // 社保账户类型 InsuranceAccount *string `json:"insurance_account,omitempty"` // 社保账号 BaseSalary *string `json:"base_salary,omitempty"` // 申报缴纳基数 InsuranceDetails []*SocialArchiveItem `json:"insurance_details,omitempty"` // 险种数据详情 EffectiveDate *string `json:"effective_date,omitempty"` // 档案生效时间,HHHH-MM-DD }
type SocialArchiveDetailBuilder ¶ added in v3.3.2
type SocialArchiveDetailBuilder struct {
// contains filtered or unexported fields
}
func NewSocialArchiveDetailBuilder ¶ added in v3.3.2
func NewSocialArchiveDetailBuilder() *SocialArchiveDetailBuilder
func (*SocialArchiveDetailBuilder) AccountType ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) AccountType(accountType string) *SocialArchiveDetailBuilder
社保账户类型
示例值:123456
func (*SocialArchiveDetailBuilder) BaseSalary ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) BaseSalary(baseSalary string) *SocialArchiveDetailBuilder
申报缴纳基数
示例值:1000.10
func (*SocialArchiveDetailBuilder) Build ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) Build() *SocialArchiveDetail
func (*SocialArchiveDetailBuilder) CompanyId ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) CompanyId(companyId string) *SocialArchiveDetailBuilder
社保缴纳主体ID,可通过获取公司主体接口查询详细信息
示例值:223456
func (*SocialArchiveDetailBuilder) Description ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) Description(description *I18n) *SocialArchiveDetailBuilder
调整说明
示例值:
func (*SocialArchiveDetailBuilder) EffectiveDate ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) EffectiveDate(effectiveDate string) *SocialArchiveDetailBuilder
档案生效时间,HHHH-MM-DD
示例值:2024-01-01
func (*SocialArchiveDetailBuilder) Id ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) Id(id string) *SocialArchiveDetailBuilder
档案时间轴对象ID,仅参保档案对象会包含
示例值:123456
func (*SocialArchiveDetailBuilder) InsuranceAccount ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) InsuranceAccount(insuranceAccount string) *SocialArchiveDetailBuilder
社保账号
示例值:ac123456
func (*SocialArchiveDetailBuilder) InsuranceDetails ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) InsuranceDetails(insuranceDetails []*SocialArchiveItem) *SocialArchiveDetailBuilder
险种数据详情
示例值:
func (*SocialArchiveDetailBuilder) InsuranceStatus ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) InsuranceStatus(insuranceStatus string) *SocialArchiveDetailBuilder
参保状态,非「参保」状态下,基数、险种数据等为空
示例值:contribution
func (*SocialArchiveDetailBuilder) InsuranceType ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) InsuranceType(insuranceType string) *SocialArchiveDetailBuilder
类型。social_insurance: 社保; provident_fund: 公积金
示例值:
func (*SocialArchiveDetailBuilder) LocationId ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) LocationId(locationId string) *SocialArchiveDetailBuilder
参保城市ID,可通过获取地点信息接口查询详细信息
示例值:123456
func (*SocialArchiveDetailBuilder) PlanId ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) PlanId(planId string) *SocialArchiveDetailBuilder
参保方案ID,详细信息可通过「查询参保方案」接口获取
示例值:123456
func (*SocialArchiveDetailBuilder) PlanTid ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) PlanTid(planTid string) *SocialArchiveDetailBuilder
参保方案版本ID
示例值:123456
func (*SocialArchiveDetailBuilder) Tid ¶ added in v3.3.2
func (builder *SocialArchiveDetailBuilder) Tid(tid string) *SocialArchiveDetailBuilder
档案时间轴对象版本ID,仅参保档案对象会包含
示例值:123456
type SocialArchiveItem ¶ added in v3.3.2
type SocialArchiveItem struct { InsuranceId *string `json:"insurance_id,omitempty"` // 险种ID,详细信息可通过社保险种接口查询 InsuranceName *I18n `json:"insurance_name,omitempty"` // 险种名称 CompanyDeduction *string `json:"company_deduction,omitempty"` // 企业缴纳金额 CompanySetting *SocialPlanItemSetting `json:"company_setting,omitempty"` // 险种缴纳配置 PersonalDeduction *string `json:"personal_deduction,omitempty"` // 企业缴纳金额 PersonalSetting *SocialPlanItemSetting `json:"personal_setting,omitempty"` // 险种缴纳配置 PaymentFrequency *string `json:"payment_frequency,omitempty"` // 缴纳频率 PaymentMonths []int `json:"payment_months,omitempty"` // 缴纳月份 }
type SocialArchiveItemBuilder ¶ added in v3.3.2
type SocialArchiveItemBuilder struct {
// contains filtered or unexported fields
}
func NewSocialArchiveItemBuilder ¶ added in v3.3.2
func NewSocialArchiveItemBuilder() *SocialArchiveItemBuilder
func (*SocialArchiveItemBuilder) Build ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) Build() *SocialArchiveItem
func (*SocialArchiveItemBuilder) CompanyDeduction ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) CompanyDeduction(companyDeduction string) *SocialArchiveItemBuilder
企业缴纳金额
示例值:2000.20
func (*SocialArchiveItemBuilder) CompanySetting ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) CompanySetting(companySetting *SocialPlanItemSetting) *SocialArchiveItemBuilder
险种缴纳配置
示例值:
func (*SocialArchiveItemBuilder) InsuranceId ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) InsuranceId(insuranceId string) *SocialArchiveItemBuilder
险种ID,详细信息可通过社保险种接口查询
示例值:111223
func (*SocialArchiveItemBuilder) InsuranceName ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) InsuranceName(insuranceName *I18n) *SocialArchiveItemBuilder
险种名称
示例值:
func (*SocialArchiveItemBuilder) PaymentFrequency ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) PaymentFrequency(paymentFrequency string) *SocialArchiveItemBuilder
缴纳频率
示例值:8.00
func (*SocialArchiveItemBuilder) PaymentMonths ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) PaymentMonths(paymentMonths []int) *SocialArchiveItemBuilder
缴纳月份
示例值:
func (*SocialArchiveItemBuilder) PersonalDeduction ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) PersonalDeduction(personalDeduction string) *SocialArchiveItemBuilder
企业缴纳金额
示例值:1000.20
func (*SocialArchiveItemBuilder) PersonalSetting ¶ added in v3.3.2
func (builder *SocialArchiveItemBuilder) PersonalSetting(personalSetting *SocialPlanItemSetting) *SocialArchiveItemBuilder
险种缴纳配置
示例值:
type SocialInsurance ¶ added in v3.3.2
type SocialInsurance struct { Id *string `json:"id,omitempty"` // 险种唯一ID Name *I18n `json:"name,omitempty"` // 险种名称 InsuranceType *string `json:"insurance_type,omitempty"` // 险种类型. social_insurance: 社保; provident_fund: 公积金 Active *bool `json:"active,omitempty"` // 启用状态 IsSystem *bool `json:"is_system,omitempty"` // 是否为系统预置险种。养老保险、医疗保险、失业保险、工伤保险、生育保险、住房公积金为系统预置险种。 }
type SocialInsuranceBuilder ¶ added in v3.3.2
type SocialInsuranceBuilder struct {
// contains filtered or unexported fields
}
func NewSocialInsuranceBuilder ¶ added in v3.3.2
func NewSocialInsuranceBuilder() *SocialInsuranceBuilder
func (*SocialInsuranceBuilder) Active ¶ added in v3.3.2
func (builder *SocialInsuranceBuilder) Active(active bool) *SocialInsuranceBuilder
启用状态
示例值:
func (*SocialInsuranceBuilder) Build ¶ added in v3.3.2
func (builder *SocialInsuranceBuilder) Build() *SocialInsurance
func (*SocialInsuranceBuilder) Id ¶ added in v3.3.2
func (builder *SocialInsuranceBuilder) Id(id string) *SocialInsuranceBuilder
险种唯一ID
示例值:i12345
func (*SocialInsuranceBuilder) InsuranceType ¶ added in v3.3.2
func (builder *SocialInsuranceBuilder) InsuranceType(insuranceType string) *SocialInsuranceBuilder
险种类型. social_insurance: 社保; provident_fund: 公积金
示例值:true
func (*SocialInsuranceBuilder) IsSystem ¶ added in v3.3.2
func (builder *SocialInsuranceBuilder) IsSystem(isSystem bool) *SocialInsuranceBuilder
是否为系统预置险种。养老保险、医疗保险、失业保险、工伤保险、生育保险、住房公积金为系统预置险种。
示例值:
func (*SocialInsuranceBuilder) Name ¶ added in v3.3.2
func (builder *SocialInsuranceBuilder) Name(name *I18n) *SocialInsuranceBuilder
险种名称
示例值:
type SocialPlan ¶ added in v3.3.2
type SocialPlan struct { PlanId *string `json:"plan_id,omitempty"` // 参保方案ID PlanTid *string `json:"plan_tid,omitempty"` // 参保方案版本ID Name *I18n `json:"name,omitempty"` // 参保方案名称 EffectiveDate *string `json:"effective_date,omitempty"` // 生效时间,HHHH-MM-DD Active *bool `json:"active,omitempty"` // 是否启用 InsuranceType *string `json:"insurance_type,omitempty"` // 险种类型. social_insurance: 社保; provident_fund: 公积金 Scope *SocialPlanScope `json:"scope,omitempty"` // 参保方案适用范围 ItemDetail []*SocialPlanItemDetail `json:"item_detail,omitempty"` // 参保信息 Remark *I18n `json:"remark,omitempty"` // 备注 }
type SocialPlanBuilder ¶ added in v3.3.2
type SocialPlanBuilder struct {
// contains filtered or unexported fields
}
func NewSocialPlanBuilder ¶ added in v3.3.2
func NewSocialPlanBuilder() *SocialPlanBuilder
func (*SocialPlanBuilder) Active ¶ added in v3.3.2
func (builder *SocialPlanBuilder) Active(active bool) *SocialPlanBuilder
是否启用
示例值:
func (*SocialPlanBuilder) Build ¶ added in v3.3.2
func (builder *SocialPlanBuilder) Build() *SocialPlan
func (*SocialPlanBuilder) EffectiveDate ¶ added in v3.3.2
func (builder *SocialPlanBuilder) EffectiveDate(effectiveDate string) *SocialPlanBuilder
生效时间,HHHH-MM-DD
示例值:2024-01-01
func (*SocialPlanBuilder) InsuranceType ¶ added in v3.3.2
func (builder *SocialPlanBuilder) InsuranceType(insuranceType string) *SocialPlanBuilder
险种类型. social_insurance: 社保; provident_fund: 公积金
示例值:
func (*SocialPlanBuilder) ItemDetail ¶ added in v3.3.2
func (builder *SocialPlanBuilder) ItemDetail(itemDetail []*SocialPlanItemDetail) *SocialPlanBuilder
参保信息
示例值:
func (*SocialPlanBuilder) Name ¶ added in v3.3.2
func (builder *SocialPlanBuilder) Name(name *I18n) *SocialPlanBuilder
参保方案名称
示例值:
func (*SocialPlanBuilder) PlanId ¶ added in v3.3.2
func (builder *SocialPlanBuilder) PlanId(planId string) *SocialPlanBuilder
参保方案ID
示例值:11111
func (*SocialPlanBuilder) PlanTid ¶ added in v3.3.2
func (builder *SocialPlanBuilder) PlanTid(planTid string) *SocialPlanBuilder
参保方案版本ID
示例值:22222
func (*SocialPlanBuilder) Remark ¶ added in v3.3.2
func (builder *SocialPlanBuilder) Remark(remark *I18n) *SocialPlanBuilder
备注
示例值:
func (*SocialPlanBuilder) Scope ¶ added in v3.3.2
func (builder *SocialPlanBuilder) Scope(scope *SocialPlanScope) *SocialPlanBuilder
参保方案适用范围
示例值:
type SocialPlanCondition ¶ added in v3.3.4
type SocialPlanConditionBuilder ¶ added in v3.3.4
type SocialPlanConditionBuilder struct {
// contains filtered or unexported fields
}
func NewSocialPlanConditionBuilder ¶ added in v3.3.4
func NewSocialPlanConditionBuilder() *SocialPlanConditionBuilder
func (*SocialPlanConditionBuilder) Build ¶ added in v3.3.4
func (builder *SocialPlanConditionBuilder) Build() *SocialPlanCondition
func (*SocialPlanConditionBuilder) LeftType ¶ added in v3.3.4
func (builder *SocialPlanConditionBuilder) LeftType(leftType int) *SocialPlanConditionBuilder
适用范围左值
示例值:1
func (*SocialPlanConditionBuilder) Operator ¶ added in v3.3.4
func (builder *SocialPlanConditionBuilder) Operator(operator int) *SocialPlanConditionBuilder
适用范围操作
示例值:1
func (*SocialPlanConditionBuilder) RightValues ¶ added in v3.3.4
func (builder *SocialPlanConditionBuilder) RightValues(rightValues []string) *SocialPlanConditionBuilder
适用范围右值
示例值:
type SocialPlanItemDetail ¶ added in v3.3.2
type SocialPlanItemDetail struct { ItemId *string `json:"item_id,omitempty"` // 险种ID,详细信息可通过社保险种接口查询 ItemName *I18n `json:"item_name,omitempty"` // 险种名 ItemSettingOfPerson *SocialPlanItemSetting `json:"item_setting_of_person,omitempty"` // 险种缴纳配置 ItemSettingOfCompany *SocialPlanItemSetting `json:"item_setting_of_company,omitempty"` // 险种缴纳配置 PaymentFrequency *string `json:"payment_frequency,omitempty"` // 缴纳频率 PaymentMonths []int `json:"payment_months,omitempty"` // 缴纳月份 }
type SocialPlanItemDetailBuilder ¶ added in v3.3.2
type SocialPlanItemDetailBuilder struct {
// contains filtered or unexported fields
}
func NewSocialPlanItemDetailBuilder ¶ added in v3.3.2
func NewSocialPlanItemDetailBuilder() *SocialPlanItemDetailBuilder
func (*SocialPlanItemDetailBuilder) Build ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) Build() *SocialPlanItemDetail
func (*SocialPlanItemDetailBuilder) ItemId ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) ItemId(itemId string) *SocialPlanItemDetailBuilder
险种ID,详细信息可通过社保险种接口查询
示例值:123456
func (*SocialPlanItemDetailBuilder) ItemName ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) ItemName(itemName *I18n) *SocialPlanItemDetailBuilder
险种名
示例值:
func (*SocialPlanItemDetailBuilder) ItemSettingOfCompany ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) ItemSettingOfCompany(itemSettingOfCompany *SocialPlanItemSetting) *SocialPlanItemDetailBuilder
险种缴纳配置
示例值:
func (*SocialPlanItemDetailBuilder) ItemSettingOfPerson ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) ItemSettingOfPerson(itemSettingOfPerson *SocialPlanItemSetting) *SocialPlanItemDetailBuilder
险种缴纳配置
示例值:
func (*SocialPlanItemDetailBuilder) PaymentFrequency ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) PaymentFrequency(paymentFrequency string) *SocialPlanItemDetailBuilder
缴纳频率
示例值:8.00
func (*SocialPlanItemDetailBuilder) PaymentMonths ¶ added in v3.3.2
func (builder *SocialPlanItemDetailBuilder) PaymentMonths(paymentMonths []int) *SocialPlanItemDetailBuilder
缴纳月份
示例值:
type SocialPlanItemSetting ¶ added in v3.3.2
type SocialPlanItemSetting struct { LowerLimit *string `json:"lower_limit,omitempty"` // 基数下限,浮点数,保留二位小数 UpperLimit *string `json:"upper_limit,omitempty"` // 基数上限,浮点数,保留二位小数 PaymentRatio *string `json:"payment_ratio,omitempty"` // 缴纳比例,浮点数,默认填充到二位小数,支持输入到四位,单位为 % PaymentRoundingRule *string `json:"payment_rounding_rule,omitempty"` // 缴纳金舍入规则。rounding: 四舍五入; round_up: 向上舍入; round_down: 向下舍入 PaymentDecimals *int `json:"payment_decimals,omitempty"` // 缴纳金小数位数,0-6之间选择 FixedPayment *string `json:"fixed_payment,omitempty"` // 附加固定金额,浮点数,保留二位小数 }
type SocialPlanItemSettingBuilder ¶ added in v3.3.2
type SocialPlanItemSettingBuilder struct {
// contains filtered or unexported fields
}
func NewSocialPlanItemSettingBuilder ¶ added in v3.3.2
func NewSocialPlanItemSettingBuilder() *SocialPlanItemSettingBuilder
func (*SocialPlanItemSettingBuilder) Build ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) Build() *SocialPlanItemSetting
func (*SocialPlanItemSettingBuilder) FixedPayment ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) FixedPayment(fixedPayment string) *SocialPlanItemSettingBuilder
附加固定金额,浮点数,保留二位小数
示例值:200.00
func (*SocialPlanItemSettingBuilder) LowerLimit ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) LowerLimit(lowerLimit string) *SocialPlanItemSettingBuilder
基数下限,浮点数,保留二位小数
示例值:1000.00
func (*SocialPlanItemSettingBuilder) PaymentDecimals ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) PaymentDecimals(paymentDecimals int) *SocialPlanItemSettingBuilder
缴纳金小数位数,0-6之间选择
示例值:2
func (*SocialPlanItemSettingBuilder) PaymentRatio ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) PaymentRatio(paymentRatio string) *SocialPlanItemSettingBuilder
缴纳比例,浮点数,默认填充到二位小数,支持输入到四位,单位为 %
示例值:8.00
func (*SocialPlanItemSettingBuilder) PaymentRoundingRule ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) PaymentRoundingRule(paymentRoundingRule string) *SocialPlanItemSettingBuilder
缴纳金舍入规则。rounding: 四舍五入; round_up: 向上舍入; round_down: 向下舍入
示例值:8.00
func (*SocialPlanItemSettingBuilder) UpperLimit ¶ added in v3.3.2
func (builder *SocialPlanItemSettingBuilder) UpperLimit(upperLimit string) *SocialPlanItemSettingBuilder
基数上限,浮点数,保留二位小数
示例值:2000.00
type SocialPlanScope ¶ added in v3.3.2
type SocialPlanScope struct { IsAll *bool `json:"is_all,omitempty"` // 是否适用于全部 Rules [][]*SocialPlanCondition `json:"rules,omitempty"` // 适用范围,二维。外层or连接,内层and连接 }
type SocialPlanScopeBuilder ¶ added in v3.3.2
type SocialPlanScopeBuilder struct {
// contains filtered or unexported fields
}
func NewSocialPlanScopeBuilder ¶ added in v3.3.2
func NewSocialPlanScopeBuilder() *SocialPlanScopeBuilder
func (*SocialPlanScopeBuilder) Build ¶ added in v3.3.2
func (builder *SocialPlanScopeBuilder) Build() *SocialPlanScope
func (*SocialPlanScopeBuilder) IsAll ¶ added in v3.3.2
func (builder *SocialPlanScopeBuilder) IsAll(isAll bool) *SocialPlanScopeBuilder
是否适用于全部
示例值:true
func (*SocialPlanScopeBuilder) Rules ¶ added in v3.3.2
func (builder *SocialPlanScopeBuilder) Rules(rules [][]*SocialPlanCondition) *SocialPlanScopeBuilder
适用范围,二维。外层or连接,内层and连接
示例值: