osb/app/Models/Service/Host.php

26 lines
431 B
PHP
Raw Normal View History

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