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