# ExportBadGuestQuery.java

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

    import lombok.Data;
    import org.hibernate.validator.constraints.Range;

    import jakarta.validation.constraints.NotNull;
    import java.util.List;

    /**
     * 导出黑名单的条件
     *
     * @author lichen
     * @date 2024/6/10
     */
    @Data
    public class ExportBadGuestQuery {

        /**
         * 入住日期开始时间
         */
        @NotNull(message = "The startCheckInDate cannot be null")
        private Long startCheckInDate;

        /**
         * 入住日期结束时间
         */
        @NotNull(message = "The endCheckInDate cannot be null")
        private Long endCheckInDate;

        /**
         * 查询的资产ID集合
         */
        private List<Integer> queryPropertyIds;

        /**
         * 黑名单类型1-住房客人 2-会议/宴会房间
         */
        @Range(min = 1, max = 2,message = "The type must between in [1:Guest check-in 2:Meeting/Banquet Rooms]")
        private Integer type;

    }