<?php

namespace App\Models;

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

class Router extends Model
{
    use HasFactory;

    protected $fillable = [
        'name',
        'ip_address',
        'model',
        'os_version',
        'location',
        'status',
        'cpu_usage',
        'active_sessions',
        'last_seen',
    ];

    protected $casts = [
        'last_seen' => 'datetime',
    ];
}
