|
@@ -1,16 +1,17 @@
|
|
|
package com.qmth.themis.business.entity;
|
|
|
|
|
|
+import java.io.Serializable;
|
|
|
+import java.util.Date;
|
|
|
+
|
|
|
import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
import com.qmth.themis.business.enums.ExamTypeEnum;
|
|
|
-import com.qmth.themis.business.enums.RealnessEnum;
|
|
|
+import com.qmth.themis.business.enums.FaceVerifyExceptionEnum;
|
|
|
+
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
-import java.io.Serializable;
|
|
|
-import java.util.Date;
|
|
|
-
|
|
|
/**
|
|
|
* @Description: 人脸验证记录
|
|
|
* @Param:
|
|
@@ -20,9 +21,13 @@ import java.util.Date;
|
|
|
*/
|
|
|
@ApiModel(value = "t_oe_face_verify_history", description = "人脸验证记录")
|
|
|
public class TOeFaceVerifyHistory implements Serializable {
|
|
|
- private static final long serialVersionUID = 1L;
|
|
|
|
|
|
- @ApiModelProperty(value = "主键")
|
|
|
+ /**
|
|
|
+ *
|
|
|
+ */
|
|
|
+ private static final long serialVersionUID = 5187591142938085509L;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "主键")
|
|
|
@TableId(value = "id")
|
|
|
private Long id;
|
|
|
|
|
@@ -30,13 +35,17 @@ public class TOeFaceVerifyHistory implements Serializable {
|
|
|
@TableField(value = "exam_record_id")
|
|
|
private Long examRecordId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "人脸数量")
|
|
|
+ @TableField(value = "face_count")
|
|
|
+ private Integer faceCount;
|
|
|
+
|
|
|
@ApiModelProperty(value = "相似度分数")
|
|
|
@TableField(value = "similarity")
|
|
|
private Double similarity;
|
|
|
|
|
|
@ApiModelProperty(value = "真实性验证结果")
|
|
|
@TableField(value = "realness")
|
|
|
- private RealnessEnum realness;
|
|
|
+ private Double realness;
|
|
|
|
|
|
@ApiModelProperty(value = "创建时间")
|
|
|
@TableField(value = "create_time", fill = FieldFill.INSERT)
|
|
@@ -49,88 +58,106 @@ public class TOeFaceVerifyHistory implements Serializable {
|
|
|
@ApiModelProperty(value = "first:初次开考,recover:恢复开考,process:过程中")
|
|
|
@TableField(value = "type")
|
|
|
private ExamTypeEnum type;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "异常类型")
|
|
|
+ @TableField(value = "exception")
|
|
|
+ private FaceVerifyExceptionEnum exception;
|
|
|
|
|
|
@ApiModelProperty(value = "图片保存路径")
|
|
|
@TableField(value = "photo_url")
|
|
|
private String photoUrl;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "验证时间戳")
|
|
|
+ @TableField(value = "time")
|
|
|
+ private Long time;
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getExamRecordId() {
|
|
|
+ return examRecordId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setExamRecordId(Long examRecordId) {
|
|
|
+ this.examRecordId = examRecordId;
|
|
|
+ }
|
|
|
|
|
|
- @ApiModelProperty(value = "本地验证是否通过,0:不通过,1:通过")
|
|
|
- @TableField(value = "pass")
|
|
|
- private Integer pass;
|
|
|
+ public Integer getFaceCount() {
|
|
|
+ return faceCount;
|
|
|
+ }
|
|
|
|
|
|
- public static long getSerialVersionUID() {
|
|
|
- return serialVersionUID;
|
|
|
- }
|
|
|
+ public void setFaceCount(Integer faceCount) {
|
|
|
+ this.faceCount = faceCount;
|
|
|
+ }
|
|
|
|
|
|
- public Long getId() {
|
|
|
- return id;
|
|
|
- }
|
|
|
+ public Double getSimilarity() {
|
|
|
+ return similarity;
|
|
|
+ }
|
|
|
|
|
|
- public void setId(Long id) {
|
|
|
- this.id = id;
|
|
|
- }
|
|
|
+ public void setSimilarity(Double similarity) {
|
|
|
+ this.similarity = similarity;
|
|
|
+ }
|
|
|
|
|
|
- public Long getExamRecordId() {
|
|
|
- return examRecordId;
|
|
|
- }
|
|
|
+ public Double getRealness() {
|
|
|
+ return realness;
|
|
|
+ }
|
|
|
|
|
|
- public void setExamRecordId(Long examRecordId) {
|
|
|
- this.examRecordId = examRecordId;
|
|
|
- }
|
|
|
+ public void setRealness(Double realness) {
|
|
|
+ this.realness = realness;
|
|
|
+ }
|
|
|
|
|
|
- public Double getSimilarity() {
|
|
|
- return similarity;
|
|
|
- }
|
|
|
+ public Date getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
|
|
|
- public void setSimilarity(Double similarity) {
|
|
|
- this.similarity = similarity;
|
|
|
- }
|
|
|
+ public void setCreateTime(Date createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
|
|
|
- public RealnessEnum getRealness() {
|
|
|
- return realness;
|
|
|
- }
|
|
|
+ public Date getUpdateTime() {
|
|
|
+ return updateTime;
|
|
|
+ }
|
|
|
|
|
|
- public void setRealness(RealnessEnum realness) {
|
|
|
- this.realness = realness;
|
|
|
- }
|
|
|
+ public void setUpdateTime(Date updateTime) {
|
|
|
+ this.updateTime = updateTime;
|
|
|
+ }
|
|
|
|
|
|
- public Date getCreateTime() {
|
|
|
- return createTime;
|
|
|
- }
|
|
|
+ public ExamTypeEnum getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
|
|
|
- public void setCreateTime(Date createTime) {
|
|
|
- this.createTime = createTime;
|
|
|
- }
|
|
|
+ public void setType(ExamTypeEnum type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
|
|
|
- public Date getUpdateTime() {
|
|
|
- return updateTime;
|
|
|
- }
|
|
|
+ public FaceVerifyExceptionEnum getException() {
|
|
|
+ return exception;
|
|
|
+ }
|
|
|
|
|
|
- public void setUpdateTime(Date updateTime) {
|
|
|
- this.updateTime = updateTime;
|
|
|
- }
|
|
|
+ public void setException(FaceVerifyExceptionEnum exception) {
|
|
|
+ this.exception = exception;
|
|
|
+ }
|
|
|
|
|
|
- public ExamTypeEnum getType() {
|
|
|
- return type;
|
|
|
- }
|
|
|
+ public String getPhotoUrl() {
|
|
|
+ return photoUrl;
|
|
|
+ }
|
|
|
|
|
|
- public void setType(ExamTypeEnum type) {
|
|
|
- this.type = type;
|
|
|
- }
|
|
|
+ public void setPhotoUrl(String photoUrl) {
|
|
|
+ this.photoUrl = photoUrl;
|
|
|
+ }
|
|
|
|
|
|
- public String getPhotoUrl() {
|
|
|
- return photoUrl;
|
|
|
- }
|
|
|
+ public Long getTime() {
|
|
|
+ return time;
|
|
|
+ }
|
|
|
|
|
|
- public void setPhotoUrl(String photoUrl) {
|
|
|
- this.photoUrl = photoUrl;
|
|
|
- }
|
|
|
+ public void setTime(Long time) {
|
|
|
+ this.time = time;
|
|
|
+ }
|
|
|
|
|
|
- public Integer getPass() {
|
|
|
- return pass;
|
|
|
- }
|
|
|
|
|
|
- public void setPass(Integer pass) {
|
|
|
- this.pass = pass;
|
|
|
- }
|
|
|
}
|