mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-25 14:22:47 +08:00
26 lines
521 B
Java
26 lines
521 B
Java
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 13:51
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
public class UserDestroyEvent extends ApplicationEvent {
|
|
|
|
private Integer userId;
|
|
private Date createdAt;
|
|
|
|
public UserDestroyEvent(Object source, Integer userId) {
|
|
super(source);
|
|
this.userId = userId;
|
|
this.createdAt = new Date();
|
|
}
|
|
}
|