# AdjImportReportDTO.java

    package cloud.wconnect.frontoffice.pojo.dto.adjustment;

    import cloud.wconnect.commonlib.pojo.dto.group.Edition;
    import cloud.wconnect.frontoffice.pojo.group.Addition;
    import jakarta.validation.constraints.NotBlank;
    import lombok.Data;
    import org.hibernate.validator.constraints.Range;
    import org.springframework.web.multipart.MultipartFile;

    import jakarta.validation.constraints.NotNull;

    /**
     * 导入报告DTO
     *
     * @author lichen
     * @date 2023/9/28
     */
    @Data
    public class AdjImportReportDTO {

        /**
         * 数据开始日期
         */
        @NotNull(message = "The startDate cannot be null", groups = {Addition.class})
        private Long startDate;

        /**
         * 数据结束日期
         */
        @NotNull(message = "The endDate cannot be null", groups = {Addition.class})
        private Long endDate;

        /**
         * 来源OPERA、OTHER、SHIJI、PEP
         */
        @NotBlank(message = "The source cannot be blank", groups = {Addition.class, Edition.class})
        private String source;

        /**
         * 文件
         */
        @NotNull(message = "The file cannot be null", groups = {Addition.class, Edition.class})
        private MultipartFile file;

    }