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