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