clrghouz/app/Models/SystemZone.php

21 lines
315 B
PHP
Raw Normal View History

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class SystemZone extends Model
{
protected $table = 'system_zone';
public $timestamps = FALSE;
public function system()
{
return $this->belongsTo(System::class);
}
public function zone()
{
return $this->belongsTo(Zone::class);
}
}