export type MovementType = 'entrada' | 'saida' | 'ajuste';

export interface InventoryMovement {
  id: string;
  storeId: string;
  productId: string;
  productName: string;
  variationId?: string;
  type: MovementType;
  quantity: number;     // signed: + entrada, - saida
  reason: string;
  resultingStock: number;
  createdAt: string;
}

export interface LowStockItem {
  productId: string;
  productName: string;
  stock: number;
  minStock: number;
}
