|
@@ -1,5 +1,6 @@
|
|
|
package com.diagbot.dto;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import lombok.Data;
|
|
|
|
|
|
import java.io.Serializable;
|
|
@@ -36,6 +37,7 @@ public class BehospitalInfoDTO implements Serializable {
|
|
|
/**
|
|
|
* 出生日期
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date birthday;
|
|
|
|
|
|
/**
|
|
@@ -61,11 +63,13 @@ public class BehospitalInfoDTO implements Serializable {
|
|
|
/**
|
|
|
* 入院时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date behospitalDate;
|
|
|
|
|
|
/**
|
|
|
* 出院时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date leaveHospitalDate;
|
|
|
|
|
|
/**
|
|
@@ -101,6 +105,7 @@ public class BehospitalInfoDTO implements Serializable {
|
|
|
/**
|
|
|
* 评分时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date gradeTime;
|
|
|
|
|
|
private String directorDoctorName ;
|
|
@@ -110,5 +115,6 @@ public class BehospitalInfoDTO implements Serializable {
|
|
|
/**
|
|
|
* 归档时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date placefileDate;
|
|
|
}
|