学员真实学习时长记录

This commit is contained in:
none
2023-03-22 14:46:49 +08:00
parent 79297f7264
commit 39f46d5ace
16 changed files with 381 additions and 36 deletions

View File

@@ -0,0 +1,31 @@
package xyz.playedu.api.event;
import lombok.Getter;
import lombok.Setter;
import org.springframework.context.ApplicationEvent;
import java.util.Date;
/**
* @Author 杭州白书科技有限公司
* @create 2023/3/22 14:14
*/
@Setter
@Getter
public class UserLearnCourseUpdateEvent extends ApplicationEvent {
private Integer userId;
private Integer courseId;
private Integer hourId;
private Long startAt;
private Long endAt;
public UserLearnCourseUpdateEvent(Object source, Integer userId, Integer courseId, Integer hourId, Long startTime, Long endTime) {
super(source);
this.userId = userId;
this.courseId = courseId;
this.hourId = hourId;
this.startAt = startTime;
this.endAt = endTime;
}
}