public static class EmployeeDomainEventData.Builder extends Object
| 构造器和说明 |
|---|
Builder() |
| 限定符和类型 | 方法和说明 |
|---|---|
EmployeeDomainEventData.Builder |
aggEntity(String aggEntity)
聚合实体标识,如:;- job_data: 任职信息;- person:个人信息;- employment:雇佣信息
示例值:person
|
EmployeeDomainEventData.Builder |
aggEntityId(String aggEntityId)
聚合实体 ID,父对象 ID,如:;- person:个人信息 ID;- employment:雇佣 ID
示例值:7291273149417948716
|
EmployeeDomainEventData |
build() |
EmployeeDomainEventData.Builder |
entity(String entity)
变更实体标识,如:;- job_data: 任职信息;- person:个人信息;- employment:雇佣信息;- email: 邮箱;- person_name:姓名
示例值:email
|
EmployeeDomainEventData.Builder |
fields(String[] fields)
字段标识,ApiName
示例值:
|
EmployeeDomainEventData.Builder |
id(String id)
变更实体的 ID;- 雇佣ID,个人信息ID;- 特殊:; -
任职记录版本ID:请使用[批量查询员工任职](https://open.feishu.cn/document/uAjLw4CM/ukTMukTMukTM/corehr-v2/employees-job_data/batch_get)获取任职记录,对照
version_id 字段查找对象
示例值:7291573441955235372
|
EmployeeDomainEventData.Builder |
optType(EmployeeDomainEventDataOptTypeEnum optType)
操作类型
示例值:1
|
EmployeeDomainEventData.Builder |
optType(Integer optType)
操作类型
示例值:1
|
public EmployeeDomainEventData.Builder id(String id)
示例值:7291573441955235372
id - public EmployeeDomainEventData.Builder entity(String entity)
示例值:email
entity - public EmployeeDomainEventData.Builder aggEntity(String aggEntity)
示例值:person
aggEntity - public EmployeeDomainEventData.Builder aggEntityId(String aggEntityId)
示例值:7291273149417948716
aggEntityId - public EmployeeDomainEventData.Builder optType(Integer optType)
示例值:1
optType - public EmployeeDomainEventData.Builder optType(EmployeeDomainEventDataOptTypeEnum optType)
示例值:1
optType - EmployeeDomainEventDataOptTypeEnumpublic EmployeeDomainEventData.Builder fields(String[] fields)
示例值:
fields - public EmployeeDomainEventData build()
Copyright © 2026. All rights reserved.