// ─── Supplier Price ─────────────────────────────────────────────

export interface SupplierPrice {
  id: number;
  partner_id: number;
  partner_name: string;
  partner_code: string;
  product_id: number;
  product_name: string;
  product_sku: string;
  product_variant_id: number | null;
  variant_name: string | null;
  currency_id: number | null;
  currency_code: string | null;
  price: string;
  min_quantity: string;
  lead_time_days: number | null;
  valid_from: string | null;
  valid_to: string | null;
  notes: string | null;
  is_preferred: boolean;
  created_at: string;
  updated_at: string;
}

export interface CreateSupplierPrice {
  partner_id: number;
  product_id: number;
  product_variant_id?: number | null;
  currency_id?: number | null;
  price: number;
  min_quantity?: number;
  lead_time_days?: number | null;
  valid_from?: string | null;
  valid_to?: string | null;
  notes?: string | null;
  is_preferred?: boolean;
}

export interface UpdateSupplierPrice extends Partial<CreateSupplierPrice> {}
