package com.haha.entity.dto;

import lombok.Data;

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

/**
 * 补货建议响应VO
 * 根据设备层模版标准库存与当前实际库存，计算建议补货量
 */
@Data
public class ReplenishmentSuggestionVO {

    private String deviceId;
    private String deviceName;
    private Long shopId;
    private String shopName;
    private List<SuggestionItem> items;

    @Data
    public static class SuggestionItem {
        private Long productId;
        private String productCode;
        private String productName;
        private String productImage;
        private Integer templateStock;
        private Integer currentStock;
        private Integer suggestedQuantity;
        private Integer shelfNum;
        private String position;
        private BigDecimal unitPrice;
    }
}
