| | |
| | | package com.ycl.jxkg.domain.vo; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.ycl.jxkg.domain.base.AbsVo; |
| | | import com.ycl.jxkg.domain.entity.ExamTemplate; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import com.ycl.jxkg.domain.question.TemplateQuestionDTO; |
| | | import org.springframework.lang.NonNull; |
| | | import org.springframework.beans.BeanUtils; |
| | | import io.swagger.annotations.ApiModel; |
| | |
| | | private Integer subjectId; |
| | | |
| | | /** 总分 */ |
| | | private Integer score; |
| | | private BigDecimal score; |
| | | |
| | | /** 是否私有 */ |
| | | private String visibility; |
| | |
| | | /** 多选评分 */ |
| | | private BigDecimal deductTypeScore; |
| | | |
| | | /** 单选题数量 */ |
| | | private Integer singleChoice; |
| | | |
| | | /** 多选题数量 */ |
| | | private Integer multipleChoice; |
| | | |
| | | /** 填空题数量 */ |
| | | private Integer gapFilling; |
| | | |
| | | /** 判断数量 */ |
| | | private Integer trueFalse; |
| | | |
| | | /** 简答题数量 */ |
| | | private Integer shortAnswer; |
| | | |
| | | /** 计算题数量 */ |
| | | private Integer calculation; |
| | | |
| | | /** 单选每题分数 */ |
| | | private BigDecimal singleScore; |
| | | |
| | | /** 多选每题分数 */ |
| | | private BigDecimal multipleScore; |
| | | |
| | | /** 填空每题分数 */ |
| | | private BigDecimal gapScore; |
| | | |
| | | /** 判断每题分数 */ |
| | | private BigDecimal trueFalseScore; |
| | | |
| | | /** 简答每题分数 */ |
| | | private BigDecimal shortAnswerScore; |
| | | |
| | | /** 计算每题分数 */ |
| | | private BigDecimal calculationScore; |
| | | /** 题目配置 */ |
| | | private List<TemplateQuestionDTO> questionList; |
| | | |
| | | /** */ |
| | | private Integer createUser; |
| | | |
| | | /** */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createTime; |
| | | |
| | | public static ExamTemplateVO getVoByEntity(@NonNull ExamTemplate entity, ExamTemplateVO vo) { |