# ReportImportDTO.java

    package cloud.wconnect.rateshop.pojo.dto.rateshop;

    import jakarta.validation.constraints.NotBlank;
    import lombok.Data;
    import org.springframework.web.multipart.MultipartFile;

    import jakarta.validation.constraints.NotNull;

    /**
     * 导入报告DTO
     *
     * @author lichen
     * @date 2023/12/4
     */
    @Data
    public class ReportImportDTO {

        /**
         * 开始日期
         */
        @NotNull(message = "the startDate must not be null")
        private Long startDate;

        /**
         * 结束日期
         */
        @NotNull(message = "the endDate must not be null")
        private Long endDate;

        /**
         * 类型
         */
        @NotBlank(message = "The source cannot be blank")
        private String source;

        /**
         * 报告类型
         */
        @NotNull(message = "The reportType cannot be null")
        private Integer reportType;

        /**
         * 文件
         */
        @NotNull(message = "The file cannot be null")
        private MultipartFile file;

    }