clrghouz/app/Models/Domain.php

19 lines
236 B
PHP
Raw Normal View History

2021-05-13 12:40:21 +00:00
<?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);
}
2021-05-13 12:40:21 +00:00
}