Bladeren bron

update DefaultPaper

deason 2 jaren geleden
bovenliggende
commit
ad50b00db3

+ 44 - 32
examcloud-question-commons/src/main/java/cn/com/qmth/examcloud/question/commons/core/paper/DefaultPaper.java

@@ -8,49 +8,61 @@ import java.util.List;
  *
  * @author WANGWEI
  * @date 2018年8月15日
- * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
  */
 public class DefaultPaper implements Serializable {
 
-	private static final long serialVersionUID = -5979287118960427883L;
+    private static final long serialVersionUID = -5979287118960427883L;
 
-	/**
-	 * 试卷名称
-	 */
-	private String name;
+    /**
+     * 试卷ID(冗余字段,部分场景使用)
+     */
+    private String id;
 
-	/**
-	 * 是否全是客观题
-	 */
-	private Boolean fullyObjective;
+    /**
+     * 试卷名称
+     */
+    private String name;
 
-	/**
-	 * 分组集合
-	 */
-	private List<DefaultQuestionGroup> questionGroupList;
+    /**
+     * 是否全是客观题
+     */
+    private Boolean fullyObjective;
 
-	public String getName() {
-		return name;
-	}
+    /**
+     * 分组集合
+     */
+    private List<DefaultQuestionGroup> questionGroupList;
 
-	public void setName(String name) {
-		this.name = name;
-	}
+    public String getId() {
+        return id;
+    }
 
-	public Boolean getFullyObjective() {
-		return fullyObjective;
-	}
+    public void setId(String id) {
+        this.id = id;
+    }
 
-	public void setFullyObjective(Boolean fullyObjective) {
-		this.fullyObjective = fullyObjective;
-	}
+    public String getName() {
+        return name;
+    }
 
-	public List<DefaultQuestionGroup> getQuestionGroupList() {
-		return questionGroupList;
-	}
+    public void setName(String name) {
+        this.name = name;
+    }
 
-	public void setQuestionGroupList(List<DefaultQuestionGroup> questionGroupList) {
-		this.questionGroupList = questionGroupList;
-	}
+    public Boolean getFullyObjective() {
+        return fullyObjective;
+    }
+
+    public void setFullyObjective(Boolean fullyObjective) {
+        this.fullyObjective = fullyObjective;
+    }
+
+    public List<DefaultQuestionGroup> getQuestionGroupList() {
+        return questionGroupList;
+    }
+
+    public void setQuestionGroupList(List<DefaultQuestionGroup> questionGroupList) {
+        this.questionGroupList = questionGroupList;
+    }
 
 }