import 'inventory_event.dart';
import 'inventory_product.dart';
import 'inventory_warehouse_balance.dart';

/// 재고 현황 목록 항목 엔티티.
class InventorySummary {
  const InventorySummary({
    required this.product,
    required this.totalQuantity,
    required this.warehouseBalances,
    this.recentEvent,
    this.updatedAt,
    this.lastRefreshedAt,
  });

  final InventoryProduct product;
  final int totalQuantity;
  final List<InventoryWarehouseBalance> warehouseBalances;
  final InventoryEvent? recentEvent;
  final DateTime? updatedAt;
  final DateTime? lastRefreshedAt;
}
