<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class RouterStat extends Model
{
    protected $fillable = ['router_id','cpu_load','rx_bps','tx_bps','free_memory','free_hdd','collected_at'];
    protected $casts = ['collected_at' => 'datetime'];
    public function router(){ return $this->belongsTo(Router::class); }
}
