# RevenueCons.java

    package cloud.wconnect.rateshop.cons.revenue;

    /**
     * @author: yyt
     * 2024-03-23
     */
    public class RevenueCons {

        /**
         * 加
         */
        public static final int ADD = 1;

        /**
         * 减
         */
        public static final int SUBTRACT = 2;

        /**
         * 散客
         */
        public static final int TRANSIENT = 1;

        /**
         * 团客
         */
        public static final int GROUP = 2;

        /**
         * Contract
         */
        public static final int CONTRACT = 3;

        /**
         * 入住率计算规则配置 1:用房间数计算 ; 2:用报告中的入住率
         */
        public static final int USE_ROOMS_TO_CALCULATE = 1;

        /**
         * 系统采集
         */
        public static final int SYSTEM_CRAW = 0;

        /**
         * Daily Summary Final 对应的次日小时数
         */
        public static final int FINAL_OF_NEXT_DAYS_HOUR = 5;
        /**
         * 本资产录入
         */
        public static final int SELF_PROPERTY_MANUAL = 1;
        /**
         * 其他资产录入
         */
        public static final int ELSE_PROPERTY_MANUAL = 2;

        /**
         * 售罄的国际化code
         */
        public static final String I18N_SOLD_OUT = "revenue.sold-out";
        /**
         * 没有数据的国际化code
         */
        public static final String I18N_NO_DATA = "revenue.no-data";

        /**
         * 所有数据源
         */
        public static final String I18N_ALL_DATASOURCE = "rate-shop.datasource.all";
        /**
         * 所有平台
         */
        public static final String I18N_ALL_PLATFORM = "rate-shop.platform.all";

        /**
         * Daily Summary 2025-02-07
         */
        public static final String DAILY_SUMMARY_TITLE = "revenue.daily-summary-title";

        /**
         * 日期
         */
        public static final String DATE = "date";

        /**
         * 商业数据源
         */
        public static final String COMMERCIAL_DATA_SOURCE = "revenue.commercial-data-source";

        /**
         * final
         */
        public static final String FINAL = "revenue.final";

        /**
         * segment
         */
        public static final String SEGMENT = "segments";

        /**
         * totalRevenue
         */
        public static final String TOTAL_REVENUE = "totalRevenue";

        /**
         * totalBudget
         */
        public static final String TOTAL_BUDGET = "totalBudget";

        /**
         * 数据源
         */
        public static final String DATA_SOURCE = "revenue.dataSource";

        /**
         * 平台
         */
        public static final String PLATFORM = "revenue.platform";

    }