|
@@ -7,43 +7,23 @@
|
|
|
|
|
|
package cn.com.qmth.examcloud.core.print.entity;
|
|
|
|
|
|
-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 java.io.Serializable;
|
|
|
|
|
|
/**
|
|
|
* 试题统计信息
|
|
|
*/
|
|
|
-@Entity
|
|
|
-@Table(name = "ec_prt_question_statistic", indexes = {
|
|
|
- @Index(name = "INDEX_PRT_QUESTION_STATISTIC_01", columnList = "examStructureId")})
|
|
|
-public class QuestionStatistic extends IdEntity {
|
|
|
- /**
|
|
|
- * 考试试卷结构ID
|
|
|
- */
|
|
|
- private Long examStructureId;
|
|
|
+public class QuestionStatistic implements Serializable {
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
/**
|
|
|
* 试题类型
|
|
|
*
|
|
|
* @See QuesStructType.java
|
|
|
*/
|
|
|
- @Column(length = 50)
|
|
|
private String questionType;
|
|
|
/**
|
|
|
* 试题数量
|
|
|
*/
|
|
|
- private Integer questionTotal;
|
|
|
-
|
|
|
- public Long getExamStructureId() {
|
|
|
- return examStructureId;
|
|
|
- }
|
|
|
-
|
|
|
- public void setExamStructureId(Long examStructureId) {
|
|
|
- this.examStructureId = examStructureId;
|
|
|
- }
|
|
|
+ private Integer total;
|
|
|
|
|
|
public String getQuestionType() {
|
|
|
return questionType;
|
|
@@ -53,12 +33,12 @@ public class QuestionStatistic extends IdEntity {
|
|
|
this.questionType = questionType;
|
|
|
}
|
|
|
|
|
|
- public Integer getQuestionTotal() {
|
|
|
- return questionTotal;
|
|
|
+ public Integer getTotal() {
|
|
|
+ return total;
|
|
|
}
|
|
|
|
|
|
- public void setQuestionTotal(Integer questionTotal) {
|
|
|
- this.questionTotal = questionTotal;
|
|
|
+ public void setTotal(Integer total) {
|
|
|
+ this.total = total;
|
|
|
}
|
|
|
|
|
|
}
|