Added userSetDisplayName

This commit is contained in:
dankito 2020-08-30 23:38:20 +02:00
parent 8914d83ec6
commit c34d94118f
3 changed files with 8 additions and 2 deletions

View File

@ -22,6 +22,7 @@ open class EntitiesMapper {
)
mappedCustomer.id = customer.technicalId
mappedCustomer.userSetDisplayName = customer.userSetDisplayName
mappedCustomer.accounts = mapBankAccounts(customer.accounts, mappedCustomer)
@ -40,6 +41,7 @@ open class EntitiesMapper {
)
mappedCustomer.technicalId = customer.id
mappedCustomer.userSetDisplayName = customer.userSetDisplayName
mappedCustomer.accounts = mapBankAccounts(customer.accounts, mappedCustomer)
@ -66,6 +68,7 @@ open class EntitiesMapper {
)
mappedAccount.id = account.technicalId
mappedAccount.userSetDisplayName = account.userSetDisplayName
mappedAccount.bookedTransactions = mapTransactions(account.bookedTransactions, mappedAccount)
@ -87,6 +90,7 @@ open class EntitiesMapper {
)
mappedAccount.technicalId = account.id
mappedAccount.userSetDisplayName = account.userSetDisplayName
mappedAccount.bookedTransactions = mapTransactions(account.bookedTransactions, mappedAccount)

View File

@ -29,7 +29,8 @@ open class BankAccountEntity(
open var supportsInstantPaymentMoneyTransfer: Boolean = false,
open var bookedTransactions: List<AccountTransactionEntity> = listOf(),
open var unbookedTransactions: List<Any> = listOf(),
open var id: String = UUID.random().toString()
open var id: String = UUID.random().toString(),
open var userSetDisplayName: String? = null
) {

View File

@ -22,7 +22,8 @@ open class CustomerEntity(
var supportedTanProcedures: List<TanProcedure> = listOf(),
var selectedTanProcedure: TanProcedure? = null,
var tanMedia: List<TanMedium> = listOf(),
var id: String = UUID.randomUUID().toString()
var id: String = UUID.randomUUID().toString(),
var userSetDisplayName: String? = null
) {
internal constructor() : this("", "", "", "", "", "", "") // for object deserializers