类 CreateLeaveGrantingRecordReqBody.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.CreateLeaveGrantingRecordReqBody.Builder
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()effectiveDate(String effectiveDate) 生效时间employmentId(String employmentId) 员工 IDexpirationDate(String expirationDate) 失效时间externalId(String externalId) 自定义外部 ID,可用于避免数据重复写入(不能超过 64 字符)grantingQuantity(String grantingQuantity) 授予数量grantingUnit(Integer grantingUnit) 授予时长单位;;可选值有:;;- 1: 天;- 2: 小时leaveTypeId(String leaveTypeId) 假期类型 ID,枚举值可通过【获取假期类型列表】接口获取(若假期类型下存在假期子类,此处仅支持传入假期子类的 ID)授予原因sectionType(Integer sectionType) 是否参与折算
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
leaveTypeId
假期类型 ID,枚举值可通过【获取假期类型列表】接口获取(若假期类型下存在假期子类,此处仅支持传入假期子类的 ID)示例值:7111688079785723436
- 参数:
leaveTypeId-- 返回:
-
employmentId
员工 ID示例值:6982509313466189342
- 参数:
employmentId-- 返回:
-
grantingQuantity
授予数量示例值:0.5
- 参数:
grantingQuantity-- 返回:
-
grantingUnit
授予时长单位;;可选值有:;;- 1: 天;- 2: 小时示例值:1
- 参数:
grantingUnit-- 返回:
-
effectiveDate
生效时间示例值:2022-01-01
- 参数:
effectiveDate-- 返回:
-
expirationDate
失效时间示例值:2022-01-01
- 参数:
expirationDate-- 返回:
-
sectionType
是否参与折算示例值:1
- 参数:
sectionType-- 返回:
-
reason
授予原因示例值:
- 参数:
reason-- 返回:
-
externalId
自定义外部 ID,可用于避免数据重复写入(不能超过 64 字符)示例值:111
- 参数:
externalId-- 返回:
-
build
-