14-04-2026
This commit is contained in:
parent
f58c709945
commit
0f82fea88a
72 changed files with 7414 additions and 148 deletions
24
app/Models/ProviderUptimeLog.php
Normal file
24
app/Models/ProviderUptimeLog.php
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class ProviderUptimeLog extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'provider',
|
||||
'is_up',
|
||||
'response_time_ms',
|
||||
'error_message',
|
||||
'checked_at',
|
||||
];
|
||||
|
||||
protected function casts(): array
|
||||
{
|
||||
return [
|
||||
'is_up' => 'boolean',
|
||||
'checked_at' => 'datetime',
|
||||
];
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue