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/ApiLog.php
<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class ApiLog extends Model
{
    protected $table = 'api_logs';

    protected $fillable = [
        'token_id',
        'endpoint',
        'method',
        'ip_address',
        'status_code',
    ];

    public function token(): BelongsTo
    {
        return $this->belongsTo(Tokens::class, 'token_id');
    }
}