mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-23 11:09:29 +08:00
课程管理
This commit is contained in:
28
src/main/java/xyz/playedu/api/event/CourseDestroyEvent.java
Normal file
28
src/main/java/xyz/playedu/api/event/CourseDestroyEvent.java
Normal file
@@ -0,0 +1,28 @@
|
||||
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 at;
|
||||
private Integer adminId;
|
||||
|
||||
public CourseDestroyEvent(Object source, Integer adminId, Integer courseId, Date date) {
|
||||
super(source);
|
||||
this.courseId = courseId;
|
||||
this.at = date;
|
||||
this.adminId = adminId;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user