# ImportGuestInHouseDTO.java

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

    import cloud.wconnect.commonlib.annotation.validator.inlist.InList;
    import jakarta.validation.constraints.NotBlank;
    import lombok.Data;

    import jakarta.validation.constraints.NotNull;
    import org.springframework.web.multipart.MultipartFile;

    /**
     * DTO: Import Guest In House
     *
     * @author yyt
     * 2023/7/28
     */
    @Data
    public class ImportGuestInHouseDTO {

        /**
         * 来源类型
         */
        @NotBlank(message = "the source must not be blank")
        private String source;

        /**
         * 报告类型（1：guest in house，4：credit limit）
         */
        @NotNull(message = "the type must not be null")
        @InList(intValue ={1, 4}, message = "the type must in [1: guest in house, 4: credit limit]")
        private Integer reportType;

        /**
         * 报告文件
         */
        @NotNull(message = "the file must not be null")
        private MultipartFile file;

    }