|
@@ -2,6 +2,7 @@ package cn.com.qmth.examcloud.core.questions.dao.entity;
|
|
|
|
|
|
import cn.com.qmth.examcloud.core.questions.base.question.enums.QuesStructType;
|
|
import cn.com.qmth.examcloud.core.questions.base.question.enums.QuesStructType;
|
|
import cn.com.qmth.examcloud.core.questions.dao.entity.base.IdBase;
|
|
import cn.com.qmth.examcloud.core.questions.dao.entity.base.IdBase;
|
|
|
|
+import cn.com.qmth.examcloud.question.commons.core.question.AnswerType;
|
|
import org.springframework.data.annotation.Transient;
|
|
import org.springframework.data.annotation.Transient;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
@@ -16,10 +17,11 @@ public class Question extends IdBase {
|
|
private String quesBody;// 题干,默认为html
|
|
private String quesBody;// 题干,默认为html
|
|
|
|
|
|
private String quesBodyWord;// 题干word
|
|
private String quesBodyWord;// 题干word
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 试题wordpkg对象序列化数据
|
|
* 试题wordpkg对象序列化数据
|
|
*/
|
|
*/
|
|
-// private byte[] quesPkg;
|
|
|
|
|
|
+ //private byte[] quesPkg;
|
|
|
|
|
|
/**
|
|
/**
|
|
* 试题pkg路径Id
|
|
* 试题pkg路径Id
|
|
@@ -78,6 +80,11 @@ public class Question extends IdBase {
|
|
|
|
|
|
private Specialty specialty;
|
|
private Specialty specialty;
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * 作答类型
|
|
|
|
+ */
|
|
|
|
+ private AnswerType answerType;
|
|
|
|
+
|
|
/**
|
|
/**
|
|
* 试题属性
|
|
* 试题属性
|
|
*/
|
|
*/
|
|
@@ -248,10 +255,6 @@ public class Question extends IdBase {
|
|
this.score = score;
|
|
this.score = score;
|
|
}
|
|
}
|
|
|
|
|
|
- public Question() {
|
|
|
|
-
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
public String getCourseNo() {
|
|
public String getCourseNo() {
|
|
return courseNo;
|
|
return courseNo;
|
|
}
|
|
}
|
|
@@ -404,4 +407,12 @@ public class Question extends IdBase {
|
|
this.isolated = isolated;
|
|
this.isolated = isolated;
|
|
}
|
|
}
|
|
|
|
|
|
-}
|
|
|
|
|
|
+ public AnswerType getAnswerType() {
|
|
|
|
+ return answerType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAnswerType(AnswerType answerType) {
|
|
|
|
+ this.answerType = answerType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+}
|