UserRoomEntity

data class UserRoomEntity(val id: Int = 0, var experience: Int = 0, var remoteId: Int = 0, var email: String = "", var name: String = "")

Room Entity representing a user in the local database.

Constructors

Link copied to clipboard
constructor(id: Int = 0, experience: Int = 0, remoteId: Int = 0, email: String = "", name: String = "")

Properties

Link copied to clipboard

The email address of the user.

Link copied to clipboard

The experience level of the user.

Link copied to clipboard
val id: Int = 0

The local database identifier for the user.

Link copied to clipboard

The name of the user.

Link copied to clipboard

The remote identifier of the user.

Functions

Link copied to clipboard

Converts a UserRoomEntity into a User domain model.