WANG 6 ani în urmă
părinte
comite
d4604f0bc7

+ 13 - 0
examcloud-core-examwork-api/src/main/java/cn/com/qmth/examcloud/examwork/api/bean/ExamBean.java

@@ -65,6 +65,11 @@ public class ExamBean implements JsonSerializable {
 	 */
 	private Long examTimes;
 
+	/**
+	 * 是否禁止考试
+	 */
+	private Boolean examLimit;
+
 	public Long getId() {
 		return id;
 	}
@@ -145,4 +150,12 @@ public class ExamBean implements JsonSerializable {
 		this.examTimes = examTimes;
 	}
 
+	public Boolean getExamLimit() {
+		return examLimit;
+	}
+
+	public void setExamLimit(Boolean examLimit) {
+		this.examLimit = examLimit;
+	}
+
 }

+ 13 - 0
examcloud-core-examwork-api/src/main/java/cn/com/qmth/examcloud/examwork/api/request/SaveExamReq.java

@@ -60,6 +60,11 @@ public class SaveExamReq extends BaseRequest {
 	 */
 	private Long examTimes;
 
+	/**
+	 * 是否禁止考试
+	 */
+	private Boolean examLimit;
+
 	private Map<String, String> properties;
 
 	public Long getId() {
@@ -142,4 +147,12 @@ public class SaveExamReq extends BaseRequest {
 		this.properties = properties;
 	}
 
+	public Boolean getExamLimit() {
+		return examLimit;
+	}
+
+	public void setExamLimit(Boolean examLimit) {
+		this.examLimit = examLimit;
+	}
+
 }