belongsTo(User::class); } public function task() { return $this->belongsTo(Task::class); } }