From 2cf8f4dff8667d54037ab91ded0b1edea9a26d05 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期五, 17 一月 2025 11:46:48 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 business/src/main/java/com/ycl/event/event/TaskLogEvent.java |   62 +++++++++++++++++++++++++++++++
 1 files changed, 62 insertions(+), 0 deletions(-)

diff --git a/business/src/main/java/com/ycl/event/event/TaskLogEvent.java b/business/src/main/java/com/ycl/event/event/TaskLogEvent.java
new file mode 100644
index 0000000..076c8dd
--- /dev/null
+++ b/business/src/main/java/com/ycl/event/event/TaskLogEvent.java
@@ -0,0 +1,62 @@
+package com.ycl.event.event;
+
+import com.ycl.common.enums.business.ProcessLogEventTypeEnum;
+import lombok.Getter;
+import lombok.Setter;
+import org.springframework.context.ApplicationEvent;
+
+
+/**
+ * 杞姙浜嬩欢瀹氫箟
+ *
+ * @author锛歺p
+ * @date锛�2025/1/16 15:04
+ */
+@Getter
+@Setter
+public class TaskLogEvent extends ApplicationEvent {
+
+    /**
+     * 椤圭洰id
+     */
+    private Long projectId;
+
+    /**
+     * 娴佺▼瀹炰緥id
+     */
+    private String processInsId;
+
+    /**
+     * 浠诲姟id
+     */
+    private String taskId;
+
+    /**
+     * 浜嬩欢绫诲瀷
+     */
+    private ProcessLogEventTypeEnum eventType;
+
+    /**
+     * 鍏跺畠鏁版嵁
+     * @see com.ycl.domain.json
+     */
+    private Object otherData;
+
+    /**
+     * 鏋勯��
+     *
+     * @param source 浼爐his鍗冲彲
+     * @param projectId 椤圭洰id
+     * @param processInsId 娴佺▼瀹炰緥id
+     * @param taskId 浠诲姟id
+     * @param otherData 鍏跺畠鏁版嵁
+     */
+    public TaskLogEvent(Object source, Long projectId, String processInsId, String taskId, ProcessLogEventTypeEnum eventType, Object otherData) {
+        super(source);
+        this.projectId = projectId;
+        this.processInsId = processInsId;
+        this.eventType = eventType;
+        this.taskId = taskId;
+        this.otherData = otherData;
+    }
+}

--
Gitblit v1.8.0