wlzboy
6 天以前 09e6dc3fb7266620fafb5e341808a8eb36e080a1
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package com.ruoyi.system.event;
 
import org.springframework.context.ApplicationEvent;
 
/**
 * 任务事件基类
 * 
 * @author ruoyi
 * @date 2025-10-25
 */
public abstract class TaskEvent extends ApplicationEvent {
    
    private static final long serialVersionUID = 1L;
    
    /** 任务ID */
    private Long taskId;
    
    /** 任务编号 */
    private String taskCode;
    
    /** 操作人ID */
    private Long operatorId;
    
    /** 操作人姓名 */
    private String operatorName;
 
    public TaskEvent(Object source, Long taskId, String taskCode) {
        super(source);
        this.taskId = taskId;
        this.taskCode = taskCode;
    }
 
    public TaskEvent(Object source, Long taskId, String taskCode, Long operatorId, String operatorName) {
        super(source);
        this.taskId = taskId;
        this.taskCode = taskCode;
        this.operatorId = operatorId;
        this.operatorName = operatorName;
    }
 
    public Long getTaskId() {
        return taskId;
    }
 
    public void setTaskId(Long taskId) {
        this.taskId = taskId;
    }
 
    public String getTaskCode() {
        return taskCode;
    }
 
    public void setTaskCode(String taskCode) {
        this.taskCode = taskCode;
    }
 
    public Long getOperatorId() {
        return operatorId;
    }
 
    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }
 
    public String getOperatorName() {
        return operatorName;
    }
 
    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }
}