clrghouz/app/Models/Zone.php

24 lines
314 B
PHP
Raw Normal View History

2019-04-26 04:30:00 +00:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Traits\ScopeActive;
2019-04-26 04:30:00 +00:00
class Zone extends Model
{
use ScopeActive;
2021-05-13 12:40:21 +00:00
/* RELATIONS */
public function domain()
{
return $this->belongsTo(Domain::class);
}
public function system()
{
return $this->belongsTo(System::class);
}
2019-04-26 04:30:00 +00:00
}