mirror of
https://github.com/PlayEdu/PlayEdu
synced 2025-12-26 04:39:26 +08:00
学员真实学习时长记录
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user