PlanetDto

data class PlanetDto(val id: Int, val name: String)

Data transfer object (DTO) representing a planet received from the remote API.

Constructors

Link copied to clipboard
constructor(id: Int, name: String)

Properties

Link copied to clipboard
val id: Int

The unique identifier of the planet.

Link copied to clipboard

The name of the planet.

Functions

Link copied to clipboard

Converts the PlanetDto to a PlanetRoomEntity for local database storage.