<?php

namespace App\Models;

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

class SystemMetric extends Model
{
    use HasFactory;

    protected $table = 'system_metrics';

    protected $fillable = [
        'metric_name',
        'metric_value',
        'metric_unit',
        'status',
    ];

    protected $casts = [
        'metric_value' => 'decimal:2',
    ];
}
