init
parent
9152c9927e
commit
2a5dd19caa
|
|
@ -1,5 +1,6 @@
|
|||
package org.qinan.safetyeval.client.review.request;
|
||||
|
||||
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.qinan.safetyeval.domain.constant.QualOnSiteReviewStatusEnum;
|
||||
|
|
@ -41,6 +42,7 @@ public class QualOnSiteReviewAddCmd implements Serializable {
|
|||
*/
|
||||
@ApiModelProperty(value = "现场审查开始时间", required = true)
|
||||
@NotNull(message = "现场审查开始时间不能为空")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private LocalDateTime reviewDateStart;
|
||||
/**
|
||||
* 审查地点
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@ public class QualOnSiteReviewUpdateCmd implements Serializable {
|
|||
* 现场审查开始时间
|
||||
*/
|
||||
@ApiModelProperty(value = "现场审查开始时间", required = true)
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm")
|
||||
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@NotNull(message = "现场审查开始时间不能为空")
|
||||
private LocalDateTime reviewDateStart;
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue