|
@@ -0,0 +1,194 @@
|
|
|
+package com.qmth.themis.business.entity;
|
|
|
+
|
|
|
+import com.baomidou.mybatisplus.annotation.FieldFill;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+
|
|
|
+import java.io.Serializable;
|
|
|
+import java.time.LocalDateTime;
|
|
|
+
|
|
|
+/**
|
|
|
+ * @Description: 异步任务
|
|
|
+ * @Param:
|
|
|
+ * @return:
|
|
|
+ * @Author: wangliang
|
|
|
+ * @Date: 2020/7/9
|
|
|
+ */
|
|
|
+@ApiModel(value = "t_oe_task_history", description = "异步任务")
|
|
|
+public class TOeTaskHistory implements Serializable {
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "主键")
|
|
|
+ @TableId(value = "id")
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "任务类型: calculate_exam_score: 考试重新算分 import_exam_student: 导入考生 import_exam_paper: 导入试卷 import_invigilate_user: 导入监考员 export_invigilate_user: 导出监考员")
|
|
|
+ @TableField("type")
|
|
|
+ private Integer type;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "关联业务对象ID")
|
|
|
+ @TableField("entity_id")
|
|
|
+ private Long entityId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "任务状态: init: 未开始 running: 开始执行 finish: 执行结束")
|
|
|
+ @TableField("status")
|
|
|
+ private Integer status;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "实时摘要信息")
|
|
|
+ @TableField("summary")
|
|
|
+ private String summary;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "执行进度")
|
|
|
+ @TableField("progress")
|
|
|
+ private Double progress;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "导入文件名")
|
|
|
+ @TableField("import_file_name")
|
|
|
+ private String importFileName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "导入文件路径")
|
|
|
+ @TableField("import_file_path")
|
|
|
+ private String importFilePath;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "结果文件路径")
|
|
|
+ @TableField("result_file_path")
|
|
|
+ private String resultFilePath;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "错误记录路径")
|
|
|
+ @TableField("error_file_path")
|
|
|
+ private String errorFilePath;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "创建人id")
|
|
|
+ @TableField("create_id")
|
|
|
+ private Long createId;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "创建时间")
|
|
|
+ @TableField(value = "create_time", fill = FieldFill.INSERT)
|
|
|
+ private LocalDateTime createTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "开始时间")
|
|
|
+ @TableField(value = "start_time")
|
|
|
+ private LocalDateTime startTime;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "结束时间")
|
|
|
+ @TableField(value = "finish_time")
|
|
|
+ private LocalDateTime finishTime;
|
|
|
+
|
|
|
+ public static long getSerialVersionUID() {
|
|
|
+ return serialVersionUID;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getId() {
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setId(Long id) {
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getType() {
|
|
|
+ return type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setType(Integer type) {
|
|
|
+ this.type = type;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getEntityId() {
|
|
|
+ return entityId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setEntityId(Long entityId) {
|
|
|
+ this.entityId = entityId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Integer getStatus() {
|
|
|
+ return status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStatus(Integer status) {
|
|
|
+ this.status = status;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSummary() {
|
|
|
+ return summary;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setSummary(String summary) {
|
|
|
+ this.summary = summary;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Double getProgress() {
|
|
|
+ return progress;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setProgress(Double progress) {
|
|
|
+ this.progress = progress;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getImportFileName() {
|
|
|
+ return importFileName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setImportFileName(String importFileName) {
|
|
|
+ this.importFileName = importFileName;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getImportFilePath() {
|
|
|
+ return importFilePath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setImportFilePath(String importFilePath) {
|
|
|
+ this.importFilePath = importFilePath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getResultFilePath() {
|
|
|
+ return resultFilePath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setResultFilePath(String resultFilePath) {
|
|
|
+ this.resultFilePath = resultFilePath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getErrorFilePath() {
|
|
|
+ return errorFilePath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setErrorFilePath(String errorFilePath) {
|
|
|
+ this.errorFilePath = errorFilePath;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getCreateId() {
|
|
|
+ return createId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateId(Long createId) {
|
|
|
+ this.createId = createId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getCreateTime() {
|
|
|
+ return createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setCreateTime(LocalDateTime createTime) {
|
|
|
+ this.createTime = createTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getStartTime() {
|
|
|
+ return startTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setStartTime(LocalDateTime startTime) {
|
|
|
+ this.startTime = startTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public LocalDateTime getFinishTime() {
|
|
|
+ return finishTime;
|
|
|
+ }
|
|
|
+
|
|
|
+ public void setFinishTime(LocalDateTime finishTime) {
|
|
|
+ this.finishTime = finishTime;
|
|
|
+ }
|
|
|
+}
|