feat:1. 修正错误命名 2. 为学习会话详情接口增加taskName字段
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
package com.guo.learningprogresstracker.dto.response;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
@Data
|
||||
public class StudySessionResponse {
|
||||
|
||||
@Schema(description = "会话编号")
|
||||
private String sessionNum;
|
||||
|
||||
@Schema(description = "任务名称")
|
||||
private String taskName;
|
||||
|
||||
@Schema(description = "任务编号")
|
||||
private String taskNum;
|
||||
|
||||
@Schema(description = "学习开始时间")
|
||||
private LocalDateTime startTime;
|
||||
|
||||
@Schema(description = "上次本会话开始时间")
|
||||
private LocalDateTime lastStartTime;
|
||||
|
||||
|
||||
@Schema(description = "学习结束时间")
|
||||
private LocalDateTime endTime;
|
||||
|
||||
|
||||
@Schema(description = "实际使用时间(分钟)")
|
||||
private double actualTime;
|
||||
|
||||
|
||||
@Schema(description = "有效学习时间(分钟)")
|
||||
private double effectiveTime;
|
||||
|
||||
|
||||
@Schema(description = "有效时间比")
|
||||
private Double effectivenessRatio;
|
||||
|
||||
|
||||
@Schema(description = "学习会话的状态(进行中、暂停、已结束)")
|
||||
private String sessionState;
|
||||
}
|
||||
Reference in New Issue
Block a user