26 lines
431 B
PHP
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');
|
|
}
|
|
} |