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;
|
}
|
}
|