|
@@ -10,10 +10,7 @@ package cn.com.qmth.examcloud.core.print.entity;
|
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
import cn.afterturn.easypoi.excel.annotation.Excel;
|
|
import cn.com.qmth.examcloud.core.print.common.IdEntity;
|
|
import cn.com.qmth.examcloud.core.print.common.IdEntity;
|
|
|
|
|
|
-import javax.persistence.Column;
|
|
|
|
-import javax.persistence.Entity;
|
|
|
|
-import javax.persistence.Index;
|
|
|
|
-import javax.persistence.Table;
|
|
|
|
|
|
+import javax.persistence.*;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 客观题信息(用于Excel导出)
|
|
* 客观题信息(用于Excel导出)
|
|
@@ -55,26 +52,6 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
@Excel(name = "试卷名称", orderNum = "2")
|
|
@Excel(name = "试卷名称", orderNum = "2")
|
|
@Column(length = 100)
|
|
@Column(length = 100)
|
|
private String paperName;
|
|
private String paperName;
|
|
- /**
|
|
|
|
- * 试卷类型(如:A、B)
|
|
|
|
- */
|
|
|
|
- @Excel(name = "试卷类型", orderNum = "3")
|
|
|
|
- @Column(length = 50)
|
|
|
|
- private String paperType;
|
|
|
|
- /**
|
|
|
|
- * 题目类型
|
|
|
|
- *
|
|
|
|
- * @See QuesStructType.java
|
|
|
|
- */
|
|
|
|
- @Excel(name = "题目类型", orderNum = "6")
|
|
|
|
- @Column(length = 50)
|
|
|
|
- private String questionType;
|
|
|
|
- /**
|
|
|
|
- * 标准答案
|
|
|
|
- */
|
|
|
|
- @Excel(name = "标准答案", orderNum = "7")
|
|
|
|
- @Column(length = 50)
|
|
|
|
- private String answer;
|
|
|
|
/**
|
|
/**
|
|
* 大题号
|
|
* 大题号
|
|
*/
|
|
*/
|
|
@@ -90,6 +67,27 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
*/
|
|
*/
|
|
@Excel(name = "分数", orderNum = "8")
|
|
@Excel(name = "分数", orderNum = "8")
|
|
private Double unitScore;
|
|
private Double unitScore;
|
|
|
|
+ /**
|
|
|
|
+ * 标准答案
|
|
|
|
+ */
|
|
|
|
+ @Excel(name = "标准答案", orderNum = "7")
|
|
|
|
+ @Column(length = 50)
|
|
|
|
+ private String answer;
|
|
|
|
+ /**
|
|
|
|
+ * 题目类型
|
|
|
|
+ *
|
|
|
|
+ * @See QuesStructType.java
|
|
|
|
+ */
|
|
|
|
+ @Excel(name = "题目类型", orderNum = "6")
|
|
|
|
+ @Column(length = 50)
|
|
|
|
+ private String questionType;
|
|
|
|
+ /**
|
|
|
|
+ * 试卷类型(如:A、B)
|
|
|
|
+ * 该字段不持久化到数据库
|
|
|
|
+ */
|
|
|
|
+ @Excel(name = "试卷类型", orderNum = "3")
|
|
|
|
+ @Transient
|
|
|
|
+ private String paperType;
|
|
|
|
|
|
public Long getExamId() {
|
|
public Long getExamId() {
|
|
return examId;
|
|
return examId;
|
|
@@ -139,30 +137,6 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
this.paperName = paperName;
|
|
this.paperName = paperName;
|
|
}
|
|
}
|
|
|
|
|
|
- public String getPaperType() {
|
|
|
|
- return paperType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setPaperType(String paperType) {
|
|
|
|
- this.paperType = paperType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getQuestionType() {
|
|
|
|
- return questionType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setQuestionType(String questionType) {
|
|
|
|
- this.questionType = questionType;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public String getAnswer() {
|
|
|
|
- return answer;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- public void setAnswer(String answer) {
|
|
|
|
- this.answer = answer;
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public Integer getSectionNum() {
|
|
public Integer getSectionNum() {
|
|
return sectionNum;
|
|
return sectionNum;
|
|
}
|
|
}
|
|
@@ -187,4 +161,28 @@ public class ObjectiveQuestionStructure extends IdEntity {
|
|
this.unitScore = unitScore;
|
|
this.unitScore = unitScore;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public String getAnswer() {
|
|
|
|
+ return answer;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAnswer(String answer) {
|
|
|
|
+ this.answer = answer;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getQuestionType() {
|
|
|
|
+ return questionType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setQuestionType(String questionType) {
|
|
|
|
+ this.questionType = questionType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public String getPaperType() {
|
|
|
|
+ return paperType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setPaperType(String paperType) {
|
|
|
|
+ this.paperType = paperType;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|