mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 12:49:28 +08:00
优化event的时间属性 && 新增线上课章节和课时的排序编辑apic
This commit is contained in:
@@ -15,13 +15,13 @@ import java.util.Date;
|
||||
public class CourseDestroyEvent extends ApplicationEvent {
|
||||
|
||||
private Integer courseId;
|
||||
private Date at;
|
||||
private Date createdAt;
|
||||
private Integer adminId;
|
||||
|
||||
public CourseDestroyEvent(Object source, Integer adminId, Integer courseId, Date date) {
|
||||
public CourseDestroyEvent(Object source, Integer adminId, Integer courseId) {
|
||||
super(source);
|
||||
this.courseId = courseId;
|
||||
this.at = date;
|
||||
this.createdAt = new Date();
|
||||
this.adminId = adminId;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user