export interface Orders {
  orders: Order[]
  total_count: number
  page: number
  limit: number
  total_pages: number
}

export interface Order {
  id: string
  order_number: string
  outlet_id: string
  user_id: string
  table_number: string
  order_type: string
  status: string
  subtotal: number
  tax_amount: number
  discount_amount: number
  total_amount: number
  notes: string | null
  metadata: {
    customer_name: string
  }
  created_at: string
  updated_at: string
  order_items: OrderItem[]
}

export interface OrderItem {
  id: string
  order_id: string
  product_id: string
  product_name: string
  product_variant_id: string | null
  product_variant_name?: string
  quantity: number
  unit_price: number
  total_price: number
  modifiers: any[]
  notes: string
  status: string
  created_at: string
  updated_at: string
}
