| | |
| | | @Getter |
| | | @Setter |
| | | public class TaskLogEvent extends ApplicationEvent { |
| | | |
| | | /** |
| | | * id |
| | | */ |
| | | private Long id; |
| | | /** |
| | | * 用户id |
| | | */ |
| | | private Long userId; |
| | | /** |
| | | * 项目id |
| | | */ |
| | |
| | | * @param taskId 任务id |
| | | * @param otherData 其它数据 |
| | | */ |
| | | public TaskLogEvent(Object source, Long projectId, String processInsId, String taskId, ProcessLogEventTypeEnum eventType, Object otherData) { |
| | | public TaskLogEvent(Object source,Long id,Long userId, Long projectId, String processInsId, String taskId, ProcessLogEventTypeEnum eventType, Object otherData) { |
| | | super(source); |
| | | this.id = id; |
| | | this.userId = userId; |
| | | this.projectId = projectId; |
| | | this.processInsId = processInsId; |
| | | this.eventType = eventType; |