0% found this document useful (0 votes)
21 views4 pages

Banking System - Drawio

The document describes a banking system with classes for bank, customer, bank accounts, credit cards and transactions. The bank class contains a list of customers, and customer classes contain lists of bank accounts and credit cards. Bank account classes have transactions and can be checking or savings accounts. Transactions have amounts and can be deposits or withdrawals.

Uploaded by

duyvub1206
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views4 pages

Banking System - Drawio

The document describes a banking system with classes for bank, customer, bank accounts, credit cards and transactions. The bank class contains a list of customers, and customer classes contain lists of bank accounts and credit cards. Bank account classes have transactions and can be checking or savings accounts. Transactions have amounts and can be deposits or withdrawals.

Uploaded by

duyvub1206
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

+

+
Bank

+ List<Customer> customer

+ getCustomer(); : List<Customer>

Use

Customer
Abstract BankAccount
+ long idNumber;
+ String CHECKING; Use + String fullName

+ String SAVINGS + List<BankAccount> listAccount;

+ List<CreditCarrd> listCard;
+ long accountNumber CreditCard Use

+ double balance + long idCard; + removeAccoutn(BankAccount) : void

+ List<Transaction> transactionList; + addAccount(BankAccount) : void

+ CreditCard credit;

+ abstact withdraw() : void Use

+ abstract deposit() : void

+ getHistoryTransaction() : String

Extends Extends Abtract Transaction

+ double amount;
Checking Saving
+ double beginAmount
+ withdraw() : void + withdraw() : void
+ double endAmount;
+ deposit() : void + deposit() : void
+ String typeTransaction

+ doTransaction() : void

Extends
Extends

Deposit
Withdraw
+ doTransaction() : void
+ doTransaction() : void

You might also like