| | |
| | | |
| | | |
| | | |
| | | 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 |
| | | // @NotNull |
| | | private Integer level; |
| | | @NotNull |
| | | private Integer subjectId; |
| | | // @NotNull |
| | | private Integer[] subjectId; |
| | | @NotNull |
| | | private Integer paperType; |
| | | @NotBlank |
| | |
| | | private List<ExamPaperTitleItemVM> titleItems; |
| | | |
| | | private String score; |
| | | |
| | | //部门ids |
| | | private Integer[] departmentIds; |
| | | |
| | | private Map<Integer,Integer> subjectSource; |
| | | |
| | | //随机试卷各个标签题型数量 |
| | | private List<QuestionTypeVM> questionTypeVMS; |
| | | |
| | | private Integer aggregateSource; |
| | | |
| | | |
| | | |
| | | public Integer getId() { |
| | | return id; |
| | |
| | | this.level = level; |
| | | } |
| | | |
| | | public Integer getSubjectId() { |
| | | public Integer[] getSubjectId() { |
| | | return subjectId; |
| | | } |
| | | |
| | | public void setSubjectId(Integer subjectId) { |
| | | public void setSubjectId(Integer[] subjectId) { |
| | | this.subjectId = subjectId; |
| | | } |
| | | |
| | |
| | | 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; |
| | | } |
| | | |
| | | public List<QuestionTypeVM> getQuestionTypeVMS() { |
| | | return questionTypeVMS; |
| | | } |
| | | |
| | | public void setQuestionTypeVMS(List<QuestionTypeVM> questionTypeVMS) { |
| | | this.questionTypeVMS = questionTypeVMS; |
| | | } |
| | | } |