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