export interface User {
  id: string;
  name: string;
  email: string;
  role: "buyer" | "admin";
}

export interface Product {
  id: string;
  name: string;
  sku: string;
  price: number;
  supplier: string;
  stock: number;
}

export interface Order {
  id: string;
  buyerId: string;
  items: OrderItem[];
  status: "pending" | "approved" | "shipped" | "delivered" | "cancelled";
  createdAt: string;
  total: number;
}

export interface OrderItem {
  productId: string;
  quantity: number;
  unitPrice: number;
}
