KTV/app/Models/MachineStatus.php

30 lines
709 B
PHP
Raw Normal View History

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
2025-05-22 12:21:31 +08:00
/**
* @OA\Schema(
* schema="MachineStatus",
* type="object",
* @OA\Property(property="hostname", type="string", example=""),
* @OA\Property(property="ip", type="string", example=""),
* @OA\Property(property="cpu", type="string"),
* @OA\Property(property="memory", type="string", example=""),
* @OA\Property(property="disk", type="string", example=""),
* @OA\Property(property="status", type="string", example=""),
* )
*/
class MachineStatus extends Model
{
protected $fillable = [
'hostname',
'ip',
'cpu',
'memory',
'disk',
'status',
];
}