PlanetRoomEntity

data class PlanetRoomEntity(val remoteId: Int = 0, val name: String, val ownerId: Int)

Room Entity representing a planet in the local database.

Constructors

Link copied to clipboard
constructor(remoteId: Int = 0, name: String, ownerId: Int)

Properties

Link copied to clipboard

The name of the planet.

Link copied to clipboard

The remote identifier of the user to whom the planet belongs.

Link copied to clipboard
val remoteId: Int = 0

The remote identifier of the planet.

Functions

Link copied to clipboard

Converts a PlanetRoomEntity into a Planet domain model.