Currency Api Dashboard

TypeScript

Modern currency exchange rate dashboard with real-time market data, conversion tools, analytics, historical trends, and responsive admin interface.

Stars
18
Forks
1
Downloads
N/A
Open Issues
0
Files main

Repository Files

Loading file structure...
app/Models/Currency.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Currency extends Model
{
    protected $fillable = [
        'code',
        'name',
        'country',
        'flag',
        'flag_png',
        'flag_svg',
        'symbol',
        'rate',
        'active',
    ];

    protected $casts = [
        'rate' => 'float',
        'active' => 'boolean',
    ];

    protected $hidden = [
        'id',
        'created_at',
        'updated_at',
    ];
}