| | |
| | | |
| | | |
| | | |
| | | import com.ycl.jxkg.domain.exam.PaperFixQuestionDTO; |
| | | import com.ycl.jxkg.domain.exam.PaperQuestionSettingDTO; |
| | | import lombok.Data; |
| | | |
| | | import javax.validation.Valid; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Size; |
| | | import java.math.BigDecimal; |
| | | import java.util.List; |
| | | |
| | | @Data |
| | | public class ExamPaperEditRequestVO { |
| | | |
| | | private Integer id; |
| | | |
| | | @NotNull |
| | | private Integer level; |
| | | |
| | | @NotNull |
| | | /** 科目 */ |
| | | private Integer subjectId; |
| | | |
| | | @NotNull |
| | | /** 试卷类型 */ |
| | | private Integer paperType; |
| | | |
| | | @NotBlank |
| | | /** 试卷名 */ |
| | | private String name; |
| | | |
| | | @NotNull |
| | | /** 建议时间 */ |
| | | private Integer suggestTime; |
| | | private String visibility; |
| | | private Integer deductType; |
| | | private BigDecimal deductTypeScore; |
| | | private Integer num; |
| | | private BigDecimal score; |
| | | /** |
| | | * 题目配置 |
| | | * */ |
| | | private List<PaperQuestionSettingDTO> questionSetting; |
| | | |
| | | private List<String> limitDateTime; |
| | | |
| | | @Size(min = 1,message = "请添加试卷标题") |
| | | @Valid |
| | | private List<ExamPaperTitleItemVO> titleItems; |
| | | |
| | | private String score; |
| | | |
| | | /** |
| | | * 题目信息 |
| | | * */ |
| | | private List<PaperFixQuestionDTO> questionTitleList; |
| | | } |