# BudgetDatabaseConfigRoomTabItem.java

    package cloud.wconnect.rateshop.entity.budgetdatabase;

    import cloud.wconnect.rateshop.pojo.bo.budgetdatabase.BudgetDataBaseCalculateChildRevenueBO;
    import cloud.wconnect.rateshop.pojo.bo.budgetdatabase.BudgetDataBaseCalculateChildRoomBO;
    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.annotation.TableField;
    import com.baomidou.mybatisplus.annotation.TableId;
    import com.baomidou.mybatisplus.annotation.TableName;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.ToString;
    import lombok.experimental.Accessors;

    import java.io.Serializable;
    import java.math.BigDecimal;
    import java.util.List;

    /**
     * <p>
     *
     * </p>
     *
     * @author yyt
     * @since 2025-11-10
     */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("budget_database_config_room_tab_item")
    public class BudgetDatabaseConfigRoomTabItem implements Serializable {

        private static final long serialVersionUID = 1L;

        @TableId(value = "id", type = IdType.AUTO)
        private Integer id;

        /**
         * 资产
         */
        private Integer propertyId;

        /**
         * room tab id
         */
        private Integer roomTabId;

        /**
         * 1、other，2、room
         */
        private Integer classification;

        /**
         * 1、散客，2、团客，3、contrct
         */
        private Integer type;

        /**
         * 名称
         */
        private String name;

        /**
         * 启用 Budget Revenue
         */
        private Boolean enableBudgetRevenue;

        /**
         * Budget Revenue 计算公式输入的值
         */
        private BigDecimal budgetRevenueInputValue;

        /**
         * 计算方式【+-*\/】
         */
        private Integer budgetRevenueCalculateMethod;

        /**
         * 变量配置 id
         */
        private Integer budgetRevenueVariableId;

        /**
         * 启用 Budget Room
         */
        private Boolean enableBudgetRoom;

        /**
         * Budget Room 计算公式输入的值
         */
        private BigDecimal budgetRoomInputValue;

        /**
         * 计算方式【+-*\/】
         */
        private Integer budgetRoomCalculateMethod;

        /**
         * 变量配置 id
         */
        private Integer budgetRoomVariableId;

        /**
         * 排序
         */
        private Integer sort;

        /**
         * 修改人
         */
        private Integer updatedBy;

        /**
         * 修改时间
         */
        private Long updatedTime;

        /**
         * 计算 revenue 依赖的指标
         */
        @TableField(exist = false)
        private List<BudgetDatabaseConfigRoomTabItem> roomItems;
        @TableField(exist = false)
        private List<BudgetDatabaseRoom> rooms;
        @TableField(exist = false)
        private List<BudgetDatabaseRoomOther> roomOthers;
        @TableField(exist = false)
        private List<BudgetDatabaseConfigFbTabItem> fbItems;
        @TableField(exist = false)
        private List<BudgetDatabaseFbRevenue> fbRevenues;
        @TableField(exist = false)
        private List<BudgetDatabaseConfigOtherTabItem> otherItems;
        @TableField(exist = false)
        private List<BudgetDatabaseOtherRevenue> otherRevenues;
        @TableField(exist = false)
        private List<BudgetDataBaseCalculateChildRevenueBO> bosForRevenue;

        @TableField(exist = false)
        private List<BudgetDataBaseCalculateChildRoomBO> bosForRooms;

        /**
         * 计算 rooms 依赖指标
         */
        @TableField(exist = false)
        private List<BudgetDatabaseConfigRoomTabItem> roomItemsForCalculatingRooms;
        @TableField(exist = false)
        private List<BudgetDatabaseRoom> roomsForCalculatingRooms;

        /**
         * old tab id
         */
        @TableField(exist = false)
        private Integer oldTabId;

        /**
         * old item id
         */
        @TableField(exist = false)
        private Integer oldItemId;

    }