# RevenueImportCons.java

    package cloud.wconnect.rateshop.cons.revenue;

    import com.google.common.collect.Lists;

    import java.util.List;

    /**
     * @author yyt
     * 2023/10/30
     */
    public class RevenueImportCons {

        /**
         * History and Forecast
         */
        public static final int HISTORY_FORECAST = 1;
        public static final String HISTORY_FORECAST_NAME = "history-forecast";

        /**
         * History and Forecast Business Block
         */
        public static final int HISTORY_FORECAST_BUSINESS_BLOCK = 2;
        public static final String HISTORY_FORECAST_BUSINESS_BLOCK_NAME = "history-forecast-business-block";

        /**
         * Reservation Statistics
         */
        public static final int RESERVATION_STATISTIC = 3;
        public static final String RESERVATION_STATISTIC_NAME = "reservation-statistic";

        /**
         * Reservation Forecast
         */
        public static final int RESERVATION_FORECAST = 4;
        public static final String RESERVATION_FORECAST_NAME = "reservation-forecast";

        /**
         * Reservation Forecast for Next Month
         */
        public static final int RESERVATION_FORECAST_NEXT_MONTH = 5;
        public static final String RESERVATION_FORECAST_NEXT_MONTH_NAME = "reservation-forecast-next-month";

        /**
         * History and Forecast for Next Month
         */
        public static final int HISTORY_FORECAST_NEXT_MONTH = 6;
        public static final String HISTORY_FORECAST_NEXT_MONTH_NAME = "history-forecast-next-month";

        /**
         * Reservation Forecast for Next 14 Days
         */
        public static final int RESERVATION_FORECAST_NEXT_14_DAYS = 8;
        public static final String RESERVATION_FORECAST_NEXT_14_DAYS_NAME = "reservation-forecast-next-14-days";

        /**
         * History and Forecast yesterday and Next 90 days
         */
        public static final int HISTORY_AND_FORECAST_YESTERDAY_AND_NEXT_NINETY_DAYS = 9;
        public static final String HISTORY_AND_FORECAST_YESTERDAY_AND_NEXT_NINETY_DAYS_NAME = "history-and-forecast-yesterday-and-next-ninety-days";

        /**
         * Market Code
         */
        public static final int MARKET_CODE = 10;
        public static final String MARKET_CODE_NAME = "market-code";

        /**
         * Occ jump alert
         */
        public static final int OCC_JUMP_ALERT = 11;

        /**
         * History and Forecast This Month Future
         */
        public static final int HISTORY_FORECAST_THIS_MONTH_FUTURE = 12;
        public static final String HISTORY_FORECAST_THIS_MONTH_FUTURE_NAME = "history-forecast-this-month-future";

        /**
         * History and Forecast Next Month Future
         */
        public static final int HISTORY_FORECAST_NEXT_MONTH_FUTURE = 13;
        public static final String HISTORY_FORECAST_NEXT_MONTH_FUTURE_NAME = "history-forecast-next-month-future";

        /**
         * History and Forecast the month after next future
         */
        public static final int HISTORY_FORECAST_THIS_MONTH_AFTER_NEXT_FUTURE = 14;
        public static final String HISTORY_FORECAST_THIS_MONTH_AFTER_NEXT_FUTURE_NAME = "history-forecast-this-month-after-next-future";

        /**
         * Reservation Forecast next 90 days
         */
        public static final int RESERVATION_FORECAST_NEXT_90_DAYS = 16;
        public static final String RESERVATION_FORECAST_NEXT_90_DAYS_NAME = "reservation-forecast-next-90-days";

        /**
         * History and Forecast Business Block next 90 days
         */
        public static final int HISTORY_FORECAST_BUSINESS_BLOCK_NEXT_90_DAYS = 17;
        public static final String HISTORY_FORECAST_BUSINESS_BLOCK_NEXT_90_DAYS_NAME = "history-and-forecast-business-block-next-90-days";

        /**
         * Manager Flash
         */
        public static final int MANAGER_FLASH = 19;
        public static final String MANAGER_FLASH_NAME = "manager-flash";

        /**
         * Detailed Availability Next 14 Days
         */
        public static final int DETAILED_AVAILABILITY_NEXT_14_DAYS = 20;
        public static final String DETAILED_AVAILABILITY_NEXT_14_DAYS_NAME = "detailed-availability-next-14-days";

        /**
         * Rate Review
         */
        public static final int RATE_REVIEW = 21;

        /**
         * group pickup
         */
        public static final int GROUP_PICKUP_YESTERDAY = 22;
        public static final String GROUP_PICKUP_YESTERDAY_NAME = "group-pickup-yesterday";

        /**
         * History and Forecast from thirty days ago to yesterday
         */
        public static final int HISTORY_AND_FORECAST_FROM_THIRTY_DAYS_AGO_TO_YESTERDAY = 23;
        public static final String HISTORY_AND_FORECAST_FROM_THIRTY_DAYS_AGO_TO_YESTERDAY_NAME = "history-and-forecast-from-thirty-days-ago-to-yesterday";

        /**
         * reservation forecast this month
         */
        public static final int RESERVATION_FORECAST_THIS_MONTH = 24;
        public static final String RESERVATION_FORECAST_THIS_MONTH_NAME = "reservation-forecast-this-month";

        public static final List<Integer> OPERA_NOTIFY_TYPES = Lists.newArrayList(
                HISTORY_FORECAST,
                HISTORY_FORECAST_BUSINESS_BLOCK,
                RESERVATION_STATISTIC,
                RESERVATION_FORECAST,
                RESERVATION_FORECAST_NEXT_MONTH,
                HISTORY_FORECAST_NEXT_MONTH,
                RESERVATION_FORECAST_NEXT_14_DAYS,
                HISTORY_AND_FORECAST_YESTERDAY_AND_NEXT_NINETY_DAYS,
                MARKET_CODE,
                OCC_JUMP_ALERT,
                HISTORY_FORECAST_THIS_MONTH_FUTURE,
                HISTORY_FORECAST_NEXT_MONTH_FUTURE,
                HISTORY_FORECAST_THIS_MONTH_AFTER_NEXT_FUTURE,
                RESERVATION_FORECAST_NEXT_90_DAYS,
                HISTORY_FORECAST_BUSINESS_BLOCK_NEXT_90_DAYS,
                MANAGER_FLASH,
                DETAILED_AVAILABILITY_NEXT_14_DAYS,
                RATE_REVIEW,
                GROUP_PICKUP_YESTERDAY,
                HISTORY_AND_FORECAST_FROM_THIRTY_DAYS_AGO_TO_YESTERDAY
        );

        public static final List<Integer> SHI_JI_NOTIFY_TYPES = Lists.newArrayList(
                HISTORY_FORECAST,
                RESERVATION_FORECAST_NEXT_MONTH,
                HISTORY_FORECAST_NEXT_MONTH,
                RESERVATION_FORECAST_NEXT_14_DAYS,
                HISTORY_AND_FORECAST_YESTERDAY_AND_NEXT_NINETY_DAYS,
                MARKET_CODE,
                OCC_JUMP_ALERT,
                HISTORY_FORECAST_THIS_MONTH_FUTURE,
                HISTORY_FORECAST_NEXT_MONTH_FUTURE,
                HISTORY_FORECAST_THIS_MONTH_AFTER_NEXT_FUTURE,
                RESERVATION_FORECAST_NEXT_90_DAYS,
                MANAGER_FLASH,
                DETAILED_AVAILABILITY_NEXT_14_DAYS,
                RATE_REVIEW,
                GROUP_PICKUP_YESTERDAY,
                HISTORY_AND_FORECAST_FROM_THIRTY_DAYS_AGO_TO_YESTERDAY,
                RESERVATION_FORECAST_THIS_MONTH
        );
    }