|
@@ -2,6 +2,7 @@ package cn.com.qmth.examcloud.question.commons.core.paper;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
|
|
|
|
|
|
+import cn.com.qmth.examcloud.question.commons.core.question.AnswerType;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.QuestionType;
|
|
import cn.com.qmth.examcloud.question.commons.core.question.QuestionType;
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -30,6 +31,11 @@ public class DefaultQuestionUnitWrapper implements Serializable {
|
|
*/
|
|
*/
|
|
private QuestionType questionType;
|
|
private QuestionType questionType;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 作答类型
|
|
|
|
+ */
|
|
|
|
+ private AnswerType answerType;
|
|
|
|
+
|
|
public Integer[] getOptionPermutation() {
|
|
public Integer[] getOptionPermutation() {
|
|
return optionPermutation;
|
|
return optionPermutation;
|
|
}
|
|
}
|
|
@@ -54,4 +60,12 @@ public class DefaultQuestionUnitWrapper implements Serializable {
|
|
this.questionType = questionType;
|
|
this.questionType = questionType;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public AnswerType getAnswerType() {
|
|
|
|
+ return answerType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setAnswerType(AnswerType answerType) {
|
|
|
|
+ this.answerType = answerType;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|