package jnpf.model.cultivate.dto.identify;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;

@Data
public class IdentifyApplySetTimeAppDto {
    /**
     * 数据id
     */
    @NotBlank(message = "数据id不能为空")
    private String id;
    /**
     * 计划鉴定时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @NotBlank(message = "计划鉴定时间不能为空")
    private String time;
}