|
@@ -14,6 +14,7 @@ import javax.persistence.Table;
|
|
|
|
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
|
|
+import cn.com.qmth.examcloud.api.commons.enums.ExamSpecialSettingsType;
|
|
import cn.com.qmth.examcloud.api.commons.enums.ExamType;
|
|
import cn.com.qmth.examcloud.api.commons.enums.ExamType;
|
|
import cn.com.qmth.examcloud.web.jpa.JpaEntity;
|
|
import cn.com.qmth.examcloud.web.jpa.JpaEntity;
|
|
|
|
|
|
@@ -97,6 +98,13 @@ public class ExamEntity extends JpaEntity {
|
|
*/
|
|
*/
|
|
private Boolean examLimit;
|
|
private Boolean examLimit;
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 特殊设置类型
|
|
|
|
+ */
|
|
|
|
+ @Column(nullable = true)
|
|
|
|
+ @Enumerated(EnumType.STRING)
|
|
|
|
+ private ExamSpecialSettingsType specialSettingsType;
|
|
|
|
+
|
|
public Long getId() {
|
|
public Long getId() {
|
|
return id;
|
|
return id;
|
|
}
|
|
}
|
|
@@ -201,4 +209,12 @@ public class ExamEntity extends JpaEntity {
|
|
this.examLimit = examLimit;
|
|
this.examLimit = examLimit;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ public ExamSpecialSettingsType getSpecialSettingsType() {
|
|
|
|
+ return specialSettingsType;
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ public void setSpecialSettingsType(ExamSpecialSettingsType specialSettingsType) {
|
|
|
|
+ this.specialSettingsType = specialSettingsType;
|
|
|
|
+ }
|
|
|
|
+
|
|
}
|
|
}
|