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

/// 재고 현황 단건 조회 결과.
class InventoryDetail {
  const InventoryDetail({
    required this.product,
    required this.totalQuantity,
    required this.warehouseBalances,
    required this.recentEvents,
    this.updatedAt,
    this.lastRefreshedAt,
  });

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