<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class ExchangeRate extends Model
{
    use HasFactory;

    protected $fillable = ['base_currency', 'rates', 'recorded_at', 'updated_by', 'last_updated_at'];

    protected $casts = [
        'rates' => 'array',
    ];
}
