diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/dashboard/IndexVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/dashboard/IndexVM.java index 7b3e8a5..fce3a11 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/dashboard/IndexVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/dashboard/IndexVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.dashboard; -import lombok.Data; + import java.util.List; -@Data + public class IndexVM { private Integer examPaperCount; private Integer questionCount; @@ -13,4 +13,60 @@ public class IndexVM { private List mothDayUserActionValue; private List mothDayDoExamQuestionValue; private List 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 getMothDayUserActionValue() { + return mothDayUserActionValue; + } + + public void setMothDayUserActionValue(List mothDayUserActionValue) { + this.mothDayUserActionValue = mothDayUserActionValue; + } + + public List getMothDayDoExamQuestionValue() { + return mothDayDoExamQuestionValue; + } + + public void setMothDayDoExamQuestionValue(List mothDayDoExamQuestionValue) { + this.mothDayDoExamQuestionValue = mothDayDoExamQuestionValue; + } + + public List getMothDayText() { + return mothDayText; + } + + public void setMothDayText(List mothDayText) { + this.mothDayText = mothDayText; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectEditRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectEditRequestVM.java index f8a4bd1..51d8616 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectEditRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectEditRequestVM.java @@ -1,12 +1,12 @@ package com.mindskip.xzs.viewmodel.admin.education; import com.mindskip.xzs.viewmodel.BaseVM; -import lombok.Data; + import javax.validation.constraints.NotBlank; import javax.validation.constraints.NotNull; -@Data + public class SubjectEditRequestVM extends BaseVM { private Integer id; @@ -20,4 +20,35 @@ public class SubjectEditRequestVM extends BaseVM { @NotBlank 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectPageRequestVM.java index a70b5b8..088a038 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectPageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectPageRequestVM.java @@ -1,10 +1,26 @@ package com.mindskip.xzs.viewmodel.admin.education; import com.mindskip.xzs.base.BasePage; -import lombok.Data; -@Data + + public class SubjectPageRequestVM extends BasePage { private Integer id; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectResponseVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectResponseVM.java index 3e6bd0b..7db650d 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectResponseVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/education/SubjectResponseVM.java @@ -1,9 +1,9 @@ package com.mindskip.xzs.viewmodel.admin.education; import com.mindskip.xzs.viewmodel.BaseVM; -import lombok.Data; -@Data + + public class SubjectResponseVM extends BaseVM { private Integer id; @@ -12,4 +12,36 @@ public class SubjectResponseVM extends BaseVM { private Integer level; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperEditRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperEditRequestVM.java index 88237c8..f46f888 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperEditRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperEditRequestVM.java @@ -1,6 +1,6 @@ package com.mindskip.xzs.viewmodel.admin.exam; -import lombok.Data; + import javax.validation.Valid; import javax.validation.constraints.NotBlank; @@ -8,7 +8,7 @@ import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.util.List; -@Data + public class ExamPaperEditRequestVM { private Integer id; @NotNull @@ -30,4 +30,75 @@ public class ExamPaperEditRequestVM { 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 getLimitDateTime() { + return limitDateTime; + } + + public void setLimitDateTime(List limitDateTime) { + this.limitDateTime = limitDateTime; + } + + public List getTitleItems() { + return titleItems; + } + + public void setTitleItems(List titleItems) { + this.titleItems = titleItems; + } + + public String getScore() { + return score; + } + + public void setScore(String score) { + this.score = score; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperPageRequestVM.java index 0a69adc..cf501bb 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperPageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperPageRequestVM.java @@ -1,9 +1,9 @@ package com.mindskip.xzs.viewmodel.admin.exam; import com.mindskip.xzs.base.BasePage; -import lombok.Data; -@Data + + public class ExamPaperPageRequestVM extends BasePage { private Integer id; @@ -11,4 +11,44 @@ public class ExamPaperPageRequestVM extends BasePage { private Integer level; private Integer paperType; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperTitleItemVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperTitleItemVM.java index c4467d8..f891ede 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperTitleItemVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperTitleItemVM.java @@ -1,14 +1,14 @@ package com.mindskip.xzs.viewmodel.admin.exam; import com.mindskip.xzs.viewmodel.admin.question.QuestionEditRequestVM; -import lombok.Data; + import javax.validation.Valid; import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import java.util.List; -@Data + public class ExamPaperTitleItemVM { @NotBlank(message = "标题内容不能为空") @@ -17,4 +17,20 @@ public class ExamPaperTitleItemVM { @Size(min = 1,message = "请添加题目") @Valid private List questionItems; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public List getQuestionItems() { + return questionItems; + } + + public void setQuestionItems(List questionItems) { + this.questionItems = questionItems; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamResponseVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamResponseVM.java index 60dcf57..2d07ab1 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamResponseVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamResponseVM.java @@ -1,8 +1,8 @@ package com.mindskip.xzs.viewmodel.admin.exam; -import lombok.Data; -@Data + + public class ExamResponseVM { private Integer id; @@ -21,4 +21,76 @@ public class ExamResponseVM { private Integer paperType; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UeditorConfigVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UeditorConfigVM.java index db23fa3..636db24 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UeditorConfigVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UeditorConfigVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.file; -import lombok.Data; + import java.util.List; -@Data + public class UeditorConfigVM { private String imageActionName; private String imageFieldName; @@ -15,4 +15,76 @@ public class UeditorConfigVM { private String imageInsertAlign; private String imageUrlPrefix; 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 getImageAllowFiles() { + return imageAllowFiles; + } + + public void setImageAllowFiles(List 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UploadResultVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UploadResultVM.java index dfdf0ef..5e5c4bf 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UploadResultVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/file/UploadResultVM.java @@ -1,8 +1,8 @@ package com.mindskip.xzs.viewmodel.admin.file; -import lombok.Data; -@Data + + public class UploadResultVM { private String original; private String name; @@ -10,4 +10,52 @@ public class UploadResultVM { private Long size; private String type; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessagePageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessagePageRequestVM.java index 9403efd..db08db3 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessagePageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessagePageRequestVM.java @@ -1,9 +1,17 @@ package com.mindskip.xzs.viewmodel.admin.message; import com.mindskip.xzs.base.BasePage; -import lombok.Data; -@Data + + public class MessagePageRequestVM extends BasePage { private String sendUserName; + + public String getSendUserName() { + return sendUserName; + } + + public void setSendUserName(String sendUserName) { + this.sendUserName = sendUserName; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageResponseVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageResponseVM.java index 62f4aa8..8d8b0ec 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageResponseVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageResponseVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.message; -import lombok.Data; + import java.util.Date; -@Data + public class MessageResponseVM { private Integer id; @@ -22,4 +22,67 @@ public class MessageResponseVM { 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageSendVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageSendVM.java index b0d66a1..18a3d3a 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageSendVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/message/MessageSendVM.java @@ -1,12 +1,12 @@ package com.mindskip.xzs.viewmodel.admin.message; -import lombok.Data; + import javax.validation.constraints.NotBlank; import javax.validation.constraints.Size; import java.util.List; -@Data + public class MessageSendVM { @NotBlank @@ -16,4 +16,28 @@ public class MessageSendVM { @Size(min = 1, message = "接收人不能为空") private List 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 getReceiveUserIds() { + return receiveUserIds; + } + + public void setReceiveUserIds(List receiveUserIds) { + this.receiveUserIds = receiveUserIds; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditItemVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditItemVM.java index 86b8955..7c9ff1f 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditItemVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditItemVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.question; -import lombok.Data; + import javax.validation.constraints.NotBlank; -@Data + public class QuestionEditItemVM { @NotBlank private String prefix; @@ -12,4 +12,28 @@ public class QuestionEditItemVM { private String content; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditRequestVM.java index c866169..3de9985 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionEditRequestVM.java @@ -1,13 +1,13 @@ package com.mindskip.xzs.viewmodel.admin.question; -import lombok.Data; + import org.hibernate.validator.constraints.Range; import javax.validation.Valid; import javax.validation.constraints.*; import java.util.List; -@Data + public class QuestionEditRequestVM { private Integer id; @@ -35,4 +35,100 @@ public class QuestionEditRequestVM { private Integer difficult; 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 getItems() { + return items; + } + + public void setItems(List items) { + this.items = items; + } + + public String getAnalyze() { + return analyze; + } + + public void setAnalyze(String analyze) { + this.analyze = analyze; + } + + public List getCorrectArray() { + return correctArray; + } + + public void setCorrectArray(List 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionPageRequestVM.java index 271d922..42676b9 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionPageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionPageRequestVM.java @@ -1,13 +1,45 @@ package com.mindskip.xzs.viewmodel.admin.question; import com.mindskip.xzs.base.BasePage; -import lombok.Data; -@Data + + public class QuestionPageRequestVM extends BasePage { private Integer id; private Integer level; private Integer subjectId; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionResponseVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionResponseVM.java index 5937ef7..d019a42 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionResponseVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/question/QuestionResponseVM.java @@ -1,9 +1,9 @@ package com.mindskip.xzs.viewmodel.admin.question; import com.mindskip.xzs.viewmodel.BaseVM; -import lombok.Data; -@Data + + public class QuestionResponseVM extends BaseVM { private Integer id; @@ -30,4 +30,99 @@ public class QuestionResponseVM extends BaseVM { 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageRequestVM.java index d4523a3..656ecd7 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageRequestVM.java @@ -1,9 +1,17 @@ package com.mindskip.xzs.viewmodel.admin.task; import com.mindskip.xzs.base.BasePage; -import lombok.Data; -@Data + + public class TaskPageRequestVM extends BasePage { private Integer gradeLevel; + + public Integer getGradeLevel() { + return gradeLevel; + } + + public void setGradeLevel(Integer gradeLevel) { + this.gradeLevel = gradeLevel; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageResponseVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageResponseVM.java index 0146d7a..2a92591 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageResponseVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskPageResponseVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.task; -import lombok.Data; + import java.util.Date; -@Data + public class TaskPageResponseVM { private Integer id; @@ -19,4 +19,51 @@ public class TaskPageResponseVM { 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskRequestVM.java index 449beb7..d057dfb 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/task/TaskRequestVM.java @@ -1,14 +1,14 @@ package com.mindskip.xzs.viewmodel.admin.task; import com.mindskip.xzs.viewmodel.admin.exam.ExamResponseVM; -import lombok.Data; + import javax.validation.Valid; import javax.validation.constraints.NotNull; import javax.validation.constraints.Size; import java.util.List; -@Data + public class TaskRequestVM { private Integer id; @@ -22,4 +22,36 @@ public class TaskRequestVM { @Size(min = 1, message = "请添加试卷") @Valid private List 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 getPaperItems() { + return paperItems; + } + + public void setPaperItems(List paperItems) { + this.paperItems = paperItems; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserCreateVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserCreateVM.java index 5b0747f..78dc849 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserCreateVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserCreateVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.user; -import lombok.Data; + import javax.validation.constraints.NotBlank; -@Data + public class UserCreateVM { private Integer id; @@ -30,4 +30,92 @@ public class UserCreateVM { private Integer role; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventLogVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventLogVM.java index 7827f9a..f87fe96 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventLogVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventLogVM.java @@ -1,8 +1,8 @@ package com.mindskip.xzs.viewmodel.admin.user; -import lombok.Data; -@Data + + public class UserEventLogVM { private Integer id; @@ -17,4 +17,51 @@ public class UserEventLogVM { 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventPageRequestVM.java index 574176c..5028462 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventPageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserEventPageRequestVM.java @@ -1,17 +1,32 @@ package com.mindskip.xzs.viewmodel.admin.user; import com.mindskip.xzs.base.BasePage; -import lombok.Data; + /** * @author 武汉思维跳跃科技有限公司 */ -@Data + public class UserEventPageRequestVM extends BasePage { private Integer userId; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserPageRequestVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserPageRequestVM.java index 71df31c..0a348d8 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserPageRequestVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserPageRequestVM.java @@ -1,16 +1,31 @@ package com.mindskip.xzs.viewmodel.admin.user; import com.mindskip.xzs.base.BasePage; -import lombok.Data; + /** * @author 武汉思维跳跃科技有限公司 */ -@Data + public class UserPageRequestVM extends BasePage { private String userName; 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserResponseVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserResponseVM.java index 503312f..a3dae50 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserResponseVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserResponseVM.java @@ -3,13 +3,13 @@ package com.mindskip.xzs.viewmodel.admin.user; import com.mindskip.xzs.domain.User; import com.mindskip.xzs.utility.DateTimeUtil; import com.mindskip.xzs.viewmodel.BaseVM; -import lombok.Data; + /** * @author 武汉思维跳跃科技有限公司 */ -@Data + public class UserResponseVM extends BaseVM { private Integer id; @@ -50,4 +50,124 @@ public class UserResponseVM extends BaseVM { vm.setModifyTime(DateTimeUtil.dateFormat(user.getModifyTime())); 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; + } } diff --git a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserUpdateVM.java b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserUpdateVM.java index e66a324..aad3f56 100644 --- a/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserUpdateVM.java +++ b/source/xzs/src/main/java/com/mindskip/xzs/viewmodel/admin/user/UserUpdateVM.java @@ -1,10 +1,10 @@ package com.mindskip.xzs.viewmodel.admin.user; -import lombok.Data; + import javax.validation.constraints.NotBlank; -@Data + public class UserUpdateVM { @NotBlank @@ -13,4 +13,19 @@ public class UserUpdateVM { @NotBlank 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; + } }