mirror of
https://github.com/barkeser2002/pterodactyl-addons.git
synced 2026-09-25 13:05:56 +03:00
30 lines
540 B
PHP
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);
|
|
}
|
|
}
|