# HourHotelPriceQuery.java

    package cloud.wconnect.rateshop.pojo.query.revenue;

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

    /**
     * 指定日期每小时房价的查询对象
     *
     * @author lichen
     * @date 2024/5/15
     */
    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    public class HourHotelPriceQuery {

        /**
         * 数据源ID
         */
        @Range(min = 1, max = 5, message = "The datasourceId must between in [1:google 2:expedia 3:optimand 4:Merlin 5:Lighthouse]")
        private Integer datasourceId;

        /**
         * 平台ID
         */
        @Range(min = 0, max = 7, message = "The platformId must between in [0:Brand 1:Booking.com 2:Priceline 3:Hotels.com 4:Expedia.com 5:Agoda 6:Optimand 7:Merlin]")
        private Integer platformId;

    }