部门删除event

This commit is contained in:
none
2023-02-23 15:30:55 +08:00
parent e7d335eb88
commit aa5d3a21d8
6 changed files with 70 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
package xyz.playedu.api.event;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
import java.util.Date;
/**
* @Author 杭州白书科技有限公司
* @create 2023/2/23 15:27
*/
@Getter
@Setter
public class DepartmentDestroyEvent extends ApplicationEvent {
private Integer depId;
private Date at;
public DepartmentDestroyEvent(Object source, Integer depId, Date date) {
super(source);
this.depId = depId;
this.at = date;
}
}