|
|
@@ -1,5 +1,7 @@
|
|
|
package com.goafanti.common.model;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+
|
|
|
import java.io.Serializable;
|
|
|
import java.util.Date;
|
|
|
|
|
|
@@ -123,6 +125,7 @@ public class RestrictProject implements Serializable {
|
|
|
/**
|
|
|
* 锁定时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
public Date getLockTime() {
|
|
|
return lockTime;
|
|
|
}
|
|
|
@@ -137,6 +140,7 @@ public class RestrictProject implements Serializable {
|
|
|
/**
|
|
|
* 释放时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
public Date getReleaseTime() {
|
|
|
return releaseTime;
|
|
|
}
|
|
|
@@ -144,6 +148,7 @@ public class RestrictProject implements Serializable {
|
|
|
/**
|
|
|
* 释放时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
public void setReleaseTime(Date releaseTime) {
|
|
|
this.releaseTime = releaseTime;
|
|
|
}
|
|
|
@@ -151,6 +156,7 @@ public class RestrictProject implements Serializable {
|
|
|
/**
|
|
|
* 发起时间
|
|
|
*/
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
|
|
|
public Date getCreateTime() {
|
|
|
return createTime;
|
|
|
}
|