|
|
|
|
@ -1,96 +1,104 @@
|
|
|
|
|
package com.mindskip.xzs.viewmodel.admin.dashboard;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* @version 3.5.0
|
|
|
|
|
* @description: 管理员后台首页的视图模型,包含考试、试题、用户行为等数据。
|
|
|
|
|
* Copyright (C), 2020-2021, 武汉思维跳跃科技有限公司
|
|
|
|
|
* @date 2021/12/25 9:45
|
|
|
|
|
*/
|
|
|
|
|
// 定义一个 IndexVM 类,用于在管理后台展示仪表盘数据
|
|
|
|
|
public class IndexVM {
|
|
|
|
|
// 考试卷数
|
|
|
|
|
private Integer examPaperCount;
|
|
|
|
|
// 试题数
|
|
|
|
|
private Integer questionCount;
|
|
|
|
|
// 已做的考试卷数
|
|
|
|
|
private Integer doExamPaperCount;
|
|
|
|
|
// 已做的试题数
|
|
|
|
|
private Integer doQuestionCount;
|
|
|
|
|
// 每月用户行为数据
|
|
|
|
|
private List<Integer> mothDayUserActionValue;
|
|
|
|
|
// 每月做题数
|
|
|
|
|
private List<Integer> mothDayDoExamQuestionValue;
|
|
|
|
|
// 每月的文本描述(如活动、提示等)
|
|
|
|
|
private List<String> mothDayText;
|
|
|
|
|
|
|
|
|
|
// 获取考试卷数
|
|
|
|
|
public Integer getExamPaperCount() {
|
|
|
|
|
return examPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置考试卷数
|
|
|
|
|
public void setExamPaperCount(Integer examPaperCount) {
|
|
|
|
|
this.examPaperCount = examPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取试题数
|
|
|
|
|
public Integer getQuestionCount() {
|
|
|
|
|
return questionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置试题数
|
|
|
|
|
public void setQuestionCount(Integer questionCount) {
|
|
|
|
|
this.questionCount = questionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取已做的考试卷数
|
|
|
|
|
public Integer getDoExamPaperCount() {
|
|
|
|
|
return doExamPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置已做的考试卷数
|
|
|
|
|
public void setDoExamPaperCount(Integer doExamPaperCount) {
|
|
|
|
|
this.doExamPaperCount = doExamPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取已做的试题数
|
|
|
|
|
public Integer getDoQuestionCount() {
|
|
|
|
|
return doQuestionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置已做的试题数
|
|
|
|
|
public void setDoQuestionCount(Integer doQuestionCount) {
|
|
|
|
|
this.doQuestionCount = doQuestionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取每月用户行为数据
|
|
|
|
|
public List<Integer> getMothDayUserActionValue() {
|
|
|
|
|
return mothDayUserActionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置每月用户行为数据
|
|
|
|
|
public void setMothDayUserActionValue(List<Integer> mothDayUserActionValue) {
|
|
|
|
|
this.mothDayUserActionValue = mothDayUserActionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取每月做题数数据
|
|
|
|
|
public List<Integer> getMothDayDoExamQuestionValue() {
|
|
|
|
|
return mothDayDoExamQuestionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置每月做题数数据
|
|
|
|
|
public void setMothDayDoExamQuestionValue(List<Integer> mothDayDoExamQuestionValue) {
|
|
|
|
|
this.mothDayDoExamQuestionValue = mothDayDoExamQuestionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取每月的文本描述
|
|
|
|
|
public List<String> getMothDayText() {
|
|
|
|
|
return mothDayText;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置每月的文本描述
|
|
|
|
|
public void setMothDayText(List<String> mothDayText) {
|
|
|
|
|
this.mothDayText = mothDayText;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 试卷总数
|
|
|
|
|
private Integer examPaperCount;
|
|
|
|
|
|
|
|
|
|
// 问题总数
|
|
|
|
|
private Integer questionCount;
|
|
|
|
|
|
|
|
|
|
// 已做的试卷数量
|
|
|
|
|
private Integer doExamPaperCount;
|
|
|
|
|
|
|
|
|
|
// 已做的问题数量
|
|
|
|
|
private Integer doQuestionCount;
|
|
|
|
|
|
|
|
|
|
// 存储一个月内每天用户行为的统计值,数据类型为整数列表
|
|
|
|
|
private List<Integer> mothDayUserActionValue;
|
|
|
|
|
|
|
|
|
|
// 存储一个月内每天做题的统计值,数据类型为整数列表
|
|
|
|
|
private List<Integer> mothDayDoExamQuestionValue;
|
|
|
|
|
|
|
|
|
|
// 存储一个月内每天的文本信息,数据类型为字符串列表(可能用于记录每日的提示、日志等)
|
|
|
|
|
private List<String> mothDayText;
|
|
|
|
|
|
|
|
|
|
// 获取试卷总数
|
|
|
|
|
public Integer getExamPaperCount() {
|
|
|
|
|
return examPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置试卷总数
|
|
|
|
|
public void setExamPaperCount(Integer examPaperCount) {
|
|
|
|
|
this.examPaperCount = examPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取问题总数
|
|
|
|
|
public Integer getQuestionCount() {
|
|
|
|
|
return questionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置问题总数
|
|
|
|
|
public void setQuestionCount(Integer questionCount) {
|
|
|
|
|
this.questionCount = questionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取已做的试卷数量
|
|
|
|
|
public Integer getDoExamPaperCount() {
|
|
|
|
|
return doExamPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置已做的试卷数量
|
|
|
|
|
public void setDoExamPaperCount(Integer doExamPaperCount) {
|
|
|
|
|
this.doExamPaperCount = doExamPaperCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取已做的问题数量
|
|
|
|
|
public Integer getDoQuestionCount() {
|
|
|
|
|
return doQuestionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置已做的问题数量
|
|
|
|
|
public void setDoQuestionCount(Integer doQuestionCount) {
|
|
|
|
|
this.doQuestionCount = doQuestionCount;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取一个月内每天用户行为的统计值
|
|
|
|
|
public List<Integer> getMothDayUserActionValue() {
|
|
|
|
|
return mothDayUserActionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置一个月内每天用户行为的统计值
|
|
|
|
|
public void setMothDayUserActionValue(List<Integer> mothDayUserActionValue) {
|
|
|
|
|
this.mothDayUserActionValue = mothDayUserActionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取一个月内每天做题的统计值
|
|
|
|
|
public List<Integer> getMothDayDoExamQuestionValue() {
|
|
|
|
|
return mothDayDoExamQuestionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置一个月内每天做题的统计值
|
|
|
|
|
public void setMothDayDoExamQuestionValue(List<Integer> mothDayDoExamQuestionValue) {
|
|
|
|
|
this.mothDayDoExamQuestionValue = mothDayDoExamQuestionValue;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 获取一个月内每天的文本信息
|
|
|
|
|
public List<String> getMothDayText() {
|
|
|
|
|
return mothDayText;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 设置一个月内每天的文本信息
|
|
|
|
|
public void setMothDayText(List<String> mothDayText) {
|
|
|
|
|
this.mothDayText = mothDayText;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|