|
@@ -2,6 +2,7 @@ package com.caimei.www.pojo.baike;
|
|
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import lombok.Data;
|
|
import lombok.Data;
|
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.io.Serializable;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
import java.util.Date;
|
|
@@ -68,7 +69,7 @@ public class BaikeProduct implements Serializable {
|
|
/**
|
|
/**
|
|
* 上市时间
|
|
* 上市时间
|
|
*/
|
|
*/
|
|
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date marketTime;
|
|
private Date marketTime;
|
|
/**
|
|
/**
|
|
* 公司/厂商
|
|
* 公司/厂商
|
|
@@ -77,7 +78,7 @@ public class BaikeProduct implements Serializable {
|
|
/**
|
|
/**
|
|
* NMPA认证时间
|
|
* NMPA认证时间
|
|
*/
|
|
*/
|
|
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date nmpaTime;
|
|
private Date nmpaTime;
|
|
/**
|
|
/**
|
|
* 适应人群
|
|
* 适应人群
|
|
@@ -94,7 +95,7 @@ public class BaikeProduct implements Serializable {
|
|
/**
|
|
/**
|
|
* 发布时间
|
|
* 发布时间
|
|
*/
|
|
*/
|
|
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
private Date publishTime;
|
|
private Date publishTime;
|
|
/**
|
|
/**
|
|
* 是否置顶标识:0否,1是
|
|
* 是否置顶标识:0否,1是
|