loading...
UML Diagram for a Banking System
Account
Attributes
id : Integer
balance : Double
owner : Customer
cards : List(Card)
transactions : List(Transaction)
Methods
addTransaction(Transaction transaction)
addCard(Card card)
removeCard(Card card)
Card
Attributes
number : Integer
cardType : String
expiryDate : Date
account : Account
Methods
validate() : Boolean
Customer
Attributes
name : String
address : String
phoneNumber : String
account : Account
Methods
Bank
Attributes
name : String
location : String
accounts : List(Account)
Methods
Transaction
Attributes
id : Integer
type : String
amount : Double
date : Date
account : Account
Methods
validate() : Boolean