Added identifier

This commit is contained in:
dankito 2024-09-12 13:17:01 +02:00
parent 83dfd41784
commit a6b2ed8729
1 changed files with 2 additions and 0 deletions

View File

@ -45,5 +45,7 @@ open class Holding(
val buyingDate: LocalDate? = null,
) {
val identifier: String by lazy { "${isin}_$wkn" }
override fun toString() = "$name $totalBalance $currency"
}