# BudgetDatabaseErrorCons.java

    package cloud.wconnect.rateshop.cons.budgetdatabase;

    /**
     * @author: yyt
     * 2024-08-16
     */
    public class BudgetDatabaseErrorCons {

        // 完成状态下，预测数据不支持编辑
        public static String EDITING_NOT_SUPPORTED_FOR_COMPLETED_STATUS = "editing-not-supported-for-completed-status";

        // 指标参与计算时，不能修改预算数据
        public static String CANNOT_EDIT_BUDGET_DATA_FOR_CALCULATED_INDICATORS = "cannot-edit-budget-data-for-calculated-indicators";

        // reopen 后，历史月的预测数据不支持编辑
        public static String EDITING_NOT_SUPPORTED_FOR_REOPEN = "editing-not-supported-for-reopen";

        // 历史年份的数据不可以 Reopen
        public static String HISTORY_YEAR_NOT_SUPPORTED_REOPEN = "history-year-not-supported-reopen";

        // 不能选历史年
        public static String HISTORY_YEAR_NOT_SUPPORTED_CHOOSE = "history-year-not-supported-choose";

        // 不支持开启 room 计算
        public static String ENABLE_ROOM_FORMULA_FAIL = "enable-room-formula-fail";

        // F&B 下的 covers 只能开启 room / revenue 其中一个
        public static String ENABLE_FB_FORMULA_FAIL_FOR_COVERS = "enable-fb-formula-fail-for-covers";

        // 变量配置下的指标与当指标有循环依赖，请调整后再保存
        public static String ENABLE_VARIABLE_CONFIG_FAIL_FOR_LOOP_DEPENDENCY = "enable-variable-config-fail-for-loop-dependency";

        // revenue 类型，不能选择 covers 指标
        public static String REVENUE_TYPE_NOT_SUPPORT_COVERS = "revenue-type-not-support-covers";

        // room 类型，只能选择 room 指标
        public static String ROOM_TYPE_ONLY_SUPPORT_ROOM = "room-type-only-support-room";

    }