hasMany('App\Models\Notification'); } public function task() { return $this->belongsTo('App\Models\Task'); } }