hasOne(User::class, 'id', 'user_id'); } public function serviceUser() { return $this->hasOne(ServiceUser::class, 'user_id', 'user_id'); } }