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

        /**
         * 年份
         */
        private Integer year;

        /**
         * 月份
         */
        private Integer month;

        /**
         * 状态1：Pending 2：Published
         */
        private Integer status;

        /**
         * 发布人，0表示系统发布
         */
        private Integer publishedBy;

        /**
         * 发布时间
         */
        private Long publishedTime;

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

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

        /**
         * 更新日志
         */
        private String updateLog;
    }