# ItemInventoryDTO.java

    package cloud.wconnect.workperformance.pojo.dto.hkinventory;

    import jakarta.validation.constraints.NotNull;
    import lombok.Data;

    /**
     * 物品库存DTO
     *
     * @author lichen
     * @date 2025/4/21
     */
    @Data
    public class ItemInventoryDTO {

        /**
         * 物品id
         */
        @NotNull(message = "the itemId cannot be null")
        private Integer itemId;

        /**
         * 库存数量
         */
        @NotNull(message = "the inventory cannot be null")
        private Integer inventory;

    }