mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-25 05:42:42 +08:00
33 lines
665 B
Java
33 lines
665 B
Java
/**
|
|
* This file is part of the PlayEdu.
|
|
* (c) 杭州白书科技有限公司
|
|
*/
|
|
package xyz.playedu.api.event;
|
|
|
|
import lombok.Getter;
|
|
import lombok.Setter;
|
|
|
|
import org.springframework.context.ApplicationEvent;
|
|
|
|
import java.util.Date;
|
|
|
|
/**
|
|
* @Author 杭州白书科技有限公司
|
|
*
|
|
* @create 2023/3/21 14:31
|
|
*/
|
|
@Setter
|
|
@Getter
|
|
public class UserLogoutEvent extends ApplicationEvent {
|
|
private Integer userId;
|
|
private String jti;
|
|
private Date createdAt;
|
|
|
|
public UserLogoutEvent(Object source, Integer userId, String jti) {
|
|
super(source);
|
|
this.userId = userId;
|
|
this.jti = jti;
|
|
this.createdAt = new Date();
|
|
}
|
|
}
|