export interface ExchangeRate {
  id: number;
  from_currency_id: number;
  to_currency_id: number;
  rate: number;
  effective_date: string;
  from_currency?: {
    id: number;
    code: string;
    name: string;
    symbol: string;
  };
  to_currency?: {
    id: number;
    code: string;
    name: string;
    symbol: string;
  };
  created_at?: string;
  updated_at?: string;
}

export interface CreateExchangeRate {
  from_currency_id: number;
  to_currency_id: number;
  rate: number;
  effective_date: string;
}
