osb/app/Models/Service/Host.php
2022-04-20 12:43:10 +10:00

26 lines
431 B
PHP

<?php
namespace App\Models\Service;
use App\Models\Base\ServiceType;
use App\Traits\ServiceDomains;
use App\Models\HostServer;
/**
* Class Host (Service)
* Services that are Web Hosting
*/
class Host extends ServiceType
{
use ServiceDomains;
protected $table = 'service_host';
protected $with = ['tld'];
/* RELATIONS */
public function provider()
{
return $this->belongsTo(HostServer::class,'host_server_id');
}
}