whereUserId(Auth::id()); } public function user(): HasOne { return $this->hasOne(User::class, 'id', 'user_id'); } }