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;
|
2021-06-14 05:46:18 +00:00
|
|
|
|
|
|
|
/* RELATIONS */
|
|
|
|
|
|
|
|
public function zones()
|
|
|
|
{
|
|
|
|
return $this->hasMany(Zone::class);
|
|
|
|
}
|
2021-05-13 12:40:21 +00:00
|
|
|
}
|