![]() ![]() Now we need to have a common implementation to map things from Entity->DTO and vice versa, Let’s call it BaseMapper.java and extend that when we need on separate aspects. Public interface BankAccountRepository extends JpaRepository package .dto } Repository Layer With JpaRepository package Private String = "account_id", referencedColumnName = "id") Private BigDecimal TransactionType transactionType Public class TransactionEntity = GenerationType.IDENTITY) ![]() Then we need to make a TransactionEntity.java table to keep all the banking core transactions in a single table. You understand that by checking the box to the Terms and Conditions, using or continuing to use these services, you agree to the terms and conditions of this. Public class UtilityAccountEntity = GenerationType.IDENTITY) Then UtilityAccountEntity.java to store third party utility payment numbers, Here this core banking service will send payments to defined number when user send a Utility payment with a reference from the internet banking side. SAVINGS_ACCOUNT, FIXED_DEPOSIT, LOAN_ACCOUNT Private String AccountType AccountStatus status Īccount Type and AccountStatus to maintain status and types as enums, package Public class BankAccountEntity = GenerationType.IDENTITY) ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |