|
@@ -13,6 +13,7 @@ import javax.persistence.Index;
|
|
|
import javax.persistence.Table;
|
|
|
|
|
|
import cn.com.qmth.examcloud.support.enums.IsSuccess;
|
|
|
+import cn.com.qmth.examcloud.support.enums.SyncStatus;
|
|
|
import org.hibernate.annotations.DynamicInsert;
|
|
|
|
|
|
import cn.com.qmth.examcloud.api.commons.enums.ExamType;
|
|
@@ -136,11 +137,15 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
/**
|
|
|
* 考试记录状态
|
|
|
*/
|
|
|
+ @Column(length = 20)
|
|
|
+ @Enumerated(EnumType.STRING)
|
|
|
private ExamRecordStatus examRecordStatus;
|
|
|
|
|
|
/**
|
|
|
* 交卷类型
|
|
|
*/
|
|
|
+ @Column(length = 20)
|
|
|
+ @Enumerated(EnumType.STRING)
|
|
|
private HandInExamType handInExamType;
|
|
|
|
|
|
/**
|
|
@@ -191,6 +196,13 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
*/
|
|
|
private Double succPercent;
|
|
|
|
|
|
+ /**
|
|
|
+ * 数据同步状态
|
|
|
+ */
|
|
|
+ @Column(length = 20)
|
|
|
+ @Enumerated(EnumType.STRING)
|
|
|
+ private SyncStatus syncStatus;
|
|
|
+
|
|
|
public Long getId() {
|
|
|
return id;
|
|
|
}
|
|
@@ -446,4 +458,5 @@ public class ExamRecordDataEntity extends JpaEntity {
|
|
|
public void setIsIllegality(Boolean illegality) {
|
|
|
isIllegality = illegality;
|
|
|
}
|
|
|
+
|
|
|
}
|