From 33a072160eda4fa7cb22d330c2bfa9048ad6c0e9 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 22 Jul 2021 14:11:50 +0800
Subject: [PATCH] 派遣记录接口修改
---
src/main/java/org/springblade/modules/exam/entity/ExamPaper.java | 71 ++++++++++++++++++++++++++---------
1 files changed, 53 insertions(+), 18 deletions(-)
diff --git a/src/main/java/org/springblade/modules/exam/entity/ExamPaper.java b/src/main/java/org/springblade/modules/exam/entity/ExamPaper.java
index 5b24b78..9391a7d 100644
--- a/src/main/java/org/springblade/modules/exam/entity/ExamPaper.java
+++ b/src/main/java/org/springblade/modules/exam/entity/ExamPaper.java
@@ -16,13 +16,16 @@
*/
package org.springblade.modules.exam.entity;
+import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;
+import java.io.Serializable;
import java.util.Date;
/**
@@ -31,40 +34,72 @@
* @author Chill
*/
@Data
-@EqualsAndHashCode(callSuper = true)
-@TableName("blade_notice")
-public class ExamPaper extends TenantEntity {
+@TableName("ksxt_exam")
+public class ExamPaper implements Serializable {
private static final long serialVersionUID = 1L;
/**
- * 标题
+ * ID
*/
- @ApiModelProperty(value = "标题")
- private String title;
+ @ApiModelProperty(value = "id")
+ @TableId(value = "id", type = IdType.AUTO)
+ private Long id;
/**
- * 通知类型
+ * 考试名称
*/
- @ApiModelProperty(value = "通知类型")
- private Integer category;
+ private String examName;
/**
- * 发布日期
+ * 考试类型
*/
- @ApiModelProperty(value = "发布日期")
- private Date releaseTime;
+ private Integer examType;
/**
- * 内容
+ * 注意事项
*/
- @ApiModelProperty(value = "内容")
- private String content;
+ private String examAttention;
/**
- * 单位id
+ * 考试开始时间
*/
- @TableField("dept_id")
- private Long deptId;
+ private Date startTime;
+
+ /**
+ * 考试结束时间
+ */
+ private Date endTime;
+
+ /**
+ * 时间区间
+ */
+ private String examTime;
+
+ /**
+ * 总分
+ */
+ private String totalScore;
+
+ /**
+ * 状态
+ */
+ private Integer examStatus;
+
+ /**
+ * 创建人
+ */
+ private String creator;
+
+ /**
+ * 创建时间
+ */
+ private Date creatorDate;
+
+ /**
+ * 备注
+ */
+ private String remark;
+
}
--
Gitblit v1.9.3