From 79e45f0c0241b9ce4e761163c3a527688275da1a Mon Sep 17 00:00:00 2001 From: dankito Date: Tue, 27 Aug 2024 23:13:29 +0200 Subject: [PATCH] Added category to AccountTransaction --- .../net/codinux/banking/client/model/AccountTransaction.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountTransaction.kt b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountTransaction.kt index e6045afc..521da432 100644 --- a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountTransaction.kt +++ b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountTransaction.kt @@ -59,6 +59,7 @@ open class AccountTransaction( val relatedReferenceNumber: String? = null, var userSetDisplayName: String? = null, + var category: String? = null, var notes: String? = null, ) { override fun toString() = "${valueDate.dayOfMonth}.${valueDate.monthNumber}.${valueDate.year} ${amount.toString().padStart(4, ' ')} ${if (currency == "EUR") "€" else currency} ${otherPartyName ?: ""} - $reference"