app / de.uniks.codliners.stock_simulator.domain / Achievement

Achievement

data class Achievement

Achievement database entity.

Constructors

<init>

Achievement database entity.

Achievement(name: Int, description: Int, reached: Boolean = false, timestamp: Long? = null, displayed: Boolean = false)

Properties

description

String resource that holds the description of the achievement.

val description: Int

displayed

Boolean that marks if the achievement has displayed to the user.

val displayed: Boolean

name

String resource that holds the name of the achievement.

val name: Int

reached

Boolean that marks if the achievement is reached.

val reached: Boolean

timestamp

Millisecond epoch of reached time of the achievement.

val timestamp: Long?