package com.mosty.base.model.dto.yjzl;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @author zhangzhao
 * @description 指导巡逻方格巡逻任务表导出DTO对象
 * @modifier zhangzhao
 * @modifiedTime 2025/05/13 10:52
 * @since 2025/05/13 10:52
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "TbZdxlFgxlrwExportDTO对象", description = "指导巡逻方格巡逻任务表导出DTO对象")
public class TbZdxlFgxlrwExportDTO {

    /**
     * 任务日期
     */
    @ApiModelProperty(value = "任务日期")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @NotNull(message = "zdxl.fgxlrw.rwRq.notNull")
    private Date rwRq;

}
