From 8b375fe00a241b3a769b82fe3dac8d1c9dce8a02 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Thu, 16 Jun 2022 14:36:07 +0800
Subject: [PATCH] 模拟考试修改
---
src/main/java/org/springblade/modules/system/entity/User.java | 109 ++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 105 insertions(+), 4 deletions(-)
diff --git a/src/main/java/org/springblade/modules/system/entity/User.java b/src/main/java/org/springblade/modules/system/entity/User.java
index b8a6c9d..b539679 100644
--- a/src/main/java/org/springblade/modules/system/entity/User.java
+++ b/src/main/java/org/springblade/modules/system/entity/User.java
@@ -18,10 +18,12 @@
import com.baomidou.mybatisplus.annotation.TableField;
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.util.Date;
@@ -76,6 +78,8 @@
/**
* 生日
*/
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
private Date birthday;
/**
* 性别
@@ -124,7 +128,7 @@
* 身高
*/
@ApiModelProperty(value = "身高")
- private Float height;
+ private String height;
/**
* 联系电话
*/
@@ -141,7 +145,7 @@
@ApiModelProperty(value = "联系地址")
private String address;
/**
- * 户口所在地
+ * 身份证住址
*/
@ApiModelProperty(value = "户口所在地")
private String registered ;
@@ -149,11 +153,13 @@
* 入职时间
*/
@ApiModelProperty(value = "入职时间")
- private String rtime;
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ private Date rtime;
private String hold;
-
+ private Integer status;
/**
* 行政区域id
*/
@@ -163,6 +169,101 @@
*/
private String securitynumber;
+ /**
+ * 审查状态
+ */
+ @TableField("examination_type")
+ private String examinationType;
+ /**
+ * 审查明细
+ */
+ @TableField("examination_mx")
+ private String examinationMx;
+
+ /**
+ * 指纹url
+ */
+ private String fingerprint;
+
+ /**
+ * 是否采集照片
+ */
+ private String photo;
+
+ /**
+ * 是否派遣
+ */
+ private String dispatch;
+
+ /**
+ * 指纹特征
+ */
+ @TableField("my_picture")
+ private String myPicture;
+
+ /**
+ * 是否报名考试 1:是 2:否
+ */
+ @TableField("is_apply")
+ private Integer isApply;
+
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ private Date birthtime;
+
+ /**
+ * 是否报名培训 1:是 2:否
+ */
+ @TableField("is_train")
+ private Integer isTrain;
+ /**
+ * 健康状态 0:健康 1:良好 2:一般 3:较差
+ */
+ private String healstats;
+ private String soil;
+
+ /**
+ * 发证日期(保安证)
+ */
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
+ @TableField("paper_time")
+ private Date paperTime;
+ /**
+ * 离职原因
+ */
+ @TableField("reason_for_leav")
+ private String reasonForLeav;
+
+ private String holdv;
+
+ @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ private Date holdvtime;
+
+ /**
+ * 是否缴纳保险 0:是 1:否
+ */
+ private Integer insurance;
+
+ /**
+ * 审查时间
+ */
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
+ @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
+ @TableField("audit_time")
+ private Date auditTime;
+
+ /**
+ * 持枪编码
+ */
+ private String guncode;
+
+ /**
+ * 押运人员设备编号
+ */
+ @TableField("equipment_code")
+ private String equipmentCode;
}
--
Gitblit v1.9.3