<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class SystemLog extends Model { /* RELATIONS */ public function mailer() { return $this->belongsTo(Mailer::class); } public function system() { return $this->belongsTo(System::class); } }