|
@@ -2,149 +2,161 @@ package com.qmth.themis.business.cache.bean;
|
|
|
|
|
|
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
|
|
|
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.util.List;
|
|
|
|
|
|
public class ExamCourseCacheBean implements Serializable {
|
|
|
|
|
|
- /**
|
|
|
- *
|
|
|
- */
|
|
|
- private static final long serialVersionUID = -9033695063460046875L;
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ private static final long serialVersionUID = -9033695063460046875L;
|
|
|
|
|
|
- // 主键
|
|
|
- @JsonSerialize(using = ToStringSerializer.class)
|
|
|
- private Long id;
|
|
|
+ // 主键
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long id;
|
|
|
|
|
|
- // 考试ID
|
|
|
- @JsonSerialize(using = ToStringSerializer.class)
|
|
|
- private Long examId;
|
|
|
+ // 考试ID
|
|
|
+ @JsonSerialize(using = ToStringSerializer.class)
|
|
|
+ private Long examId;
|
|
|
|
|
|
- // 科目编码
|
|
|
- private String courseCode;
|
|
|
+ // 科目编码
|
|
|
+ private String courseCode;
|
|
|
|
|
|
- // 科目名称
|
|
|
- private String courseName;
|
|
|
+ // 科目名称
|
|
|
+ private String courseName;
|
|
|
|
|
|
- // 是否开启客观题乱序,0:不开启,1:开启
|
|
|
- private Integer objectiveShuffle;
|
|
|
+ // 是否开启客观题乱序,0:不开启,1:开启
|
|
|
+ private Integer objectiveShuffle;
|
|
|
|
|
|
- // 是否选项乱序,针对一个科目进行设置,0:不开启,1:开启
|
|
|
- private Integer optionShuffle;
|
|
|
+ // 是否选项乱序,针对一个科目进行设置,0:不开启,1:开启
|
|
|
+ private Integer optionShuffle;
|
|
|
|
|
|
- // 已绑定试卷数量
|
|
|
- private Integer paperCount;
|
|
|
+ // 已绑定试卷数量
|
|
|
+ private Integer paperCount;
|
|
|
|
|
|
- // 是否已补齐标答,0:否,1:是
|
|
|
- private Integer hasAnswer;
|
|
|
+ // 是否已补齐标答,0:否,1:是
|
|
|
+ private Integer hasAnswer;
|
|
|
|
|
|
- // 音频播放次数
|
|
|
- private Integer audioPlayCount;
|
|
|
-
|
|
|
- // 题干包含音频,0:不包含,1:包含
|
|
|
- private Integer hasAudio;
|
|
|
+ // 音频播放次数
|
|
|
+ private Integer audioPlayCount;
|
|
|
|
|
|
- // 试卷id
|
|
|
- private List<Long> paperIds;
|
|
|
+ // 题干包含音频,0:不包含,1:包含
|
|
|
+ private Integer hasAudio;
|
|
|
|
|
|
- // 调卷比例
|
|
|
- private List<Double> paperWeight;
|
|
|
+ // 试卷id
|
|
|
+ private List<Long> paperIds;
|
|
|
|
|
|
- public Long getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
+ // 调卷比例
|
|
|
+ private List<Double> paperWeight;
|
|
|
|
|
|
- public void setId(Long id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
+ @ApiModelProperty(value = "是否允许使用移动端拍照答题,0:不开启,1:开启")
|
|
|
+ private Integer mobilePhotoUpload = 0;
|
|
|
|
|
|
- public Long getExamId() {
|
|
|
- return examId;
|
|
|
- }
|
|
|
+ public Integer getMobilePhotoUpload() {
|
|
|
+ return mobilePhotoUpload;
|
|
|
+ }
|
|
|
|
|
|
- public void setExamId(Long examId) {
|
|
|
- this.examId = examId;
|
|
|
- }
|
|
|
+ public void setMobilePhotoUpload(Integer mobilePhotoUpload) {
|
|
|
+ this.mobilePhotoUpload = mobilePhotoUpload;
|
|
|
+ }
|
|
|
|
|
|
- public String getCourseCode() {
|
|
|
- return courseCode;
|
|
|
- }
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
|
|
|
- public void setCourseCode(String courseCode) {
|
|
|
- this.courseCode = courseCode;
|
|
|
- }
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
|
|
|
- public String getCourseName() {
|
|
|
- return courseName;
|
|
|
- }
|
|
|
+ public Long getExamId() {
|
|
|
+ return examId;
|
|
|
+ }
|
|
|
|
|
|
- public void setCourseName(String courseName) {
|
|
|
- this.courseName = courseName;
|
|
|
- }
|
|
|
+ public void setExamId(Long examId) {
|
|
|
+ this.examId = examId;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getObjectiveShuffle() {
|
|
|
- return objectiveShuffle;
|
|
|
- }
|
|
|
+ public String getCourseCode() {
|
|
|
+ return courseCode;
|
|
|
+ }
|
|
|
|
|
|
- public void setObjectiveShuffle(Integer objectiveShuffle) {
|
|
|
- this.objectiveShuffle = objectiveShuffle;
|
|
|
- }
|
|
|
+ public void setCourseCode(String courseCode) {
|
|
|
+ this.courseCode = courseCode;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getOptionShuffle() {
|
|
|
- return optionShuffle;
|
|
|
- }
|
|
|
+ public String getCourseName() {
|
|
|
+ return courseName;
|
|
|
+ }
|
|
|
|
|
|
- public void setOptionShuffle(Integer optionShuffle) {
|
|
|
- this.optionShuffle = optionShuffle;
|
|
|
- }
|
|
|
+ public void setCourseName(String courseName) {
|
|
|
+ this.courseName = courseName;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getPaperCount() {
|
|
|
- return paperCount;
|
|
|
- }
|
|
|
+ public Integer getObjectiveShuffle() {
|
|
|
+ return objectiveShuffle;
|
|
|
+ }
|
|
|
|
|
|
- public void setPaperCount(Integer paperCount) {
|
|
|
- this.paperCount = paperCount;
|
|
|
- }
|
|
|
+ public void setObjectiveShuffle(Integer objectiveShuffle) {
|
|
|
+ this.objectiveShuffle = objectiveShuffle;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getHasAnswer() {
|
|
|
- return hasAnswer;
|
|
|
- }
|
|
|
+ public Integer getOptionShuffle() {
|
|
|
+ return optionShuffle;
|
|
|
+ }
|
|
|
|
|
|
- public void setHasAnswer(Integer hasAnswer) {
|
|
|
- this.hasAnswer = hasAnswer;
|
|
|
- }
|
|
|
+ public void setOptionShuffle(Integer optionShuffle) {
|
|
|
+ this.optionShuffle = optionShuffle;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getAudioPlayCount() {
|
|
|
- return audioPlayCount;
|
|
|
- }
|
|
|
+ public Integer getPaperCount() {
|
|
|
+ return paperCount;
|
|
|
+ }
|
|
|
|
|
|
- public void setAudioPlayCount(Integer audioPlayCount) {
|
|
|
- this.audioPlayCount = audioPlayCount;
|
|
|
- }
|
|
|
+ public void setPaperCount(Integer paperCount) {
|
|
|
+ this.paperCount = paperCount;
|
|
|
+ }
|
|
|
|
|
|
- public List<Long> getPaperIds() {
|
|
|
- return paperIds;
|
|
|
- }
|
|
|
+ public Integer getHasAnswer() {
|
|
|
+ return hasAnswer;
|
|
|
+ }
|
|
|
|
|
|
- public void setPaperIds(List<Long> paperIds) {
|
|
|
- this.paperIds = paperIds;
|
|
|
- }
|
|
|
+ public void setHasAnswer(Integer hasAnswer) {
|
|
|
+ this.hasAnswer = hasAnswer;
|
|
|
+ }
|
|
|
|
|
|
- public List<Double> getPaperWeight() {
|
|
|
- return paperWeight;
|
|
|
- }
|
|
|
+ public Integer getAudioPlayCount() {
|
|
|
+ return audioPlayCount;
|
|
|
+ }
|
|
|
|
|
|
- public void setPaperWeight(List<Double> paperWeight) {
|
|
|
- this.paperWeight = paperWeight;
|
|
|
- }
|
|
|
+ public void setAudioPlayCount(Integer audioPlayCount) {
|
|
|
+ this.audioPlayCount = audioPlayCount;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getHasAudio() {
|
|
|
- return hasAudio;
|
|
|
- }
|
|
|
+ public List<Long> getPaperIds() {
|
|
|
+ return paperIds;
|
|
|
+ }
|
|
|
|
|
|
- public void setHasAudio(Integer hasAudio) {
|
|
|
- this.hasAudio = hasAudio;
|
|
|
- }
|
|
|
+ public void setPaperIds(List<Long> paperIds) {
|
|
|
+ this.paperIds = paperIds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public List<Double> getPaperWeight() {
|
|
|
+ return paperWeight;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setPaperWeight(List<Double> paperWeight) {
|
|
|
+ this.paperWeight = paperWeight;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getHasAudio() {
|
|
|
+ return hasAudio;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setHasAudio(Integer hasAudio) {
|
|
|
+ this.hasAudio = hasAudio;
|
|
|
+ }
|
|
|
|
|
|
}
|