<?php
namespace App\Komma\Notifications;
use App\Komma\Roles\Role;
use Illuminate\Database\Eloquent\Model;
class Notification extends Model
{
/**
* @return $this
*/
public function Notification()
{
return $this->morphTo()->withTrashed();
}
/**
* @return mixed
*/
public function Role()
{
return $this->belongsTo(Role::class);
}
}