| 程序包 | 说明 |
|---|---|
| com.lark.oapi.service.corehr.v1.model |
| 限定符和类型 | 方法和说明 |
|---|---|
Contract.Builder |
Contract.Builder.contractEndDate(String contractEndDate)
合同结束日期
示例值:2006-01-02
|
Contract.Builder |
Contract.Builder.contractNumber(String contractNumber)
合同编号
示例值:6919737965274990093
|
Contract.Builder |
Contract.Builder.contractType(Enum contractType)
合同类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)合同类型(contract_type)枚举定义部分获得
示例值:
|
Contract.Builder |
Contract.Builder.customFields(ObjectFieldData[] customFields)
自定义字段
示例值:
|
Contract.Builder |
Contract.Builder.durationType(Enum durationType)
期限类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)合同期限类型(duration_type)枚举定义部分获得
示例值:fixed_term
|
Contract.Builder |
Contract.Builder.effectiveTime(String effectiveTime)
合同开始日期
示例值:2050-01-01 00:00:00
|
Contract.Builder |
Contract.Builder.employmentId(String employmentId)
雇员 ID,枚举值及详细信息可通过【批量查询雇佣信息】接口查询获得
示例值:6893013238632416776
|
Contract.Builder |
Contract.Builder.expirationTime(String expirationTime)
实际结束日期
示例值:9999-12-31 23:59:59
|
Contract.Builder |
Contract.Builder.firstPartyCompanyId(String firstPartyCompanyId)
甲方, 引用Company的ID,枚举值及详细信息可通过【批量查询公司】接口查询获得
示例值:6892686614112241165
|
Contract.Builder |
Contract.Builder.id(String id)
合同ID
示例值:6919737965274990093
|
static Contract.Builder |
Contract.newBuilder() |
Contract.Builder |
Contract.Builder.personId(String personId)
Person ID,枚举值及详细信息可通过【批量查询个人信息】接口查询获得
示例值:151515151
|
Contract.Builder |
Contract.Builder.signingType(Enum signingType)
签订类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)签订类型(signing_type)枚举定义部分获得
示例值:
|
| 构造器和说明 |
|---|
Contract(Contract.Builder builder) |
Copyright © 2024. All rights reserved.