osb/app/Models/Service/Domain.php

25 lines
422 B
PHP
Raw Normal View History

<?php
namespace App\Models\Service;
2022-04-19 07:07:39 +00:00
use App\Models\DomainRegistrar;
use App\Traits\ServiceDomains;
/**
* Class Domain (Service)
2022-04-19 07:07:39 +00:00
* Services that are managed Domain Names
*/
class Domain extends Type
{
2022-04-19 07:07:39 +00:00
use ServiceDomains;
2022-04-19 07:07:39 +00:00
protected $table = 'service_domain';
2020-02-10 11:07:46 +00:00
protected $with = ['tld'];
/* RELATIONS */
2020-02-19 12:37:45 +00:00
public function registrar()
{
return $this->belongsTo(DomainRegistrar::class,'domain_registrar_id');
}
}