# HkInventoryRoomType.java

    package cloud.wconnect.workperformance.entity.hkinventory;

    import com.baomidou.mybatisplus.annotation.*;
    import lombok.Getter;
    import lombok.Setter;
    import lombok.ToString;
    import lombok.experimental.Accessors;

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

    /**
     * <p>
     * 客房库存管理-房型表
     * </p>
     *
     * @author lichen
     * @since 2025-04-19
     */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("hk_inventory_room_type")
    public class HkInventoryRoomType implements Serializable {

        private static final long serialVersionUID = 1L;

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

        /**
         * 租户id
         */
        private Integer tenantId;

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

        /**
         * 库存id
         */
        private Integer hkInventoryId;

        /**
         * 分类id
         */
        private Integer categoryId;

        /**
         * 房型id
         */
        private Integer roomTypeId;

        /**
         * 房型名称
         */
        private String roomTypeName;

        /**
         * 房间数
         */
        private Integer totalRooms;

        /**
         * 总资产
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private BigDecimal totalBalance;

        /**
         * 需购买的总金额
         */
        @TableField(updateStrategy = FieldStrategy.ALWAYS)
        private BigDecimal requiredPurchaseAmount;
    }