public static class EmploymentCreate.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
EmploymentCreate.Builder |
atsApplicationId(String atsApplicationId)
招聘投递 ID
,详细信息可以通过[【获取投递信息】](https://open.feishu.cn/document/ukTMukTMukTM/uMzM1YjLzMTN24yMzUjN/hire-v1/application/get)接口查询获得
示例值:6838119494196871234
|
EmploymentCreate |
build() |
EmploymentCreate.Builder |
companyId(String companyId)
法人主体
ID,可通过[【查询单个公司】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/company/get)获取详细信息
示例值:6893014062142064135
|
EmploymentCreate.Builder |
costCenterList(JobDataCostCenter[] costCenterList)
成本中心id列表
示例值:
|
EmploymentCreate.Builder |
customFields(ObjectFieldData[] customFields)
自定义字段;-
请参考[【自定义字段说明】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/custom-fields-guide)
示例值:
|
EmploymentCreate.Builder |
departmentId(String departmentId)
部门
ID,可通过[【查询单个部门】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/department/get)获取详细信息;类型不跟随department_id_type
示例值:6893014062142064135
|
EmploymentCreate.Builder |
effectiveTime(String effectiveTime)
入职日期
示例值:2020-01-01 00:00:00
|
EmploymentCreate.Builder |
emailAddress(String emailAddress)
邮箱
示例值:test@163.com
|
EmploymentCreate.Builder |
employeeNumber(String employeeNumber)
员工编号
示例值:1000000
|
EmploymentCreate.Builder |
employeeTypeId(String employeeTypeId)
人员类型,可通过[【查询单个人员类型】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/employee_type/get)获取详细信息
示例值:1
|
EmploymentCreate.Builder |
employmentStatus(Enum employmentStatus)
雇员状态
示例值:
|
EmploymentCreate.Builder |
employmentType(Enum employmentType)
雇佣类型
示例值:
|
EmploymentCreate.Builder |
expirationTime(String expirationTime)
离职日期
示例值:2020-01-01 00:00:00
|
EmploymentCreate.Builder |
id(String id)
雇佣ID,实体在CoreHR内部的唯一键;可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取更多信息
示例值:6893014062142064135
|
EmploymentCreate.Builder |
jobFamilyId(String jobFamilyId)
职务序列
ID,可通过[【查询单个序列】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_family/get)获取详细信息
示例值:6893014062142064135
|
EmploymentCreate.Builder |
jobId(String jobId)
职务
ID,可通过[【查询单个职务】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job/get)获取详细信息
示例值:6893014062142064135
|
EmploymentCreate.Builder |
jobLevelId(String jobLevelId)
职级
ID,可通过[【查询单个职级】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/job_level/get)获取详细信息
示例值:6893014062142064135
|
EmploymentCreate.Builder |
onProbation(String onProbation)
是否在试用期中
示例值:true
|
EmploymentCreate.Builder |
personId(String personId)
个人信息ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)获取详细信息
示例值:6919733936050406926
|
EmploymentCreate.Builder |
prehireId(String prehireId)
待入职ID,可通过[【查询单个待入职】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/pre_hire/get)获取详细信息
示例值:1
|
EmploymentCreate.Builder |
primaryEmployment(Boolean primaryEmployment)
是否是主雇佣信息
示例值:true
|
EmploymentCreate.Builder |
probationEndDate(String probationEndDate)
试用期结束日期
示例值:2022-01-01
|
EmploymentCreate.Builder |
probationPeriod(Integer probationPeriod)
试用期时长
示例值:9999
|
EmploymentCreate.Builder |
reasonForOffboarding(Enum reasonForOffboarding)
离职原因
示例值:
|
EmploymentCreate.Builder |
rehire(Enum rehire)
是否离职重聘
示例值:
|
EmploymentCreate.Builder |
rehireEmploymentId(String rehireEmploymentId)
历史雇佣信息
ID,可通过[【批量查询员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/batch_get)、;[【搜索员工信息】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employee/search)获取详细信息
示例值:7051837122449425964
|
EmploymentCreate.Builder |
seniorityDate(String seniorityDate)
资历起算日期
示例值:2020-01-01
|
EmploymentCreate.Builder |
tenure(String tenure)
司龄
示例值:1
|
EmploymentCreate.Builder |
workEmailList(Email[] workEmailList)
工作邮箱列表;- 只有当满足下面所有条件时,才在工作信息页面可见: ; - is_primary = "true"; - is_public = "true"; -
email_usage = "work"
示例值:
|
EmploymentCreate.Builder |
workingHoursTypeId(String workingHoursTypeId)
工时制度
ID,可通过[【查询单个工时制度】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/working_hours_type/get)获取详细信息
示例值:6893014062142064135
|
EmploymentCreate.Builder |
workLocationId(String workLocationId)
工作地点
ID,可通过[【查询单个地点】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/location/get)获取详细信息
示例值:6893014062142064135
|
public EmploymentCreate.Builder prehireId(String prehireId)
示例值:1
prehireId - public EmploymentCreate.Builder employeeTypeId(String employeeTypeId)
示例值:1
employeeTypeId - public EmploymentCreate.Builder tenure(String tenure)
示例值:1
tenure - public EmploymentCreate.Builder departmentId(String departmentId)
示例值:6893014062142064135
departmentId - public EmploymentCreate.Builder jobLevelId(String jobLevelId)
示例值:6893014062142064135
jobLevelId - public EmploymentCreate.Builder workLocationId(String workLocationId)
示例值:6893014062142064135
workLocationId - public EmploymentCreate.Builder jobFamilyId(String jobFamilyId)
示例值:6893014062142064135
jobFamilyId - public EmploymentCreate.Builder jobId(String jobId)
示例值:6893014062142064135
jobId - public EmploymentCreate.Builder companyId(String companyId)
示例值:6893014062142064135
companyId - public EmploymentCreate.Builder workingHoursTypeId(String workingHoursTypeId)
示例值:6893014062142064135
workingHoursTypeId - public EmploymentCreate.Builder id(String id)
示例值:6893014062142064135
id - public EmploymentCreate.Builder seniorityDate(String seniorityDate)
示例值:2020-01-01
seniorityDate - public EmploymentCreate.Builder employeeNumber(String employeeNumber)
示例值:1000000
employeeNumber - public EmploymentCreate.Builder effectiveTime(String effectiveTime)
示例值:2020-01-01 00:00:00
effectiveTime - public EmploymentCreate.Builder expirationTime(String expirationTime)
示例值:2020-01-01 00:00:00
expirationTime - public EmploymentCreate.Builder employmentType(Enum employmentType)
示例值:
employmentType - public EmploymentCreate.Builder personId(String personId)
示例值:6919733936050406926
personId - public EmploymentCreate.Builder probationPeriod(Integer probationPeriod)
示例值:9999
probationPeriod - public EmploymentCreate.Builder onProbation(String onProbation)
示例值:true
onProbation - public EmploymentCreate.Builder probationEndDate(String probationEndDate)
示例值:2022-01-01
probationEndDate - public EmploymentCreate.Builder primaryEmployment(Boolean primaryEmployment)
示例值:true
primaryEmployment - public EmploymentCreate.Builder employmentStatus(Enum employmentStatus)
示例值:
employmentStatus - public EmploymentCreate.Builder customFields(ObjectFieldData[] customFields)
示例值:
customFields - public EmploymentCreate.Builder workEmailList(Email[] workEmailList)
示例值:
workEmailList - public EmploymentCreate.Builder emailAddress(String emailAddress)
示例值:test@163.com
emailAddress - public EmploymentCreate.Builder reasonForOffboarding(Enum reasonForOffboarding)
示例值:
reasonForOffboarding - public EmploymentCreate.Builder costCenterList(JobDataCostCenter[] costCenterList)
示例值:
costCenterList - public EmploymentCreate.Builder atsApplicationId(String atsApplicationId)
示例值:6838119494196871234
atsApplicationId - public EmploymentCreate.Builder rehire(Enum rehire)
示例值:
rehire - public EmploymentCreate.Builder rehireEmploymentId(String rehireEmploymentId)
示例值:7051837122449425964
rehireEmploymentId - public EmploymentCreate build()
Copyright © 2026. All rights reserved.