# ImportReportDTO.java

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

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;
    import org.springframework.web.multipart.MultipartFile;

    import jakarta.validation.constraints.NotBlank;
    import jakarta.validation.constraints.NotNull;

    /**
     * 导入报告dto
     *
     * @author lichen
     * @date 2023/5/13
     */
    @Data
    public class ImportReportDTO {

        /**
         * 报告来源
         */
        @NotBlank(message = "The source cannot be blank")
        private String source;

        /**
         * 报告类型
         */
        @Range(min = 1,max = 3, message = "The reportType must be between 1:Arrivals Detailed/service and 2:Guest-In-House/service 3:Reservations – made Yesterday/service")
        @NotNull(message = "The reportType cannot be null")
        private Integer reportType;

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

    }