|
@@ -1,6 +1,8 @@
|
|
|
package com.idea.customerManagement.model;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import lombok.Data;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
import java.io.Serializable;
|
|
|
import java.math.BigDecimal;
|
|
@@ -28,6 +30,8 @@ public class ContractManage implements Serializable {
|
|
|
|
|
|
private String institution;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date signingDate;
|
|
|
|
|
|
private BigDecimal housePrice;
|
|
@@ -42,6 +46,8 @@ public class ContractManage implements Serializable {
|
|
|
|
|
|
private Integer paymentMethod;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date deadline;
|
|
|
|
|
|
private BigDecimal maintenanceFunds;
|
|
@@ -56,8 +62,12 @@ public class ContractManage implements Serializable {
|
|
|
|
|
|
private String createdId;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date createdAt;
|
|
|
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
|
|
private Date updatedAt;
|
|
|
|
|
|
private String updatedId;
|