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