wangwei hace 6 años
padre
commit
133827a55c

+ 14 - 0
src/main/java/cn/com/qmth/examcloud/question/core/paper/DefaultQuestionStructureWrapper.java

@@ -16,6 +16,11 @@ public class DefaultQuestionStructureWrapper implements QuestionStructureWrapper
 	 */
 	private String questionId;
 
+	/**
+	 * 版本号
+	 */
+	private String version;
+
 	/**
 	 * 题分数
 	 */
@@ -54,4 +59,13 @@ public class DefaultQuestionStructureWrapper implements QuestionStructureWrapper
 		this.questionUnitWrapperList = questionUnitWrapperList;
 	}
 
+	@Override
+	public String getVersion() {
+		return version;
+	}
+
+	public void setVersion(String version) {
+		this.version = version;
+	}
+
 }

+ 9 - 1
src/main/java/cn/com/qmth/examcloud/question/core/paper/QuestionStructureWrapper.java

@@ -12,13 +12,21 @@ import java.util.List;
 public interface QuestionStructureWrapper {
 
 	/**
-	 * 获取ID
+	 * 获取ID
 	 *
 	 * @author WANGWEI
 	 * @return
 	 */
 	public String getQuestionId();
 
+	/**
+	 * 获取题版本
+	 *
+	 * @author WANGWEI
+	 * @return
+	 */
+	public String getVersion();
+
 	/**
 	 * 获取题分数
 	 *