clrghouz/app/Models/Domain.php

19 lines
236 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use App\Traits\ScopeActive;
class Domain extends Model
{
use ScopeActive;
/* RELATIONS */
public function zones()
{
return $this->hasMany(Zone::class);
}
}