2025-01-15 16:11:15 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Models;
|
|
|
|
|
|
|
|
|
|
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
|
|
|
|
|
|
|
|
|
class DockerCleanupExecution extends BaseModel
|
|
|
|
|
{
|
2026-03-29 19:25:41 +00:00
|
|
|
protected $fillable = [
|
2026-03-30 11:35:35 +00:00
|
|
|
'server_id',
|
2026-03-29 19:25:41 +00:00
|
|
|
'status',
|
|
|
|
|
'message',
|
|
|
|
|
'cleanup_log',
|
|
|
|
|
'finished_at',
|
|
|
|
|
];
|
2025-01-15 16:11:15 +00:00
|
|
|
|
|
|
|
|
public function server(): BelongsTo
|
|
|
|
|
{
|
|
|
|
|
return $this->belongsTo(Server::class);
|
|
|
|
|
}
|
|
|
|
|
}
|