Files
ladill-servers/app/Models/DomainNsCheck.php
T
isaaccladandCursor b6c8ac343f Extract Ladill Servers as standalone app at servers.ladill.com.
VPS and dedicated server ordering, managed panels, SSO, billing, and launcher integration — forked from hosting infrastructure with server-focused routes and dashboard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 19:18:30 +00:00

44 lines
1.0 KiB
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class DomainNsCheck extends Model
{
use HasFactory;
protected $fillable = [
'domain_id',
'check_type',
'result',
'expected_nameservers',
'observed_nameservers',
'has_authoritative_answer',
'manual_records_total',
'manual_records_verified',
'status_before',
'status_after',
'state_before',
'state_after',
'notes',
'checked_at',
];
protected $casts = [
'expected_nameservers' => 'array',
'observed_nameservers' => 'array',
'has_authoritative_answer' => 'boolean',
'manual_records_total' => 'integer',
'manual_records_verified' => 'integer',
'checked_at' => 'datetime',
];
public function domain(): BelongsTo
{
return $this->belongsTo(Domain::class);
}
}