qirong
2023-06-20 983a2d36e9d3ca4ff2da89bbaca687fc55e92610
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
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.List;
import java.util.Map;
 
 
public class ExamPaperEditRequestVM {
    private Integer id;
//    @NotNull
    private Integer level;
//    @NotNull
    private Integer[] subjectId;
    @NotNull
    private Integer paperType;
    @NotBlank
    private String name;
    @NotNull
    private Integer suggestTime;
 
    private List<String> limitDateTime;
 
    @Size(min = 1,message = "请添加试卷标题")
    @Valid
    private List<ExamPaperTitleItemVM> titleItems;
 
    private String score;
 
    //部门ids
    private Integer[] departmentIds;
 
    private Map<Integer,Integer> subjectSource;
 
    private Integer aggregateSource;
 
 
 
    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;
    }
 
    public Integer[] getDepartmentIds() {
        return departmentIds;
    }
 
    public void setDepartmentIds(Integer[] departmentIds) {
        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;
    }
}