wlzboy
2025-10-25 fefb649f462ae6b19dd8f0f6bc6096619db9a82e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
package com.ruoyi.system.event;
 
import java.util.List;
 
/**
 * 任务创建事件
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public class TaskCreatedEvent extends TaskEvent {
    
    private static final long serialVersionUID = 1L;
    
    /** 任务类型 */
    private String taskType;
    
    /** 创建人ID */
    private Long creatorId;
    
    /** 创建人姓名 */
    private String creatorName;
 
    public TaskCreatedEvent(Object source, Long taskId, String taskCode, String taskType, 
                           Long creatorId, String creatorName) {
        super(source, taskId, taskCode, creatorId, creatorName);
        this.taskType = taskType;
        this.creatorId = creatorId;
        this.creatorName = creatorName;
    }
 
    public String getTaskType() {
        return taskType;
    }
 
    public void setTaskType(String taskType) {
        this.taskType = taskType;
    }
 
    public Long getCreatorId() {
        return creatorId;
    }
 
    public void setCreatorId(Long creatorId) {
        this.creatorId = creatorId;
    }
 
    public String getCreatorName() {
        return creatorName;
    }
 
    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }
}