<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class ApiRequestLog extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'endpoint', 'method', 'license_key', 'ip_address', 'domain',
        'response_code', 'success', 'failure_reason', 'response_time_ms',
        'nonce', 'created_at',
    ];

    protected $casts = [
        'success'    => 'boolean',
        'created_at' => 'datetime',
    ];
}
