|
@@ -1,5 +1,6 @@
|
|
|
package com.railway.business.safetool.domain;
|
|
package com.railway.business.safetool.domain;
|
|
|
|
|
|
|
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
import com.railway.common.core.domain.BaseEntity;
|
|
import com.railway.common.core.domain.BaseEntity;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
@@ -35,12 +36,15 @@ public class SecExperiment extends BaseEntity{
|
|
|
private Long schedledId;
|
|
private Long schedledId;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "截止时间")
|
|
@ApiModelProperty(value = "截止时间")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date endTime;
|
|
private Date endTime;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "送检日期")
|
|
@ApiModelProperty(value = "送检日期")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date scheduledTime;
|
|
private Date scheduledTime;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "送检日期")
|
|
@ApiModelProperty(value = "送检日期")
|
|
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd")
|
|
|
private Date expDate;
|
|
private Date expDate;
|
|
|
|
|
|
|
|
@ApiModelProperty(value = "状态,0待实验,1已实验")
|
|
@ApiModelProperty(value = "状态,0待实验,1已实验")
|
|
@@ -51,18 +55,4 @@ public class SecExperiment extends BaseEntity{
|
|
|
@Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
|
|
@Length(min = 1, max = 1, message = "【del_flag】长度必须介于 {min} 和 {max} 之间")
|
|
|
private String delFlag;
|
|
private String delFlag;
|
|
|
|
|
|
|
|
- @ApiModelProperty(value = "create_by")
|
|
|
|
|
- @Length(min = 1, max = 64, message = "【create_by】长度必须介于 {min} 和 {max} 之间")
|
|
|
|
|
- private String createBy;
|
|
|
|
|
-
|
|
|
|
|
- @ApiModelProperty(value = "update_by")
|
|
|
|
|
- @Length(min = 1, max = 64, message = "【update_by】长度必须介于 {min} 和 {max} 之间")
|
|
|
|
|
- private String updateBy;
|
|
|
|
|
-
|
|
|
|
|
- @ApiModelProperty(value = "update_time")
|
|
|
|
|
- private Date updateTime;
|
|
|
|
|
-
|
|
|
|
|
- public SecExperiment() {
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
}
|
|
}
|