mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-06-25 13:54:56 +08:00
29 lines
710 B
Java
29 lines
710 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/26 17:42
|
|
*/
|
|
@Getter
|
|
@Setter
|
|
public class CourseChapterDestroyEvent extends ApplicationEvent {
|
|
private Integer adminId;
|
|
private Integer courseId;
|
|
private Integer chapterId;
|
|
private Date createdAt;
|
|
|
|
public CourseChapterDestroyEvent(Object source, Integer adminId, Integer courseId, Integer chapterId) {
|
|
super(source);
|
|
this.adminId = adminId;
|
|
this.courseId = courseId;
|
|
this.chapterId = chapterId;
|
|
this.createdAt = new Date();
|
|
}
|
|
}
|