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

HistoricalPrice

data class HistoricalPrice

The historical price database entity.

Constructors

<init>

The historical price database entity.

HistoricalPrice(primaryKey: Long = 0, id: String, date: Long, price: Double)

Properties

date

The date when this share had this price.

val date: Long

id

The id of the asset.

val id: String

price

The price the share had on that date.

val price: Double

primaryKey

An automatically generated primary key.

val primaryKey: Long