<?php

namespace Database\Seeders;

use App\Models\ExchangeRate;
use Illuminate\Database\Seeder;

class ExchangeRateSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        ExchangeRate::updateOrCreate(
            ['currency_code' => 'USD'],
            [
                'currency_name' => 'US Dollar',
                'rate' => 1600.00,
                'is_active' => true,
            ]
        );
    }
}
