|
@@ -48,6 +48,8 @@ public class Question implements Serializable {
|
|
|
|
|
|
private List<Question> subQuestions;// 子题目,用于套题
|
|
|
|
|
|
+ private Double score;//预设分值
|
|
|
+
|
|
|
private Map<String, String> quesParams;// 试题属性
|
|
|
|
|
|
public static long getSerialVersionUID() {
|
|
@@ -178,6 +180,14 @@ public class Question implements Serializable {
|
|
|
this.quesPkg = quesPkg;
|
|
|
}
|
|
|
|
|
|
+ public Double getScore() {
|
|
|
+ return score;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setScore(Double score) {
|
|
|
+ this.score = score;
|
|
|
+ }
|
|
|
+
|
|
|
public Question() {
|
|
|
this.createTime = CommonUtils.getCurDateTime();
|
|
|
}
|