|
@@ -1,6 +1,7 @@
|
|
|
package com.qmth.themis.business.entity.common;
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.qmth.themis.business.base.BaseEntity;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
|
import java.io.Serializable;
|
|
@@ -13,7 +14,7 @@ import java.util.Date;
|
|
|
* @Author: wangliang
|
|
|
* @Date: 2020/7/7
|
|
|
*/
|
|
|
-public class Exam implements Serializable {
|
|
|
+public class Exam extends BaseEntity {
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
@ApiModelProperty(value = "主键")
|
|
@@ -33,7 +34,7 @@ public class Exam implements Serializable {
|
|
|
private String name;
|
|
|
|
|
|
@ApiModelProperty(value = "批次标注,可用于多个考试批次归类")
|
|
|
- @TableId(value = "name")
|
|
|
+ @TableId(value = "tag")
|
|
|
private String tag;
|
|
|
|
|
|
@ApiModelProperty(value = "批次开始时间")
|
|
@@ -84,34 +85,6 @@ public class Exam implements Serializable {
|
|
|
@TableId(value = "break_resume_count")
|
|
|
private Integer breakResumeCount;
|
|
|
|
|
|
- @ApiModelProperty(value = "活体动作个数")
|
|
|
- @TableId(value = "liveness_action_count")
|
|
|
- private Integer livenessActionCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "活体单个动作重试次数")
|
|
|
- @TableId(value = "liveness_action_retry_count")
|
|
|
- private Integer livenessActionRetryCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "是否开启/强制开考人脸识别")
|
|
|
- @TableId(value = "entry_face_verify")
|
|
|
- private Integer entryFaceVerify;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "是否开启/强制开考活体检测")
|
|
|
- @TableId(value = "entry_liveness_verify")
|
|
|
- private Integer entryLivenessVerify;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "考试过程中人脸检测是否开启")
|
|
|
- @TableId(value = "constant_face_verify")
|
|
|
- private Integer constantFaceVerify;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "考试过程中随机活体验证次数")
|
|
|
- @TableId(value = "constant_liveness_verify_count")
|
|
|
- private Integer constantLivenessVerifyCount;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "考试过程中随机活体重试次数")
|
|
|
- @TableId(value = "constant_liveness_retry_count")
|
|
|
- private Integer constantLivenessRetryCount;
|
|
|
-
|
|
|
@ApiModelProperty(value = "是否开启/强制客户端视频监控")
|
|
|
@TableId(value = "client_video_push")
|
|
|
private Integer clientVideoPush;
|
|
@@ -140,25 +113,213 @@ public class Exam implements Serializable {
|
|
|
@TableId(value = "reexam_auditing")
|
|
|
private Integer reexamAuditing;
|
|
|
|
|
|
- @ApiModelProperty(value = "多次考试记录的选择逻辑:全部阅卷后取最高分;客观分最高;最后一次提交")
|
|
|
- @TableId(value = "select_strategy")
|
|
|
- private Integer selectStrategy;
|
|
|
-
|
|
|
- @ApiModelProperty(value = "IP段限制")
|
|
|
- @TableId(value = "ip_limit")
|
|
|
- private String ipLimit;
|
|
|
-
|
|
|
@ApiModelProperty(value = "交卷后是否显示客观得分")
|
|
|
@TableId(value = "show_objective_score")
|
|
|
private Integer showObjectiveScore;
|
|
|
|
|
|
- @ApiModelProperty(value = "创建时间")
|
|
|
- @TableId(value = "create_time")
|
|
|
- private Date createTime;
|
|
|
+ @ApiModelProperty(value = "模式,0:集中统一,1:随到随考")
|
|
|
+ @TableId(value = "mode")
|
|
|
+ private Integer mode;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "是否启用,0:停用,1:启用")
|
|
|
+ @TableId(value = "enable")
|
|
|
+ private Integer enable;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "是否归档")
|
|
|
+ @TableId(value = "archived")
|
|
|
+ private Integer archived;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "允许开考开放时长(秒),相当于迟到时间")
|
|
|
+ @TableId(value = "opening_seconds")
|
|
|
+ private Integer openingSeconds;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "最大考试时长")
|
|
|
+ @TableId(value = "max_duration_seconds")
|
|
|
+ private Integer maxDurationSeconds;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "是否在结束时间集中强制收卷")
|
|
|
+ @TableId(value = "force_finish")
|
|
|
+ private Integer forceFinish;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "开考身份验证策略")
|
|
|
+ @TableId(value = "entry_authentication_policy")
|
|
|
+ private Integer entryAuthenticationPolicy;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试过程中人脸检测是否开启")
|
|
|
+ @TableId(value = "in_process_face_verify")
|
|
|
+ private Integer inProcessFaceVerify;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试过程中人脸检测是否忽略陌生人")
|
|
|
+ @TableId(value = "in_process_face_stranger_ignore")
|
|
|
+ private Integer inProcessFaceStrangerIgnore;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试过程中是否启用活体检测")
|
|
|
+ @TableId(value = "in_process_liveness_verify")
|
|
|
+ private Integer inProcessLivenessVerify;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试过程中活体检测间隔时间")
|
|
|
+ @TableId(value = "in_process_liveness_interval_seconds")
|
|
|
+ private Integer inProcessLivenessIntervalSeconds;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试过程中活体检测重试次数")
|
|
|
+ @TableId(value = "in_process_liveness_retry_count")
|
|
|
+ private Integer inProcessLivenessRetryCount;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "考试过程中活体检测结果判定规则")
|
|
|
+ @TableId(value = "in_process_liveness_judge_policy")
|
|
|
+ private Integer inProcessLivenessJudgePolicy;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "多次考试记录的选择逻辑")
|
|
|
+ @TableId(value = "record_select_strategy")
|
|
|
+ private Integer recordSelectStrategy;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "是否IP段限制")
|
|
|
+ @TableId(value = "enable_ip_limit")
|
|
|
+ private Integer enableIpLimit;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "允许IP段")
|
|
|
+ @TableId(value = "ip_allow")
|
|
|
+ private String ipAllow;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "算分状态")
|
|
|
+ @TableId(value = "score_status")
|
|
|
+ private Integer scoreStatus;
|
|
|
+
|
|
|
+ public Integer getMode() {
|
|
|
+ return mode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMode(Integer mode) {
|
|
|
+ this.mode = mode;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getEnable() {
|
|
|
+ return enable;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEnable(Integer enable) {
|
|
|
+ this.enable = enable;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getArchived() {
|
|
|
+ return archived;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setArchived(Integer archived) {
|
|
|
+ this.archived = archived;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getOpeningSeconds() {
|
|
|
+ return openingSeconds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setOpeningSeconds(Integer openingSeconds) {
|
|
|
+ this.openingSeconds = openingSeconds;
|
|
|
+ }
|
|
|
|
|
|
- @ApiModelProperty(value = "更新时间")
|
|
|
- @TableId(value = "update_time")
|
|
|
- private Date updateTime;
|
|
|
+ public Integer getMaxDurationSeconds() {
|
|
|
+ return maxDurationSeconds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setMaxDurationSeconds(Integer maxDurationSeconds) {
|
|
|
+ this.maxDurationSeconds = maxDurationSeconds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getForceFinish() {
|
|
|
+ return forceFinish;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setForceFinish(Integer forceFinish) {
|
|
|
+ this.forceFinish = forceFinish;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getEntryAuthenticationPolicy() {
|
|
|
+ return entryAuthenticationPolicy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEntryAuthenticationPolicy(Integer entryAuthenticationPolicy) {
|
|
|
+ this.entryAuthenticationPolicy = entryAuthenticationPolicy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getInProcessFaceVerify() {
|
|
|
+ return inProcessFaceVerify;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInProcessFaceVerify(Integer inProcessFaceVerify) {
|
|
|
+ this.inProcessFaceVerify = inProcessFaceVerify;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getInProcessFaceStrangerIgnore() {
|
|
|
+ return inProcessFaceStrangerIgnore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInProcessFaceStrangerIgnore(Integer inProcessFaceStrangerIgnore) {
|
|
|
+ this.inProcessFaceStrangerIgnore = inProcessFaceStrangerIgnore;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getInProcessLivenessVerify() {
|
|
|
+ return inProcessLivenessVerify;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInProcessLivenessVerify(Integer inProcessLivenessVerify) {
|
|
|
+ this.inProcessLivenessVerify = inProcessLivenessVerify;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getInProcessLivenessIntervalSeconds() {
|
|
|
+ return inProcessLivenessIntervalSeconds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInProcessLivenessIntervalSeconds(Integer inProcessLivenessIntervalSeconds) {
|
|
|
+ this.inProcessLivenessIntervalSeconds = inProcessLivenessIntervalSeconds;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getInProcessLivenessRetryCount() {
|
|
|
+ return inProcessLivenessRetryCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInProcessLivenessRetryCount(Integer inProcessLivenessRetryCount) {
|
|
|
+ this.inProcessLivenessRetryCount = inProcessLivenessRetryCount;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getInProcessLivenessJudgePolicy() {
|
|
|
+ return inProcessLivenessJudgePolicy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setInProcessLivenessJudgePolicy(Integer inProcessLivenessJudgePolicy) {
|
|
|
+ this.inProcessLivenessJudgePolicy = inProcessLivenessJudgePolicy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getRecordSelectStrategy() {
|
|
|
+ return recordSelectStrategy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setRecordSelectStrategy(Integer recordSelectStrategy) {
|
|
|
+ this.recordSelectStrategy = recordSelectStrategy;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getEnableIpLimit() {
|
|
|
+ return enableIpLimit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEnableIpLimit(Integer enableIpLimit) {
|
|
|
+ this.enableIpLimit = enableIpLimit;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getIpAllow() {
|
|
|
+ return ipAllow;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setIpAllow(String ipAllow) {
|
|
|
+ this.ipAllow = ipAllow;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getScoreStatus() {
|
|
|
+ return scoreStatus;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setScoreStatus(Integer scoreStatus) {
|
|
|
+ this.scoreStatus = scoreStatus;
|
|
|
+ }
|
|
|
|
|
|
public static long getSerialVersionUID() {
|
|
|
return serialVersionUID;
|
|
@@ -300,62 +461,6 @@ public class Exam implements Serializable {
|
|
|
this.breakResumeCount = breakResumeCount;
|
|
|
}
|
|
|
|
|
|
- public Integer getLivenessActionCount() {
|
|
|
- return livenessActionCount;
|
|
|
- }
|
|
|
-
|
|
|
- public void setLivenessActionCount(Integer livenessActionCount) {
|
|
|
- this.livenessActionCount = livenessActionCount;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getLivenessActionRetryCount() {
|
|
|
- return livenessActionRetryCount;
|
|
|
- }
|
|
|
-
|
|
|
- public void setLivenessActionRetryCount(Integer livenessActionRetryCount) {
|
|
|
- this.livenessActionRetryCount = livenessActionRetryCount;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getEntryFaceVerify() {
|
|
|
- return entryFaceVerify;
|
|
|
- }
|
|
|
-
|
|
|
- public void setEntryFaceVerify(Integer entryFaceVerify) {
|
|
|
- this.entryFaceVerify = entryFaceVerify;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getEntryLivenessVerify() {
|
|
|
- return entryLivenessVerify;
|
|
|
- }
|
|
|
-
|
|
|
- public void setEntryLivenessVerify(Integer entryLivenessVerify) {
|
|
|
- this.entryLivenessVerify = entryLivenessVerify;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getConstantFaceVerify() {
|
|
|
- return constantFaceVerify;
|
|
|
- }
|
|
|
-
|
|
|
- public void setConstantFaceVerify(Integer constantFaceVerify) {
|
|
|
- this.constantFaceVerify = constantFaceVerify;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getConstantLivenessVerifyCount() {
|
|
|
- return constantLivenessVerifyCount;
|
|
|
- }
|
|
|
-
|
|
|
- public void setConstantLivenessVerifyCount(Integer constantLivenessVerifyCount) {
|
|
|
- this.constantLivenessVerifyCount = constantLivenessVerifyCount;
|
|
|
- }
|
|
|
-
|
|
|
- public Integer getConstantLivenessRetryCount() {
|
|
|
- return constantLivenessRetryCount;
|
|
|
- }
|
|
|
-
|
|
|
- public void setConstantLivenessRetryCount(Integer constantLivenessRetryCount) {
|
|
|
- this.constantLivenessRetryCount = constantLivenessRetryCount;
|
|
|
- }
|
|
|
-
|
|
|
public Integer getClientVideoPush() {
|
|
|
return clientVideoPush;
|
|
|
}
|
|
@@ -412,22 +517,6 @@ public class Exam implements Serializable {
|
|
|
this.reexamAuditing = reexamAuditing;
|
|
|
}
|
|
|
|
|
|
- public Integer getSelectStrategy() {
|
|
|
- return selectStrategy;
|
|
|
- }
|
|
|
-
|
|
|
- public void setSelectStrategy(Integer selectStrategy) {
|
|
|
- this.selectStrategy = selectStrategy;
|
|
|
- }
|
|
|
-
|
|
|
- public String getIpLimit() {
|
|
|
- return ipLimit;
|
|
|
- }
|
|
|
-
|
|
|
- public void setIpLimit(String ipLimit) {
|
|
|
- this.ipLimit = ipLimit;
|
|
|
- }
|
|
|
-
|
|
|
public Integer getShowObjectiveScore() {
|
|
|
return showObjectiveScore;
|
|
|
}
|
|
@@ -435,20 +524,4 @@ public class Exam implements Serializable {
|
|
|
public void setShowObjectiveScore(Integer showObjectiveScore) {
|
|
|
this.showObjectiveScore = showObjectiveScore;
|
|
|
}
|
|
|
-
|
|
|
- public Date getCreateTime() {
|
|
|
- return createTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setCreateTime(Date createTime) {
|
|
|
- this.createTime = createTime;
|
|
|
- }
|
|
|
-
|
|
|
- public Date getUpdateTime() {
|
|
|
- return updateTime;
|
|
|
- }
|
|
|
-
|
|
|
- public void setUpdateTime(Date updateTime) {
|
|
|
- this.updateTime = updateTime;
|
|
|
- }
|
|
|
}
|