feat: 新增复习耗时统计与按任务汇总
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
package com.guo.learningprogresstracker.dto.request;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import lombok.Data;
|
||||
|
||||
import java.time.LocalDateTime;
|
||||
|
||||
/**
|
||||
* 用户回忆对比请求
|
||||
*/
|
||||
@@ -14,4 +17,15 @@ public class RecallCompareRequest {
|
||||
|
||||
/** 复习起点节点路径(以 / 分隔),null 为任务维度 */
|
||||
private String focusPath;
|
||||
|
||||
/** 本次回忆复习开始时刻(本地时间),复习-07 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||
private LocalDateTime reviewStartedAt;
|
||||
|
||||
/** 最近一次交互时刻(本地时间),供服务端按 5 分钟空闲截断,复习-07 */
|
||||
@JsonFormat(pattern = "yyyy-MM-dd'T'HH:mm:ss")
|
||||
private LocalDateTime reviewLastInteractionAt;
|
||||
|
||||
/** 前端按 5 分钟空闲截断后的净耗时(秒),复习-07 */
|
||||
private Integer reviewDurationSeconds;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user