完善框架结构,解决了validation和saToken的问题
This commit is contained in:
@@ -1,23 +1,57 @@
|
||||
package com.guo.learningprogresstracker.dto.response;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import com.baomidou.mybatisplus.annotation.TableId;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@Data
|
||||
public class TaskInfoResponse {
|
||||
// 任务列表
|
||||
private List<TaskInfo> taskList;
|
||||
private int id;
|
||||
|
||||
/**
|
||||
* 任务编码
|
||||
*/
|
||||
private String taskNum;
|
||||
|
||||
/**
|
||||
* 学习任务的名称
|
||||
*/
|
||||
private String taskName;
|
||||
|
||||
/**
|
||||
* 学习材料的存储URL
|
||||
*/
|
||||
private String materialUrl;
|
||||
|
||||
/**
|
||||
* 用户设置的任务紧急性
|
||||
*/
|
||||
private Integer urgency;
|
||||
|
||||
/**
|
||||
* 用户设置的任务重要性
|
||||
*/
|
||||
private Integer importance;
|
||||
|
||||
/**
|
||||
* 任务的内容难度
|
||||
*/
|
||||
private Integer contentDifficulty;
|
||||
|
||||
/**
|
||||
* 任务的未来价值
|
||||
*/
|
||||
private Integer futureValue;
|
||||
|
||||
/**
|
||||
* 用户对任务的主观优先级
|
||||
*/
|
||||
private Integer subjectivePriority;
|
||||
|
||||
/**
|
||||
* 通过算法计算得出的任务优先级
|
||||
*/
|
||||
private Double calculatedPriority;
|
||||
|
||||
static class TaskInfo{
|
||||
// 任务名称
|
||||
private String taskName;
|
||||
// 任务描述
|
||||
private String taskDescription;
|
||||
// 任务优先级
|
||||
private Integer taskPriority;
|
||||
// 上次该任务学习情况
|
||||
private String lastLearningStatus;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user