From cc057177b2fb17aee9a173a6adbabdc578fd74c7 Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Mon, 06 Dec 2021 10:30:44 +0800
Subject: [PATCH] 1.许可

---
 src/main/java/org/springblade/modules/exam/entity/ExamPaper.java |  109 ++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 89 insertions(+), 20 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..7754f7d 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 com.fasterxml.jackson.annotation.JsonFormat;
 import io.swagger.annotations.ApiModelProperty;
 import lombok.Data;
-import lombok.EqualsAndHashCode;
-import org.springblade.core.tenant.mp.TenantEntity;
+import org.springframework.format.annotation.DateTimeFormat;
 
+import java.io.Serializable;
 import java.util.Date;
 
 /**
@@ -31,40 +34,106 @@
  * @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;
 
 	/**
-	 * 发布日期
+	 * 考试类型  1 正式考试  2:模拟考试
 	 */
-	@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;
+
+	/**
+	 * 创建时间
+	 */
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
+	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+	private Date creatorDate;
+
+	/**
+	 * 备注
+	 */
+	private String remark;
+
+	/**
+	 * 培训考试id
+	 */
+	@TableField("train_exam_id")
+	private Long trainExamId;
+
+	/**
+	 * 审核状态   1:通过   2:不通过  3:待审核
+	 */
+	@TableField("audit_status")
+	private Integer auditStatus;
+
+	/**
+	 * 审核明细
+	 */
+	@TableField("audit_detail")
+	private String auditDetail;
+
+	/**
+	 * 审核时间
+	 */
+	@TableField("audit_time")
+	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
+	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+	private Date auditTime;
+
+	/**
+	 * 考场号id
+	 */
+	@TableField("exam_room_id")
+	private Integer examRoomId;
+
 
 }

--
Gitblit v1.9.3