1. 开始或继续一个【学习会话】API 2. 暂停一个【学习会话】API 3.通过sessionId获取一个【学习会话】API
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
package com.guo.learningprogresstracker.dto.response;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class StudySessionResponce {
|
||||
|
||||
private Integer sessionId;
|
||||
|
||||
private Integer taskId;
|
||||
|
||||
|
||||
@Schema(description = "学习开始时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Schema(description = "上次本会话开始时间")
|
||||
private LocalDateTime lastStartTime;
|
||||
|
||||
|
||||
@Schema(description = "学习结束时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
|
||||
@Schema(description = "实际使用时间(分钟)")
|
||||
private Integer actualTime;
|
||||
|
||||
|
||||
@Schema(description = "有效学习时间(分钟)")
|
||||
private Integer effectiveTime;
|
||||
|
||||
|
||||
@Schema(description = "有效时间比")
|
||||
private Double effectivenessRatio;
|
||||
|
||||
|
||||
@Schema(description = "学习会话的状态(进行中、暂停、已结束)")
|
||||
private String sessionState;
|
||||
}
|
||||
Reference in New Issue
Block a user