# SaveRevenueRateFilterConfigDTO.java

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

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

    /**
     * @author: yyt
     * 2025-08-27
     */
    @Data
    public class SaveRevenueRateFilterConfigDTO {

        /**
         * 去年同期的数据源ID
         */
        @Range(min = 1, max = 5, message = "The datasourceIdLastYear must between in [1:Google 2:Expedia 3:Optimand 4:Merlin 5:Lighthouse]")
        private Integer datasourceIdLastYear;

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

        /**
         * 未来14天标准房价房价的数据源ID
         */
        @Range(min = 1, max = 5, message = "The datasourceIdNextDayBar must between in [1:Google 2:Expedia 3:Optimand 4:Merlin 5:Lighthouse]")
        private Integer datasourceIdNextDayBar;

        /**
         * 未来14天标准房价房价的平台ID
         */
        @Range(min = 0, max = 7, message = "The platformIdNextDayBar must between in [0:Brand 1:Booking.com 2:Priceline 3:Hotels.com 4:Expedia.com 5:Agoda 6:Optimand 7:Merlin]")
        private Integer platformIdNextDayBar;

        /**
         * 未来14天最低价的数据源ID
         */
        @Range(min = 1, max = 5, message = "The datasourceIdNextDayEbr must between in [1:Google 2:Expedia 3:Optimand 4:Merlin 5:Lighthouse]")
        private Integer datasourceIdNextDayEbr;

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

        /**
         * daily summary 的数据源ID。标准房价
         */
        @Range(min = 1, max = 5, message = "the datasourceIdDailySummary must be in [1:google 2:expedia 3:optimand 4:Merlin 5:Lighthouse]")
        private Integer datasourceIdDailySummary;

        /**
         * daily summary 的平台ID。标准房价
         */
        @Range(min = 0, max = 7, message = "the platformIdDailySummary must be in [0:Brand 1:Booking.com 2:Priceline 3:Hotels.com 4:Expedia.com 5:Agoda 6:Optimand 7:Merlin]")
        private Integer platformIdDailySummary;

    }