feat:1. 修正错误命名 2. 为学习会话详情接口增加taskName字段

This commit is contained in:
2025-06-29 16:48:31 +08:00
parent aa9a278108
commit 5f9e01cf14
10 changed files with 106 additions and 36 deletions
@@ -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;
}