From 7437ac0cf54055a421c347c7a80d6a56ab9f580b Mon Sep 17 00:00:00 2001 From: dankito Date: Thu, 22 Aug 2024 03:30:27 +0200 Subject: [PATCH] Made credentials readonly --- .../net/codinux/banking/client/model/AccountCredentials.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountCredentials.kt b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountCredentials.kt index df6e11c1..5afed2e9 100644 --- a/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountCredentials.kt +++ b/BankingClientModel/src/commonMain/kotlin/net/codinux/banking/client/model/AccountCredentials.kt @@ -4,9 +4,9 @@ import net.codinux.banking.client.model.config.NoArgConstructor @NoArgConstructor open class AccountCredentials( - var bankCode: String, - var loginName: String, - var password: String + val bankCode: String, + val loginName: String, + val password: String ) { override fun toString() = "$bankCode $loginName" } \ No newline at end of file