package com.zioinfo.mall.inventory;

import lombok.Data;

import java.time.LocalDateTime;

/** 재고 (mall_inventory). productId/optionId 단위. ERP 연계 동기화. */
@Data
public class MallInventory {
    private Long id;
    private Long productId;
    private Long optionId;
    private String sku;
    private Integer onHand;          // 가용 재고
    private Integer reserved;        // 예약(주문 미출고)
    private Integer safetyStock;
    private String erpSyncStatus;    // SYNCED / PENDING / NONE
    private LocalDateTime updatedAt;
}
