优化
This commit is contained in:
parent
b8bfbbe71d
commit
b650bae481
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.dashboard;
|
package com.mindskip.xzs.viewmodel.admin.dashboard;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class IndexVM {
|
public class IndexVM {
|
||||||
private Integer examPaperCount;
|
private Integer examPaperCount;
|
||||||
private Integer questionCount;
|
private Integer questionCount;
|
||||||
@ -13,4 +13,60 @@ public class IndexVM {
|
|||||||
private List<Integer> mothDayUserActionValue;
|
private List<Integer> mothDayUserActionValue;
|
||||||
private List<Integer> mothDayDoExamQuestionValue;
|
private List<Integer> mothDayDoExamQuestionValue;
|
||||||
private List<String> mothDayText;
|
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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.education;
|
package com.mindskip.xzs.viewmodel.admin.education;
|
||||||
|
|
||||||
import com.mindskip.xzs.viewmodel.BaseVM;
|
import com.mindskip.xzs.viewmodel.BaseVM;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class SubjectEditRequestVM extends BaseVM {
|
public class SubjectEditRequestVM extends BaseVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -20,4 +20,35 @@ public class SubjectEditRequestVM extends BaseVM {
|
|||||||
@NotBlank
|
@NotBlank
|
||||||
private String levelName;
|
private String levelName;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(Integer level) {
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLevelName() {
|
||||||
|
return levelName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevelName(String levelName) {
|
||||||
|
this.levelName = levelName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,26 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.education;
|
package com.mindskip.xzs.viewmodel.admin.education;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class SubjectPageRequestVM extends BasePage {
|
public class SubjectPageRequestVM extends BasePage {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Integer level;
|
private Integer level;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(Integer level) {
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.education;
|
package com.mindskip.xzs.viewmodel.admin.education;
|
||||||
|
|
||||||
import com.mindskip.xzs.viewmodel.BaseVM;
|
import com.mindskip.xzs.viewmodel.BaseVM;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class SubjectResponseVM extends BaseVM {
|
public class SubjectResponseVM extends BaseVM {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
@ -12,4 +12,36 @@ public class SubjectResponseVM extends BaseVM {
|
|||||||
private Integer level;
|
private Integer level;
|
||||||
|
|
||||||
private String levelName;
|
private String levelName;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(Integer level) {
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLevelName() {
|
||||||
|
return levelName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevelName(String levelName) {
|
||||||
|
this.levelName = levelName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.exam;
|
package com.mindskip.xzs.viewmodel.admin.exam;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
@ -8,7 +8,7 @@ import javax.validation.constraints.NotNull;
|
|||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class ExamPaperEditRequestVM {
|
public class ExamPaperEditRequestVM {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@NotNull
|
@NotNull
|
||||||
@ -30,4 +30,75 @@ public class ExamPaperEditRequestVM {
|
|||||||
|
|
||||||
private String score;
|
private String score;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(Integer level) {
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSubjectId() {
|
||||||
|
return subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubjectId(Integer subjectId) {
|
||||||
|
this.subjectId = subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getPaperType() {
|
||||||
|
return paperType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPaperType(Integer paperType) {
|
||||||
|
this.paperType = paperType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSuggestTime() {
|
||||||
|
return suggestTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSuggestTime(Integer suggestTime) {
|
||||||
|
this.suggestTime = suggestTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<String> getLimitDateTime() {
|
||||||
|
return limitDateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLimitDateTime(List<String> limitDateTime) {
|
||||||
|
this.limitDateTime = limitDateTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<ExamPaperTitleItemVM> getTitleItems() {
|
||||||
|
return titleItems;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitleItems(List<ExamPaperTitleItemVM> titleItems) {
|
||||||
|
this.titleItems = titleItems;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getScore() {
|
||||||
|
return score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setScore(String score) {
|
||||||
|
this.score = score;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.exam;
|
package com.mindskip.xzs.viewmodel.admin.exam;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class ExamPaperPageRequestVM extends BasePage {
|
public class ExamPaperPageRequestVM extends BasePage {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -11,4 +11,44 @@ public class ExamPaperPageRequestVM extends BasePage {
|
|||||||
private Integer level;
|
private Integer level;
|
||||||
private Integer paperType;
|
private Integer paperType;
|
||||||
private Integer taskExamId;
|
private Integer taskExamId;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSubjectId() {
|
||||||
|
return subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubjectId(Integer subjectId) {
|
||||||
|
this.subjectId = subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(Integer level) {
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getPaperType() {
|
||||||
|
return paperType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPaperType(Integer paperType) {
|
||||||
|
this.paperType = paperType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getTaskExamId() {
|
||||||
|
return taskExamId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTaskExamId(Integer taskExamId) {
|
||||||
|
this.taskExamId = taskExamId;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.exam;
|
package com.mindskip.xzs.viewmodel.admin.exam;
|
||||||
|
|
||||||
import com.mindskip.xzs.viewmodel.admin.question.QuestionEditRequestVM;
|
import com.mindskip.xzs.viewmodel.admin.question.QuestionEditRequestVM;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class ExamPaperTitleItemVM {
|
public class ExamPaperTitleItemVM {
|
||||||
|
|
||||||
@NotBlank(message = "标题内容不能为空")
|
@NotBlank(message = "标题内容不能为空")
|
||||||
@ -17,4 +17,20 @@ public class ExamPaperTitleItemVM {
|
|||||||
@Size(min = 1,message = "请添加题目")
|
@Size(min = 1,message = "请添加题目")
|
||||||
@Valid
|
@Valid
|
||||||
private List<QuestionEditRequestVM> questionItems;
|
private List<QuestionEditRequestVM> questionItems;
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<QuestionEditRequestVM> getQuestionItems() {
|
||||||
|
return questionItems;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuestionItems(List<QuestionEditRequestVM> questionItems) {
|
||||||
|
this.questionItems = questionItems;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.exam;
|
package com.mindskip.xzs.viewmodel.admin.exam;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class ExamResponseVM {
|
public class ExamResponseVM {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
@ -21,4 +21,76 @@ public class ExamResponseVM {
|
|||||||
private Integer paperType;
|
private Integer paperType;
|
||||||
|
|
||||||
private Integer frameTextContentId;
|
private Integer frameTextContentId;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getQuestionCount() {
|
||||||
|
return questionCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuestionCount(Integer questionCount) {
|
||||||
|
this.questionCount = questionCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getScore() {
|
||||||
|
return score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setScore(Integer score) {
|
||||||
|
this.score = score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getCreateUser() {
|
||||||
|
return createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateUser(Integer createUser) {
|
||||||
|
this.createUser = createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSubjectId() {
|
||||||
|
return subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubjectId(Integer subjectId) {
|
||||||
|
this.subjectId = subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getPaperType() {
|
||||||
|
return paperType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPaperType(Integer paperType) {
|
||||||
|
this.paperType = paperType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getFrameTextContentId() {
|
||||||
|
return frameTextContentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setFrameTextContentId(Integer frameTextContentId) {
|
||||||
|
this.frameTextContentId = frameTextContentId;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.file;
|
package com.mindskip.xzs.viewmodel.admin.file;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class UeditorConfigVM {
|
public class UeditorConfigVM {
|
||||||
private String imageActionName;
|
private String imageActionName;
|
||||||
private String imageFieldName;
|
private String imageFieldName;
|
||||||
@ -15,4 +15,76 @@ public class UeditorConfigVM {
|
|||||||
private String imageInsertAlign;
|
private String imageInsertAlign;
|
||||||
private String imageUrlPrefix;
|
private String imageUrlPrefix;
|
||||||
private String imagePathFormat;
|
private String imagePathFormat;
|
||||||
|
|
||||||
|
public String getImageActionName() {
|
||||||
|
return imageActionName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageActionName(String imageActionName) {
|
||||||
|
this.imageActionName = imageActionName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getImageFieldName() {
|
||||||
|
return imageFieldName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageFieldName(String imageFieldName) {
|
||||||
|
this.imageFieldName = imageFieldName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getImageMaxSize() {
|
||||||
|
return imageMaxSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageMaxSize(Long imageMaxSize) {
|
||||||
|
this.imageMaxSize = imageMaxSize;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<String> getImageAllowFiles() {
|
||||||
|
return imageAllowFiles;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageAllowFiles(List<String> imageAllowFiles) {
|
||||||
|
this.imageAllowFiles = imageAllowFiles;
|
||||||
|
}
|
||||||
|
|
||||||
|
public boolean isImageCompressEnable() {
|
||||||
|
return imageCompressEnable;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageCompressEnable(boolean imageCompressEnable) {
|
||||||
|
this.imageCompressEnable = imageCompressEnable;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getImageCompressBorder() {
|
||||||
|
return imageCompressBorder;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageCompressBorder(Integer imageCompressBorder) {
|
||||||
|
this.imageCompressBorder = imageCompressBorder;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getImageInsertAlign() {
|
||||||
|
return imageInsertAlign;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageInsertAlign(String imageInsertAlign) {
|
||||||
|
this.imageInsertAlign = imageInsertAlign;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getImageUrlPrefix() {
|
||||||
|
return imageUrlPrefix;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImageUrlPrefix(String imageUrlPrefix) {
|
||||||
|
this.imageUrlPrefix = imageUrlPrefix;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getImagePathFormat() {
|
||||||
|
return imagePathFormat;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImagePathFormat(String imagePathFormat) {
|
||||||
|
this.imagePathFormat = imagePathFormat;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.file;
|
package com.mindskip.xzs.viewmodel.admin.file;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class UploadResultVM {
|
public class UploadResultVM {
|
||||||
private String original;
|
private String original;
|
||||||
private String name;
|
private String name;
|
||||||
@ -10,4 +10,52 @@ public class UploadResultVM {
|
|||||||
private Long size;
|
private Long size;
|
||||||
private String type;
|
private String type;
|
||||||
private String state;
|
private String state;
|
||||||
|
|
||||||
|
public String getOriginal() {
|
||||||
|
return original;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setOriginal(String original) {
|
||||||
|
this.original = original;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getName() {
|
||||||
|
return name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setName(String name) {
|
||||||
|
this.name = name;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUrl() {
|
||||||
|
return url;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUrl(String url) {
|
||||||
|
this.url = url;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getSize() {
|
||||||
|
return size;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSize(Long size) {
|
||||||
|
this.size = size;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getType() {
|
||||||
|
return type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setType(String type) {
|
||||||
|
this.type = type;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getState() {
|
||||||
|
return state;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setState(String state) {
|
||||||
|
this.state = state;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.message;
|
package com.mindskip.xzs.viewmodel.admin.message;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class MessagePageRequestVM extends BasePage {
|
public class MessagePageRequestVM extends BasePage {
|
||||||
private String sendUserName;
|
private String sendUserName;
|
||||||
|
|
||||||
|
public String getSendUserName() {
|
||||||
|
return sendUserName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSendUserName(String sendUserName) {
|
||||||
|
this.sendUserName = sendUserName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.message;
|
package com.mindskip.xzs.viewmodel.admin.message;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class MessageResponseVM {
|
public class MessageResponseVM {
|
||||||
private Integer id;
|
private Integer id;
|
||||||
|
|
||||||
@ -22,4 +22,67 @@ public class MessageResponseVM {
|
|||||||
|
|
||||||
private String createTime;
|
private String createTime;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSendUserName() {
|
||||||
|
return sendUserName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSendUserName(String sendUserName) {
|
||||||
|
this.sendUserName = sendUserName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getReceives() {
|
||||||
|
return receives;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReceives(String receives) {
|
||||||
|
this.receives = receives;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getReceiveUserCount() {
|
||||||
|
return receiveUserCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReceiveUserCount(Integer receiveUserCount) {
|
||||||
|
this.receiveUserCount = receiveUserCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getReadCount() {
|
||||||
|
return readCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReadCount(Integer readCount) {
|
||||||
|
this.readCount = readCount;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.message;
|
package com.mindskip.xzs.viewmodel.admin.message;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class MessageSendVM {
|
public class MessageSendVM {
|
||||||
|
|
||||||
@NotBlank
|
@NotBlank
|
||||||
@ -16,4 +16,28 @@ public class MessageSendVM {
|
|||||||
|
|
||||||
@Size(min = 1, message = "接收人不能为空")
|
@Size(min = 1, message = "接收人不能为空")
|
||||||
private List<Integer> receiveUserIds;
|
private List<Integer> receiveUserIds;
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Integer> getReceiveUserIds() {
|
||||||
|
return receiveUserIds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setReceiveUserIds(List<Integer> receiveUserIds) {
|
||||||
|
this.receiveUserIds = receiveUserIds;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.question;
|
package com.mindskip.xzs.viewmodel.admin.question;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class QuestionEditItemVM {
|
public class QuestionEditItemVM {
|
||||||
@NotBlank
|
@NotBlank
|
||||||
private String prefix;
|
private String prefix;
|
||||||
@ -12,4 +12,28 @@ public class QuestionEditItemVM {
|
|||||||
private String content;
|
private String content;
|
||||||
|
|
||||||
private String score;
|
private String score;
|
||||||
|
|
||||||
|
public String getPrefix() {
|
||||||
|
return prefix;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPrefix(String prefix) {
|
||||||
|
this.prefix = prefix;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getScore() {
|
||||||
|
return score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setScore(String score) {
|
||||||
|
this.score = score;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.question;
|
package com.mindskip.xzs.viewmodel.admin.question;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
import org.hibernate.validator.constraints.Range;
|
import org.hibernate.validator.constraints.Range;
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.*;
|
import javax.validation.constraints.*;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class QuestionEditRequestVM {
|
public class QuestionEditRequestVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -35,4 +35,100 @@ public class QuestionEditRequestVM {
|
|||||||
private Integer difficult;
|
private Integer difficult;
|
||||||
|
|
||||||
private Integer itemOrder;
|
private Integer itemOrder;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getQuestionType() {
|
||||||
|
return questionType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuestionType(Integer questionType) {
|
||||||
|
this.questionType = questionType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSubjectId() {
|
||||||
|
return subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubjectId(Integer subjectId) {
|
||||||
|
this.subjectId = subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getGradeLevel() {
|
||||||
|
return gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGradeLevel(Integer gradeLevel) {
|
||||||
|
this.gradeLevel = gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<QuestionEditItemVM> getItems() {
|
||||||
|
return items;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setItems(List<QuestionEditItemVM> items) {
|
||||||
|
this.items = items;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAnalyze() {
|
||||||
|
return analyze;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAnalyze(String analyze) {
|
||||||
|
this.analyze = analyze;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<String> getCorrectArray() {
|
||||||
|
return correctArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCorrectArray(List<String> correctArray) {
|
||||||
|
this.correctArray = correctArray;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCorrect() {
|
||||||
|
return correct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCorrect(String correct) {
|
||||||
|
this.correct = correct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getScore() {
|
||||||
|
return score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setScore(String score) {
|
||||||
|
this.score = score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getDifficult() {
|
||||||
|
return difficult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDifficult(Integer difficult) {
|
||||||
|
this.difficult = difficult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getItemOrder() {
|
||||||
|
return itemOrder;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setItemOrder(Integer itemOrder) {
|
||||||
|
this.itemOrder = itemOrder;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,13 +1,45 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.question;
|
package com.mindskip.xzs.viewmodel.admin.question;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class QuestionPageRequestVM extends BasePage {
|
public class QuestionPageRequestVM extends BasePage {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
private Integer level;
|
private Integer level;
|
||||||
private Integer subjectId;
|
private Integer subjectId;
|
||||||
private Integer questionType;
|
private Integer questionType;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getLevel() {
|
||||||
|
return level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLevel(Integer level) {
|
||||||
|
this.level = level;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSubjectId() {
|
||||||
|
return subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubjectId(Integer subjectId) {
|
||||||
|
this.subjectId = subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getQuestionType() {
|
||||||
|
return questionType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuestionType(Integer questionType) {
|
||||||
|
this.questionType = questionType;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.question;
|
package com.mindskip.xzs.viewmodel.admin.question;
|
||||||
|
|
||||||
import com.mindskip.xzs.viewmodel.BaseVM;
|
import com.mindskip.xzs.viewmodel.BaseVM;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class QuestionResponseVM extends BaseVM {
|
public class QuestionResponseVM extends BaseVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -30,4 +30,99 @@ public class QuestionResponseVM extends BaseVM {
|
|||||||
|
|
||||||
private String shortTitle;
|
private String shortTitle;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getQuestionType() {
|
||||||
|
return questionType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setQuestionType(Integer questionType) {
|
||||||
|
this.questionType = questionType;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getTextContentId() {
|
||||||
|
return textContentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTextContentId(Integer textContentId) {
|
||||||
|
this.textContentId = textContentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSubjectId() {
|
||||||
|
return subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSubjectId(Integer subjectId) {
|
||||||
|
this.subjectId = subjectId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getCreateUser() {
|
||||||
|
return createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateUser(Integer createUser) {
|
||||||
|
this.createUser = createUser;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getScore() {
|
||||||
|
return score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setScore(String score) {
|
||||||
|
this.score = score;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(Integer status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCorrect() {
|
||||||
|
return correct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCorrect(String correct) {
|
||||||
|
this.correct = correct;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getAnalyzeTextContentId() {
|
||||||
|
return analyzeTextContentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAnalyzeTextContentId(Integer analyzeTextContentId) {
|
||||||
|
this.analyzeTextContentId = analyzeTextContentId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getDifficult() {
|
||||||
|
return difficult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDifficult(Integer difficult) {
|
||||||
|
this.difficult = difficult;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getShortTitle() {
|
||||||
|
return shortTitle;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setShortTitle(String shortTitle) {
|
||||||
|
this.shortTitle = shortTitle;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,17 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.task;
|
package com.mindskip.xzs.viewmodel.admin.task;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class TaskPageRequestVM extends BasePage {
|
public class TaskPageRequestVM extends BasePage {
|
||||||
private Integer gradeLevel;
|
private Integer gradeLevel;
|
||||||
|
|
||||||
|
public Integer getGradeLevel() {
|
||||||
|
return gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGradeLevel(Integer gradeLevel) {
|
||||||
|
this.gradeLevel = gradeLevel;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.task;
|
package com.mindskip.xzs.viewmodel.admin.task;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class TaskPageResponseVM {
|
public class TaskPageResponseVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -19,4 +19,51 @@ public class TaskPageResponseVM {
|
|||||||
|
|
||||||
private Boolean deleted;
|
private Boolean deleted;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getGradeLevel() {
|
||||||
|
return gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGradeLevel(Integer gradeLevel) {
|
||||||
|
this.gradeLevel = gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateUserName() {
|
||||||
|
return createUserName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateUserName(String createUserName) {
|
||||||
|
this.createUserName = createUserName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Boolean getDeleted() {
|
||||||
|
return deleted;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setDeleted(Boolean deleted) {
|
||||||
|
this.deleted = deleted;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,14 +1,14 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.task;
|
package com.mindskip.xzs.viewmodel.admin.task;
|
||||||
|
|
||||||
import com.mindskip.xzs.viewmodel.admin.exam.ExamResponseVM;
|
import com.mindskip.xzs.viewmodel.admin.exam.ExamResponseVM;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.Valid;
|
import javax.validation.Valid;
|
||||||
import javax.validation.constraints.NotNull;
|
import javax.validation.constraints.NotNull;
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class TaskRequestVM {
|
public class TaskRequestVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -22,4 +22,36 @@ public class TaskRequestVM {
|
|||||||
@Size(min = 1, message = "请添加试卷")
|
@Size(min = 1, message = "请添加试卷")
|
||||||
@Valid
|
@Valid
|
||||||
private List<ExamResponseVM> paperItems;
|
private List<ExamResponseVM> paperItems;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getGradeLevel() {
|
||||||
|
return gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setGradeLevel(Integer gradeLevel) {
|
||||||
|
this.gradeLevel = gradeLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getTitle() {
|
||||||
|
return title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setTitle(String title) {
|
||||||
|
this.title = title;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<ExamResponseVM> getPaperItems() {
|
||||||
|
return paperItems;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPaperItems(List<ExamResponseVM> paperItems) {
|
||||||
|
this.paperItems = paperItems;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.user;
|
package com.mindskip.xzs.viewmodel.admin.user;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class UserCreateVM {
|
public class UserCreateVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -30,4 +30,92 @@ public class UserCreateVM {
|
|||||||
private Integer role;
|
private Integer role;
|
||||||
|
|
||||||
private Integer userLevel;
|
private Integer userLevel;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPassword() {
|
||||||
|
return password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPassword(String password) {
|
||||||
|
this.password = password;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRealName() {
|
||||||
|
return realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRealName(String realName) {
|
||||||
|
this.realName = realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getAge() {
|
||||||
|
return age;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAge(String age) {
|
||||||
|
this.age = age;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(Integer status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSex() {
|
||||||
|
return sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSex(Integer sex) {
|
||||||
|
this.sex = sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBirthDay() {
|
||||||
|
return birthDay;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBirthDay(String birthDay) {
|
||||||
|
this.birthDay = birthDay;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPhone() {
|
||||||
|
return phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPhone(String phone) {
|
||||||
|
this.phone = phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRole() {
|
||||||
|
return role;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRole(Integer role) {
|
||||||
|
this.role = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getUserLevel() {
|
||||||
|
return userLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserLevel(Integer userLevel) {
|
||||||
|
this.userLevel = userLevel;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.user;
|
package com.mindskip.xzs.viewmodel.admin.user;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
|
|
||||||
public class UserEventLogVM {
|
public class UserEventLogVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -17,4 +17,51 @@ public class UserEventLogVM {
|
|||||||
|
|
||||||
private String createTime;
|
private String createTime;
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserId(Integer userId) {
|
||||||
|
this.userId = userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRealName() {
|
||||||
|
return realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRealName(String realName) {
|
||||||
|
this.realName = realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getContent() {
|
||||||
|
return content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setContent(String content) {
|
||||||
|
this.content = content;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,32 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.user;
|
package com.mindskip.xzs.viewmodel.admin.user;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author 武汉思维跳跃科技有限公司
|
* @author 武汉思维跳跃科技有限公司
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Data
|
|
||||||
public class UserEventPageRequestVM extends BasePage {
|
public class UserEventPageRequestVM extends BasePage {
|
||||||
|
|
||||||
private Integer userId;
|
private Integer userId;
|
||||||
|
|
||||||
private String userName;
|
private String userName;
|
||||||
|
|
||||||
|
public Integer getUserId() {
|
||||||
|
return userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserId(Integer userId) {
|
||||||
|
this.userId = userId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,16 +1,31 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.user;
|
package com.mindskip.xzs.viewmodel.admin.user;
|
||||||
|
|
||||||
import com.mindskip.xzs.base.BasePage;
|
import com.mindskip.xzs.base.BasePage;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author 武汉思维跳跃科技有限公司
|
* @author 武汉思维跳跃科技有限公司
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Data
|
|
||||||
public class UserPageRequestVM extends BasePage {
|
public class UserPageRequestVM extends BasePage {
|
||||||
|
|
||||||
private String userName;
|
private String userName;
|
||||||
private Integer role;
|
private Integer role;
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRole() {
|
||||||
|
return role;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRole(Integer role) {
|
||||||
|
this.role = role;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,13 @@ package com.mindskip.xzs.viewmodel.admin.user;
|
|||||||
import com.mindskip.xzs.domain.User;
|
import com.mindskip.xzs.domain.User;
|
||||||
import com.mindskip.xzs.utility.DateTimeUtil;
|
import com.mindskip.xzs.utility.DateTimeUtil;
|
||||||
import com.mindskip.xzs.viewmodel.BaseVM;
|
import com.mindskip.xzs.viewmodel.BaseVM;
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author 武汉思维跳跃科技有限公司
|
* @author 武汉思维跳跃科技有限公司
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@Data
|
|
||||||
public class UserResponseVM extends BaseVM {
|
public class UserResponseVM extends BaseVM {
|
||||||
|
|
||||||
private Integer id;
|
private Integer id;
|
||||||
@ -50,4 +50,124 @@ public class UserResponseVM extends BaseVM {
|
|||||||
vm.setModifyTime(DateTimeUtil.dateFormat(user.getModifyTime()));
|
vm.setModifyTime(DateTimeUtil.dateFormat(user.getModifyTime()));
|
||||||
return vm;
|
return vm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getId() {
|
||||||
|
return id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setId(Integer id) {
|
||||||
|
this.id = id;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserUuid() {
|
||||||
|
return userUuid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserUuid(String userUuid) {
|
||||||
|
this.userUuid = userUuid;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getUserName() {
|
||||||
|
return userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserName(String userName) {
|
||||||
|
this.userName = userName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getRealName() {
|
||||||
|
return realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRealName(String realName) {
|
||||||
|
this.realName = realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getAge() {
|
||||||
|
return age;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setAge(Integer age) {
|
||||||
|
this.age = age;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getRole() {
|
||||||
|
return role;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRole(Integer role) {
|
||||||
|
this.role = role;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getSex() {
|
||||||
|
return sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setSex(Integer sex) {
|
||||||
|
this.sex = sex;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getBirthDay() {
|
||||||
|
return birthDay;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setBirthDay(String birthDay) {
|
||||||
|
this.birthDay = birthDay;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPhone() {
|
||||||
|
return phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPhone(String phone) {
|
||||||
|
this.phone = phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getLastActiveTime() {
|
||||||
|
return lastActiveTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setLastActiveTime(String lastActiveTime) {
|
||||||
|
this.lastActiveTime = lastActiveTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getCreateTime() {
|
||||||
|
return createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCreateTime(String createTime) {
|
||||||
|
this.createTime = createTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getModifyTime() {
|
||||||
|
return modifyTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setModifyTime(String modifyTime) {
|
||||||
|
this.modifyTime = modifyTime;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getStatus() {
|
||||||
|
return status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setStatus(Integer status) {
|
||||||
|
this.status = status;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Integer getUserLevel() {
|
||||||
|
return userLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setUserLevel(Integer userLevel) {
|
||||||
|
this.userLevel = userLevel;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getImagePath() {
|
||||||
|
return imagePath;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setImagePath(String imagePath) {
|
||||||
|
this.imagePath = imagePath;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,10 +1,10 @@
|
|||||||
package com.mindskip.xzs.viewmodel.admin.user;
|
package com.mindskip.xzs.viewmodel.admin.user;
|
||||||
|
|
||||||
import lombok.Data;
|
|
||||||
|
|
||||||
import javax.validation.constraints.NotBlank;
|
import javax.validation.constraints.NotBlank;
|
||||||
|
|
||||||
@Data
|
|
||||||
public class UserUpdateVM {
|
public class UserUpdateVM {
|
||||||
|
|
||||||
@NotBlank
|
@NotBlank
|
||||||
@ -13,4 +13,19 @@ public class UserUpdateVM {
|
|||||||
@NotBlank
|
@NotBlank
|
||||||
private String phone;
|
private String phone;
|
||||||
|
|
||||||
|
public String getRealName() {
|
||||||
|
return realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setRealName(String realName) {
|
||||||
|
this.realName = realName;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getPhone() {
|
||||||
|
return phone;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setPhone(String phone) {
|
||||||
|
this.phone = phone;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user