Browse Source

考试记录添加字段

lideyin 5 năm trước cách đây
mục cha
commit
b34491d417

+ 17 - 0
examcloud-core-oe-student-dao/src/main/java/cn/com/qmth/examcloud/core/oe/student/dao/entity/ExamRecordDataEntity.java

@@ -12,6 +12,7 @@ import javax.persistence.Id;
 import javax.persistence.Index;
 import javax.persistence.Table;
 
+import cn.com.qmth.examcloud.support.enums.IsSuccess;
 import org.hibernate.annotations.DynamicInsert;
 
 import cn.com.qmth.examcloud.api.commons.enums.ExamType;
@@ -137,6 +138,14 @@ public class ExamRecordDataEntity extends JpaEntity {
      */
     private HandInExamType handInExamType;
 
+    /**
+     *
+     * 活体检测结果
+     */
+    @Column(length = 20)
+    @Enumerated(EnumType.STRING)
+    private IsSuccess faceVerifyResult;
+
     public Long getId() {
         return id;
     }
@@ -312,4 +321,12 @@ public class ExamRecordDataEntity extends JpaEntity {
     public void setHandInExamType(HandInExamType handInExamType) {
         this.handInExamType = handInExamType;
     }
+
+    public IsSuccess getFaceVerifyResult() {
+        return faceVerifyResult;
+    }
+
+    public void setFaceVerifyResult(IsSuccess faceVerifyResult) {
+        this.faceVerifyResult = faceVerifyResult;
+    }
 }