# HkInventoryCategory.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_category")
    public class HkInventoryCategory 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;

        /**
         * 分类名称
         */
        private String categoryName;

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

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