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

DepotQuotePurchase

data class DepotQuotePurchase

Depot quote purchase database entity.

Constructors

<init>

Depot quote purchase database entity.

DepotQuotePurchase(primaryKey: Long = 0, id: String, symbol: String, type: Type, amount: Double, buyingPrice: Double)

Properties

amount

The amount of this purchase.

val amount: Double

buyingPrice

The purchase price that was paid for the asset.

val buyingPrice: Double

id

The id of the asset.

val id: String

primaryKey

An automatically generated primary key.

val primaryKey: Long

symbol

The symbol of the asset.

val symbol: String

type

The asset's type.

val type: Type