Files
2024-12-24 10:33:18 +01:00

30 lines
540 B
PHP

<?php
namespace Pterodactyl\Models\Bagou\Subdomain;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Domain extends Model
{
use HasFactory;
protected $fillable = [
'name',
'type',
'key',
'secret',
'displayType',
'consumer',
'cloudflare_id',
'ovh_api'
];
/**
* Get the subdomains for the domain.
*/
public function subdomains()
{
return $this->hasMany(Subdomain::class);
}
}