|
@@ -17,6 +17,7 @@ import com.yh.saas.common.support.entity.BaseModel;
|
|
|
import lombok.Data;
|
|
|
import lombok.EqualsAndHashCode;
|
|
|
import lombok.experimental.Accessors;
|
|
|
+import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -110,10 +111,12 @@ public class ContractManagementInfo extends BaseModel<ContractManagementInfo> {
|
|
|
/**
|
|
|
* 交货日期(起)
|
|
|
*/
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date deliveryDateStart;
|
|
|
/**
|
|
|
* 交货日期(止)
|
|
|
*/
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date deliveryDateEnd;
|
|
|
/**
|
|
|
* 合同单价(元/每吨)
|
|
@@ -126,6 +129,7 @@ public class ContractManagementInfo extends BaseModel<ContractManagementInfo> {
|
|
|
/**
|
|
|
* 签订日期
|
|
|
*/
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date signingDate;
|
|
|
/**
|
|
|
* 状态标识
|
|
@@ -191,12 +195,14 @@ public class ContractManagementInfo extends BaseModel<ContractManagementInfo> {
|
|
|
* 开始时间
|
|
|
*/
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
@TableField(exist = false)
|
|
|
private Date startTime;
|
|
|
/**
|
|
|
* 结束时间
|
|
|
*/
|
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
+ @DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
|
@TableField(exist = false)
|
|
|
private Date endTime;
|
|
|
/**
|