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