fuliqi
2023-11-28 d8524dc5ef974bcfacba99128d5e79a268ccdf3f
src/main/java/com/mindskip/xzs/viewmodel/admin/exam/ExamPaperEditRequestVM.java
@@ -1,15 +1,13 @@
package com.mindskip.xzs.viewmodel.admin.exam;
import com.mindskip.xzs.domain.ExamPaperDepartment;
import com.mindskip.xzs.domain.ExamPaperSubject;
import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.Arrays;
import java.util.List;
import java.util.Map;
public class ExamPaperEditRequestVM {
@@ -35,6 +33,21 @@
    //部门ids
    private Integer[] departmentIds;
    private Integer[] userIds;
    private Map<Integer,Integer> subjectSource;
    //随机试卷各个标签题型数量
    private List<QuestionTypeVM> questionTypeVMS;
    private Integer aggregateSource;
    private Integer[][] userId;
    private String type;
    private String status;
    private String menuIds;
    public Integer getId() {
@@ -117,4 +130,91 @@
        this.departmentIds = departmentIds;
    }
    public Map<Integer, Integer> getSubjectSource() {
        return subjectSource;
    }
    public void setSubjectSource(Map<Integer, Integer> subjectSource) {
        this.subjectSource = subjectSource;
    }
    public Integer getAggregateSource() {
        return aggregateSource;
    }
    public void setAggregateSource(Integer aggregateSource) {
        this.aggregateSource = aggregateSource;
    }
    public List<QuestionTypeVM> getQuestionTypeVMS() {
        return questionTypeVMS;
    }
    public void setQuestionTypeVMS(List<QuestionTypeVM> questionTypeVMS) {
        this.questionTypeVMS = questionTypeVMS;
    }
    public Integer[] getUserIds() {
        return userIds;
    }
    public void setUserIds(Integer[] userIds) {
        this.userIds = userIds;
    }
    public Integer[][] getUserId() {
        return userId;
    }
    public void setUserId(Integer[][] userId) {
        this.userId = userId;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    public String getMenuIds() {
        return menuIds;
    }
    public void setMenuIds(String menuIds) {
        this.menuIds = menuIds;
    }
    @Override
    public String toString() {
        return "ExamPaperEditRequestVM{" +
                "id=" + id +
                ", level=" + level +
                ", subjectId=" + Arrays.toString(subjectId) +
                ", paperType=" + paperType +
                ", name='" + name + '\'' +
                ", suggestTime=" + suggestTime +
                ", limitDateTime=" + limitDateTime +
                ", titleItems=" + titleItems +
                ", score='" + score + '\'' +
                ", departmentIds=" + Arrays.toString(departmentIds) +
                ", userIds=" + Arrays.toString(userIds) +
                ", subjectSource=" + subjectSource +
                ", questionTypeVMS=" + questionTypeVMS +
                ", aggregateSource=" + aggregateSource +
                ", userId=" + Arrays.toString(userId) +
                ", type='" + type + '\'' +
                ", status='" + status + '\'' +
                ", menuIds='" + menuIds + '\'' +
                '}';
    }
}