类 LeaveGrantingRecord.Builder
java.lang.Object
com.lark.oapi.service.corehr.v1.model.LeaveGrantingRecord.Builder
- 封闭类:
LeaveGrantingRecord
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明build()授予记录的创建时间授予记录的创建人,值为创建人的员工 IDeffectiveDate(String effectiveDate) 生效时间employmentId(String employmentId) 员工 IDexpirationDate(String expirationDate) 失效时间(根据休假规则自动计算)授予来源;;可选值有:;- 1: 系统授予;- 2: 手动授予;- 3: 外部系统授予grantingQuantity(String grantingQuantity) 授予数量grantingUnit(Integer grantingUnit) 授予时长单位;;可选值有:;- 1: 天;- 2: 小时假期授予记录 IDleaveTypeId(String leaveTypeId) 假期类型 ID授予原因sectionType(Integer sectionType) 是否参与折算授予记录的更新时间授予记录的更新人,值为更新人的员工 ID
-
构造器详细资料
-
Builder
public Builder()
-
-
方法详细资料
-
id
假期授予记录 ID示例值:6893014062142064135
- 参数:
id-- 返回:
-
employmentId
员工 ID示例值:6893014062142064135
- 参数:
employmentId-- 返回:
-
leaveTypeId
假期类型 ID示例值:6893014062142064135
- 参数:
leaveTypeId-- 返回:
-
grantingQuantity
授予数量示例值:0.5
- 参数:
grantingQuantity-- 返回:
-
grantingUnit
授予时长单位;;可选值有:;- 1: 天;- 2: 小时示例值:1
- 参数:
grantingUnit-- 返回:
-
effectiveDate
生效时间示例值:2022-01-01
- 参数:
effectiveDate-- 返回:
-
expirationDate
失效时间(根据休假规则自动计算)示例值:2022-01-01
- 参数:
expirationDate-- 返回:
-
grantedBy
授予来源;;可选值有:;- 1: 系统授予;- 2: 手动授予;- 3: 外部系统授予示例值:3
- 参数:
grantedBy-- 返回:
-
reason
授予原因示例值:
- 参数:
reason-- 返回:
-
createdAt
授予记录的创建时间示例值:1608725989000
- 参数:
createdAt-- 返回:
-
createdBy
授予记录的创建人,值为创建人的员工 ID示例值:646465654545
- 参数:
createdBy-- 返回:
-
updatedAt
授予记录的更新时间示例值:1608725989000
- 参数:
updatedAt-- 返回:
-
updatedBy
授予记录的更新人,值为更新人的员工 ID示例值:646465654545
- 参数:
updatedBy-- 返回:
-
sectionType
是否参与折算示例值:1
- 参数:
sectionType-- 返回:
-
build
-