From 97f4c8f1aeea0b973d302d25bbf60c82dddf9a8d Mon Sep 17 00:00:00 2001
From: tangzy <tangzy123456>
Date: Thu, 26 Aug 2021 09:56:50 +0800
Subject: [PATCH] 1.备案

---
 src/main/java/org/springblade/modules/system/entity/User.java |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 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 7f7ed61..bfe1a81 100644
--- a/src/main/java/org/springblade/modules/system/entity/User.java
+++ b/src/main/java/org/springblade/modules/system/entity/User.java
@@ -153,7 +153,9 @@
 	 * 入职时间
 	 */
 	@ApiModelProperty(value = "入职时间")
-	private String rtime;
+	@JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
+	@DateTimeFormat(pattern = "yyyy-MM-dd")
+	private Date rtime;
 
 
 	private String hold;
@@ -222,4 +224,12 @@
 	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;
+
 }

--
Gitblit v1.9.3