<?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); } }