类 PreHireEmploymentInfo.Builder

java.lang.Object
com.lark.oapi.service.corehr.v2.model.PreHireEmploymentInfo.Builder
封闭类:
PreHireEmploymentInfo

public static class PreHireEmploymentInfo.Builder extends Object
  • 构造器详细资料

    • Builder

      public Builder()
  • 方法详细资料

    • departmentId

      public PreHireEmploymentInfo.Builder departmentId(String departmentId)
      部门 ID ,可以通过【搜索部门信息】接口获取

      示例值:7147562782945478177

      参数:
      departmentId -
      返回:
    • costCenterRates

      public PreHireEmploymentInfo.Builder costCenterRates(JobDataCostCenter[] costCenterRates)
      成本中心分摊信息

      示例值:

      参数:
      costCenterRates -
      返回:
    • officeLocationId

      public PreHireEmploymentInfo.Builder officeLocationId(String officeLocationId)
      办公地点id ,详细信息可通过【批量查询地点】接口获得

      示例值:6977976687350924832

      参数:
      officeLocationId -
      返回:
    • workLocationId

      public PreHireEmploymentInfo.Builder workLocationId(String workLocationId)
      工作地点id ,详细信息可通过【批量查询地点】接口获得

      示例值:6977976687350924832

      参数:
      workLocationId -
      返回:
    • workStation

      public PreHireEmploymentInfo.Builder workStation(String workStation)
      工位

      示例值:ABC123

      参数:
      workStation -
      返回:
    • workerId

      public PreHireEmploymentInfo.Builder workerId(String workerId)
      工号

      示例值:1234567

      参数:
      workerId -
      返回:
    • compensationType

      public PreHireEmploymentInfo.Builder compensationType(Enum compensationType)
      -| 薪资类型,枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - custom_api_name:compensation_type - object_api_name:pre_hire

      示例值:

      参数:
      compensationType -
      返回:
    • directLeaderId

      public PreHireEmploymentInfo.Builder directLeaderId(String directLeaderId)
      直属上级雇佣 ID , 可以通过【搜索员工信息】接口获取

      示例值:7032210902531327521

      参数:
      directLeaderId -
      返回:
    • jobId

      public PreHireEmploymentInfo.Builder jobId(String jobId)
      职务 ID ,可以通过【批量查询职务】接口获取

      示例值:6977976735715378724

      参数:
      jobId -
      返回:
    • jobFamilyId

      public PreHireEmploymentInfo.Builder jobFamilyId(String jobFamilyId)
      序列 ID,可以通过【批量查询职务序列】接口获取

      示例值:6977972856625939999

      参数:
      jobFamilyId -
      返回:
    • jobLevelId

      public PreHireEmploymentInfo.Builder jobLevelId(String jobLevelId)
      职级 ID,可以通过【批量查询职务级别】接口获取

      示例值:6977971894960145950

      参数:
      jobLevelId -
      返回:
    • jobGradeId

      public PreHireEmploymentInfo.Builder jobGradeId(String jobGradeId)
      职等 ID

      示例值:6977971894960145950

      参数:
      jobGradeId -
      返回:
    • jobTitle

      public PreHireEmploymentInfo.Builder jobTitle(String jobTitle)
      职务头衔

      示例值:java

      参数:
      jobTitle -
      返回:
    • employeeTypeId

      public PreHireEmploymentInfo.Builder employeeTypeId(String employeeTypeId)
      人员类型 ID ,可以通过招聘【批量查询人员类型】接口获取

      示例值:6977973225846343171

      参数:
      employeeTypeId -
      返回:
    • employmentType

      public PreHireEmploymentInfo.Builder employmentType(String employmentType)
      -| 雇佣类型, 枚举值可查询【获取字段详情】接口获取,按如下参数查询即可: - object_api_name = "pre_hire" - custom_api_name = "employment_type"

      示例值:employee

      参数:
      employmentType -
      返回:
    • workEmail

      public PreHireEmploymentInfo.Builder workEmail(String workEmail)
      工作邮箱

      示例值:joshua@bytedance.com

      参数:
      workEmail -
      返回:
    • companyId

      public PreHireEmploymentInfo.Builder companyId(String companyId)
      公司 ID , 详细信息可通过【批量查询公司】接口获得

      示例值:6738317738688661772

      参数:
      companyId -
      返回:
    • socialSecurityCityId

      public PreHireEmploymentInfo.Builder socialSecurityCityId(String socialSecurityCityId)
      社保城市 ID ,详细信息可通过【批量查询地点】接口获得

      示例值:6977973225846343171

      参数:
      socialSecurityCityId -
      返回:
    • nonCompeteCovenant

      public PreHireEmploymentInfo.Builder nonCompeteCovenant(Boolean nonCompeteCovenant)
      是否包含竞业条款

      示例值:true

      参数:
      nonCompeteCovenant -
      返回:
    • weeklyWorkingHours

      public PreHireEmploymentInfo.Builder weeklyWorkingHours(Integer weeklyWorkingHours)
      周工作时长(单位:小时)

      示例值:8

      参数:
      weeklyWorkingHours -
      返回:
    • rehire

      public PreHireEmploymentInfo.Builder rehire(String rehire)
      是否离职重聘

      示例值:

      参数:
      rehire -
      返回:
    • rehire

      是否离职重聘

      示例值:

      参数:
      rehire - PreHireEmploymentInfoRehireEnum
      返回:
    • rehireEmploymentId

      public PreHireEmploymentInfo.Builder rehireEmploymentId(String rehireEmploymentId)
      -| 历史雇佣信息 ID ,雇佣信息详细信息可以通过「查询单个雇佣信息」API 获得,系统会检验当前雇佣信息的合法性,要求: - 雇佣信息为该人员最后一次雇佣记录 - 雇佣信息的雇员状态 = "terminated" - 该人员不存在其他待入职记录

      示例值:6977973225846343172

      参数:
      rehireEmploymentId -
      返回:
    • workingHoursType

      public PreHireEmploymentInfo.Builder workingHoursType(String workingHoursType)
      -| 工时制度 ID ,可通过【查询单个工时制度】接口获取

      示例值:6977973225846343171

      参数:
      workingHoursType -
      返回:
    • weeklyWorkingHoursV2

      public PreHireEmploymentInfo.Builder weeklyWorkingHoursV2(Double weeklyWorkingHoursV2)
      周工作时长v2(单位:小时)

      示例值:8.5

      参数:
      weeklyWorkingHoursV2 -
      返回:
    • officeAddress

      public PreHireEmploymentInfo.Builder officeAddress(Address officeAddress)
      办公地址

      示例值:

      参数:
      officeAddress -
      返回:
    • workingCalendarId

      public PreHireEmploymentInfo.Builder workingCalendarId(String workingCalendarId)
      工作日历

      示例值:6977973225846343173

      参数:
      workingCalendarId -
      返回:
    • updatedAt

      public PreHireEmploymentInfo.Builder updatedAt(String updatedAt)
      更新时间

      示例值:2023-01-10 10:29

      参数:
      updatedAt -
      返回:
    • suspectedRehiring

      public PreHireEmploymentInfo.Builder suspectedRehiring(Boolean suspectedRehiring)
      是否疑似重聘

      示例值:false

      参数:
      suspectedRehiring -
      返回:
    • customFields

      public PreHireEmploymentInfo.Builder customFields(CustomFieldData[] customFields)
      自定义字段

      示例值:

      参数:
      customFields -
      返回:
    • build

      public PreHireEmploymentInfo build()