类的使用
com.lark.oapi.service.corehr.v1.model.Contract.Builder
使用Contract.Builder的程序包
-
com.lark.oapi.service.corehr.v1.model中Contract.Builder的使用
修饰符和类型方法说明Contract.Builder.contractEndDate(String contractEndDate) 合同结束日期Contract.Builder.contractNumber(String contractNumber) 合同编号Contract.Builder.contractType(Enum contractType) 合同类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)合同类型(contract_type)枚举定义部分获得Contract.Builder.customFields(ObjectFieldData[] customFields) 自定义字段Contract.Builder.durationType(Enum durationType) 期限类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)合同期限类型(duration_type)枚举定义部分获得Contract.Builder.effectiveTime(String effectiveTime) 合同开始日期Contract.Builder.employmentId(String employmentId) 雇员 ID,枚举值及详细信息可通过【批量查询雇佣信息】接口查询获得Contract.Builder.expirationTime(String expirationTime) 实际结束日期Contract.Builder.firstPartyCompanyId(String firstPartyCompanyId) 甲方, 引用Company的ID,枚举值及详细信息可通过【批量查询公司】接口查询获得合同IDstatic Contract.BuilderContract.newBuilder()Person ID,枚举值及详细信息可通过【批量查询个人信息】接口查询获得Contract.Builder.signingType(Enum signingType) 签订类型,枚举值可通过文档[【飞书人事枚举常量】](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/reference/corehr-v1/feishu-people-enum-constant)签订类型(signing_type)枚举定义部分获得