|
|
@@ -1,5 +1,6 @@
|
|
|
package com.railway.business.safetool.domain;
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.railway.common.core.domain.BaseEntity;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
@@ -56,9 +57,11 @@ public class BaseSafetyTool extends BaseEntity{
|
|
|
private String testCycleText;
|
|
|
|
|
|
@ApiModelProperty(value = "上次试验日期")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date lastTestDate;
|
|
|
|
|
|
@ApiModelProperty(value = "下次试验日期")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date nextTestDate;
|
|
|
|
|
|
@ApiModelProperty(value = "试验结果(0:失败1:成功)")
|
|
|
@@ -66,6 +69,7 @@ public class BaseSafetyTool extends BaseEntity{
|
|
|
private String testResult;
|
|
|
|
|
|
@ApiModelProperty(value = "实际试验时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date testDate;
|
|
|
|
|
|
@ApiModelProperty(value = "试验结果描述")
|
|
|
@@ -81,6 +85,7 @@ public class BaseSafetyTool extends BaseEntity{
|
|
|
private String scrapReason;
|
|
|
|
|
|
@ApiModelProperty(value = "报废时间")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date scrapDate;
|
|
|
|
|
|
@ApiModelProperty(value = "报废操作人")
|
|
|
@@ -92,6 +97,7 @@ public class BaseSafetyTool extends BaseEntity{
|
|
|
private String produceFactory;
|
|
|
|
|
|
@ApiModelProperty(value = "生产日期")
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date produceDate;
|
|
|
|
|
|
@ApiModelProperty(value = "del_flag")
|