Added identifier
This commit is contained in:
parent
83dfd41784
commit
a6b2ed8729
1 changed files with 2 additions and 0 deletions
|
@ -45,5 +45,7 @@ open class Holding(
|
|||
|
||||
val buyingDate: LocalDate? = null,
|
||||
) {
|
||||
val identifier: String by lazy { "${isin}_$wkn" }
|
||||
|
||||
override fun toString() = "$name $totalBalance $currency"
|
||||
}
|
Loading…
Add table
Reference in a new issue