|
@@ -13,6 +13,11 @@ public class DefaultQuestionUnit implements QuestionUnit {
|
|
|
|
|
|
private static final long serialVersionUID = 3092731472173574671L;
|
|
|
|
|
|
+ /**
|
|
|
+ * 题型
|
|
|
+ */
|
|
|
+ private QuestionType questionType;
|
|
|
+
|
|
|
/**
|
|
|
* 题干
|
|
|
*/
|
|
@@ -28,6 +33,16 @@ public class DefaultQuestionUnit implements QuestionUnit {
|
|
|
*/
|
|
|
private String[] rightAnswer;
|
|
|
|
|
|
+ @Override
|
|
|
+ public QuestionType getQuestionType() {
|
|
|
+ return questionType;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public void setQuestionType(QuestionType questionType) {
|
|
|
+ this.questionType = questionType;
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public String getBody() {
|
|
|
return body;
|