package com.ruoyi.system.event;
|
|
import java.util.List;
|
|
/**
|
* 任务状态变更事件
|
*
|
* @author ruoyi
|
* @date 2025-10-25
|
*/
|
public class TaskStatusChangedEvent extends TaskEvent {
|
|
private static final long serialVersionUID = 1L;
|
|
/** 旧状态 */
|
private String oldStatus;
|
|
/** 新状态 */
|
private String newStatus;
|
|
/** 旧状态描述 */
|
private String oldStatusDesc;
|
|
/** 新状态描述 */
|
private String newStatusDesc;
|
|
/** 执行人ID列表 */
|
private List<Long> assigneeIds;
|
|
/** 创建人ID */
|
private Long creatorId;
|
|
public TaskStatusChangedEvent(Object source, Long taskId, String taskCode,
|
String oldStatus, String newStatus,
|
String oldStatusDesc, String newStatusDesc,
|
List<Long> assigneeIds, Long creatorId) {
|
super(source, taskId, taskCode);
|
this.oldStatus = oldStatus;
|
this.newStatus = newStatus;
|
this.oldStatusDesc = oldStatusDesc;
|
this.newStatusDesc = newStatusDesc;
|
this.assigneeIds = assigneeIds;
|
this.creatorId = creatorId;
|
}
|
|
public String getOldStatus() {
|
return oldStatus;
|
}
|
|
public void setOldStatus(String oldStatus) {
|
this.oldStatus = oldStatus;
|
}
|
|
public String getNewStatus() {
|
return newStatus;
|
}
|
|
public void setNewStatus(String newStatus) {
|
this.newStatus = newStatus;
|
}
|
|
public String getOldStatusDesc() {
|
return oldStatusDesc;
|
}
|
|
public void setOldStatusDesc(String oldStatusDesc) {
|
this.oldStatusDesc = oldStatusDesc;
|
}
|
|
public String getNewStatusDesc() {
|
return newStatusDesc;
|
}
|
|
public void setNewStatusDesc(String newStatusDesc) {
|
this.newStatusDesc = newStatusDesc;
|
}
|
|
public List<Long> getAssigneeIds() {
|
return assigneeIds;
|
}
|
|
public void setAssigneeIds(List<Long> assigneeIds) {
|
this.assigneeIds = assigneeIds;
|
}
|
|
public Long getCreatorId() {
|
return creatorId;
|
}
|
|
public void setCreatorId(Long creatorId) {
|
this.creatorId = creatorId;
|
}
|
}
|