xiatian 5 år sedan
förälder
incheckning
acf399fe76

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

@@ -1,13 +1,21 @@
 package cn.com.qmth.examcloud.core.oe.student.dao.entity;
 
-import cn.com.qmth.examcloud.core.oe.student.dao.enums.ExamRecordStatus;
-import cn.com.qmth.examcloud.core.oe.student.dao.enums.ExamType;
-import cn.com.qmth.examcloud.core.oe.student.dao.enums.IsSuccess;
-import cn.com.qmth.examcloud.web.jpa.JpaEntity;
+import java.util.Date;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.EnumType;
+import javax.persistence.Enumerated;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Index;
+import javax.persistence.Table;
+
 import org.hibernate.annotations.DynamicInsert;
 
-import java.util.Date;
-import javax.persistence.*;
+import cn.com.qmth.examcloud.core.oe.student.dao.enums.ExamType;
+import cn.com.qmth.examcloud.web.jpa.JpaEntity;
 
 /**
  * @author chenken
@@ -18,11 +26,9 @@ import javax.persistence.*;
 @Entity
 @Table(name = "ec_oes_exam_record_data", indexes = {
         @Index(name = "IDX_E_O_E_R_D_001", columnList = "examStudentId"),
-        @Index(name = "IDX_E_O_E_R_D_002", columnList = "studentCode"),
-        @Index(name = "IDX_E_O_E_R_D_003", columnList = "studentId,examType"),
-        @Index(name = "IDX_E_O_E_R_D_004", columnList = "examId"),
-        @Index(name = "IDX_E_O_E_R_D_005", columnList = "courseId"),
-        @Index(name = "IDX_E_O_E_R_D_006", columnList = "examRecordStatus"),
+        @Index(name = "IDX_E_O_E_R_D_002", columnList = "studentId"),
+        @Index(name = "IDX_E_O_E_R_D_003", columnList = "examId"),
+        @Index(name = "IDX_E_O_E_R_D_004", columnList = "courseId"),
 })
 @DynamicInsert
 public class ExamRecordDataEntity extends JpaEntity {
@@ -54,27 +60,11 @@ public class ExamRecordDataEntity extends JpaEntity {
      * 学生ID
      */
     private Long studentId;
-    /**
-     * 学号
-     */
-    @Column(length = 50)
-    private String studentCode;
-    /**
-     * 学生姓名
-     */
-    @Column(length = 20)
-    private String studentName;
-    /**
-     * 身份证号
-     */
-    @Column(length = 20)
-    private String identityNumber;
     /**
      * 课程ID
      */
     private Long courseId;
 
-    private String courseLevel;
     /**
      * 学习中心ID
      */
@@ -92,25 +82,7 @@ public class ExamRecordDataEntity extends JpaEntity {
      * 试卷类型
      */
     private String paperType;
-    /**
-     * 试卷结构 ID
-     */
-    private String paperStructId;
-    /**
-     * 采集人
-     */
-    @Column(length = 255)
-    private String infoCollector;
 
-    /**
-     * 考试作答记录id
-     */
-    private String examRecordQuestionsId;
-    /**
-     * 考试记录状态(考试中,考试结束,考试过期,考试作废)
-     */
-    @Enumerated(EnumType.STRING)
-    private ExamRecordStatus examRecordStatus;
     /**
      * 考试开始时间
      */
@@ -119,46 +91,15 @@ public class ExamRecordDataEntity extends JpaEntity {
      * 考试结束时间
      */
     private Date endTime;
-    /**
-     * 考试被清理时间
-     */
-    private Date cleanTime;
-    /**
-     * 是否异常数据
-     */
-    private Boolean isWarn;
-    /**
-     * 是否被审核过
-     */
-    private Boolean isAudit;
-    /**
-     * 是否违纪
-     */
-    @Column(name = "is_illegality")
-    private Boolean isIllegality;
 
     /**
      * 考试时长
      */
     private Long usedExamTime;
-    /**
-     * 第几次考试
-     */
-    private Integer examOrder;
-    /**
-     * 是否为重考
-     */
-    @Column(name = "is_reexamine")
-    private Boolean isReexamine;
     /**
      * 是否断点续考
      */
-    @Column(name = "is_continued")
     private Boolean isContinued;
-    /**
-     * 是否是全客观题卷  1:是   0:否
-     */
-    private Boolean isAllObjectivePaper;
     /**
      * 断点续考次数
      */
@@ -183,26 +124,6 @@ public class ExamRecordDataEntity extends JpaEntity {
      * 抓拍比对总次数
      */
     private Integer faceTotalCount;
-    /**
-     * 抓拍比对成功比率
-     */
-    private Double faceSuccessPercent;
-    /**
-     * @see IsSuccess
-     * 活体检测结果
-     */
-    @Column(length = 20)
-    @Enumerated(EnumType.STRING)
-    private IsSuccess faceVerifyResult;
-
-    /**
-     * 百度人脸活体检测通过率
-     */
-    private Double baiduFaceLivenessSuccessPercent;
-    /**
-     * 人脸五官坐标比对值
-     */
-    private Double faceLandmarkVal;
 
     public Long getId() {
         return id;
@@ -244,30 +165,6 @@ public class ExamRecordDataEntity extends JpaEntity {
         this.studentId = studentId;
     }
 
-    public String getStudentCode() {
-        return studentCode;
-    }
-
-    public void setStudentCode(String studentCode) {
-        this.studentCode = studentCode;
-    }
-
-    public String getStudentName() {
-        return studentName;
-    }
-
-    public void setStudentName(String studentName) {
-        this.studentName = studentName;
-    }
-
-    public String getIdentityNumber() {
-        return identityNumber;
-    }
-
-    public void setIdentityNumber(String identityNumber) {
-        this.identityNumber = identityNumber;
-    }
-
     public Long getCourseId() {
         return courseId;
     }
@@ -300,14 +197,6 @@ public class ExamRecordDataEntity extends JpaEntity {
         this.basePaperId = basePaperId;
     }
 
-    public String getPaperStructId() {
-        return paperStructId;
-    }
-
-    public void setPaperStructId(String paperStructId) {
-        this.paperStructId = paperStructId;
-    }
-
     public String getPaperType() {
         return paperType;
     }
@@ -316,22 +205,6 @@ public class ExamRecordDataEntity extends JpaEntity {
         this.paperType = paperType;
     }
 
-    public String getCourseLevel() {
-        return courseLevel;
-    }
-
-    public void setCourseLevel(String courseLevel) {
-        this.courseLevel = courseLevel;
-    }
-
-    public String getInfoCollector() {
-        return infoCollector;
-    }
-
-    public void setInfoCollector(String infoCollector) {
-        this.infoCollector = infoCollector;
-    }
-
     public Date getStartTime() {
         return startTime;
     }
@@ -348,51 +221,6 @@ public class ExamRecordDataEntity extends JpaEntity {
         this.endTime = endTime;
     }
 
-    public Date getCleanTime() {
-        return cleanTime;
-    }
-
-    public void setCleanTime(Date cleanTime) {
-        this.cleanTime = cleanTime;
-    }
-
-    public Boolean getIsWarn() {
-        return isWarn;
-    }
-
-    public void setIsWarn(Boolean isWarn) {
-        this.isWarn = isWarn;
-    }
-
-    public Boolean getIsAudit() {
-        return isAudit;
-    }
-
-    public void setIsAudit(Boolean isAudit) {
-        this.isAudit = isAudit;
-    }
-
-    public Boolean getIsIllegality() {
-        return isIllegality;
-    }
-
-    /**
-     * 设置是否违纪
-     *
-     * @param isIllegality
-     */
-    public void setIsIllegality(Boolean isIllegality) {
-        this.isIllegality = isIllegality;
-    }
-
-    public ExamRecordStatus getExamRecordStatus() {
-        return examRecordStatus;
-    }
-
-    public void setExamRecordStatus(ExamRecordStatus examRecordStatus) {
-        this.examRecordStatus = examRecordStatus;
-    }
-
     public Long getUsedExamTime() {
         return usedExamTime;
     }
@@ -401,22 +229,6 @@ public class ExamRecordDataEntity extends JpaEntity {
         this.usedExamTime = usedExamTime;
     }
 
-    public Integer getExamOrder() {
-        return examOrder;
-    }
-
-    public void setExamOrder(Integer examOrder) {
-        this.examOrder = examOrder;
-    }
-
-    public Boolean getIsReexamine() {
-        return isReexamine;
-    }
-
-    public void setIsReexamine(Boolean isReexamine) {
-        this.isReexamine = isReexamine;
-    }
-
     public Boolean getIsContinued() {
         return isContinued;
     }
@@ -465,47 +277,6 @@ public class ExamRecordDataEntity extends JpaEntity {
         this.faceTotalCount = faceTotalCount;
     }
 
-    public Double getFaceSuccessPercent() {
-        return faceSuccessPercent;
-    }
-
-    public void setFaceSuccessPercent(Double faceSuccessPercent) {
-        this.faceSuccessPercent = faceSuccessPercent;
-    }
-
-    public IsSuccess getFaceVerifyResult() {
-        return faceVerifyResult;
-    }
-
-    public void setFaceVerifyResult(IsSuccess faceVerifyResult) {
-        this.faceVerifyResult = faceVerifyResult;
-    }
-
-    public Double getFaceLandmarkVal() {
-        return faceLandmarkVal;
-    }
-
-    public void setFaceLandmarkVal(Double faceLandmarkVal) {
-        this.faceLandmarkVal = faceLandmarkVal;
-    }
-
-    public Boolean getIsAllObjectivePaper() {
-        return isAllObjectivePaper;
-    }
-
-    public void setIsAllObjectivePaper(Boolean isAllObjectivePaper) {
-        this.isAllObjectivePaper = isAllObjectivePaper;
-    }
-
-    public Double getBaiduFaceLivenessSuccessPercent() {
-        return baiduFaceLivenessSuccessPercent;
-    }
-
-    public void setBaiduFaceLivenessSuccessPercent(
-            Double baiduFaceLivenessSuccessPercent) {
-        this.baiduFaceLivenessSuccessPercent = baiduFaceLivenessSuccessPercent;
-    }
-
     public Boolean getIsExceed() {
         return isExceed;
     }
@@ -513,12 +284,4 @@ public class ExamRecordDataEntity extends JpaEntity {
     public void setIsExceed(Boolean isExceed) {
         this.isExceed = isExceed;
     }
-
-    public String getExamRecordQuestionsId() {
-        return examRecordQuestionsId;
-    }
-
-    public void setExamRecordQuestionsId(String examRecordQuestionsId) {
-        this.examRecordQuestionsId = examRecordQuestionsId;
-    }
 }