as Database Model
Converts the AuthenticatedUserDto to a UserRoomEntity for local database storage. This function might be useful when a user registers with no discovered planets yet.
Return
The UserRoomEntity representation of the authenticated user.
Converts the PlanetDto to a PlanetRoomEntity for local database storage.
Return
The PlanetRoomEntity representation of the planet.
Parameters
remote Id
The unique identifier of the user associated with the planet.
Converts the UserDto to a UserRoomEntity for local database storage.
Return
The UserRoomEntity representation of the user.