|
@@ -7,48 +7,50 @@
|
|
|
|
|
|
package cn.com.qmth.examcloud.core.print.entity;
|
|
|
|
|
|
-import cn.com.qmth.examcloud.core.print.enums.QuesStructType;
|
|
|
-
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
|
* 试题结构信息
|
|
|
+ *
|
|
|
+ * @See QuesStructType.java
|
|
|
*/
|
|
|
public class ExamQuestionStructure implements Serializable {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
/**
|
|
|
- * 试题类型
|
|
|
- *
|
|
|
- * @See QuesStructType.java
|
|
|
+ * 单选题数量
|
|
|
+ */
|
|
|
+ private Integer singleChoiceTotal;
|
|
|
+ /**
|
|
|
+ * 多选题数量
|
|
|
*/
|
|
|
- private String questionType;
|
|
|
+ private Integer multipleChoiceTotal;
|
|
|
/**
|
|
|
- * 试题数量
|
|
|
+ * 判断题数量
|
|
|
*/
|
|
|
- private Integer total;
|
|
|
-
|
|
|
- public String getTypeName() {
|
|
|
- QuesStructType type = QuesStructType.getByName(questionType);
|
|
|
- if (type != null) {
|
|
|
- return type.getTitle();
|
|
|
- }
|
|
|
- return null;
|
|
|
+ private Integer boolQuestionTotal;
|
|
|
+
|
|
|
+ public Integer getSingleChoiceTotal() {
|
|
|
+ return singleChoiceTotal;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSingleChoiceTotal(Integer singleChoiceTotal) {
|
|
|
+ this.singleChoiceTotal = singleChoiceTotal;
|
|
|
}
|
|
|
|
|
|
- public String getQuestionType() {
|
|
|
- return questionType;
|
|
|
+ public Integer getMultipleChoiceTotal() {
|
|
|
+ return multipleChoiceTotal;
|
|
|
}
|
|
|
|
|
|
- public void setQuestionType(String questionType) {
|
|
|
- this.questionType = questionType;
|
|
|
+ public void setMultipleChoiceTotal(Integer multipleChoiceTotal) {
|
|
|
+ this.multipleChoiceTotal = multipleChoiceTotal;
|
|
|
}
|
|
|
|
|
|
- public Integer getTotal() {
|
|
|
- return total;
|
|
|
+ public Integer getBoolQuestionTotal() {
|
|
|
+ return boolQuestionTotal;
|
|
|
}
|
|
|
|
|
|
- public void setTotal(Integer total) {
|
|
|
- this.total = total;
|
|
|
+ public void setBoolQuestionTotal(Integer boolQuestionTotal) {
|
|
|
+ this.boolQuestionTotal = boolQuestionTotal;
|
|
|
}
|
|
|
|
|
|
}
|