Added identifier
This commit is contained in:
parent
83dfd41784
commit
a6b2ed8729
|
@ -45,5 +45,7 @@ open class Holding(
|
||||||
|
|
||||||
val buyingDate: LocalDate? = null,
|
val buyingDate: LocalDate? = null,
|
||||||
) {
|
) {
|
||||||
|
val identifier: String by lazy { "${isin}_$wkn" }
|
||||||
|
|
||||||
override fun toString() = "$name $totalBalance $currency"
|
override fun toString() = "$name $totalBalance $currency"
|
||||||
}
|
}
|
Loading…
Reference in New Issue