Bank Management System Class Diagram

Bank Management System Class Diagram

Let us see the Class Diagram of Bank Management System. We will show the attributes and functions of all the classes that are possible in this project.

Bank Management System  Class Diagram

List of classes

  1. Customer
  2. Bank
  3. ATM
  4. Account
  5. ATM transaction

 

class (customer)

Attributes/Variables of the class (customer)

Private Attributes/Variables:

There are the following private attributes in the mentioned class diagram.

  1. -customer_ password: varchar

Public Attributes/Variables

There are following public attributes in the mentioned class diagram.

  1. +customer_ id: int
  2. +customer_ name: string
  3. +customer_ email: string
  4. +customer_ phone No: string
  5. +customer_ username: string
  6. +customer_ address: string
  7. +customer_ card no: int

Functions of the class (customer)

There are following functions in the mentioned class diagram.

  1. +add_ customer()
  2. +delete_ customer()
  3. +edit_ customer()
  4. +search_ customer()
  5. +verify_ password()

 

class (Bank)

Attributes/Variables of the class (Bank)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently we are not willing to make the attributes private.

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

  1.  +code: int
  2. +address: int
  3. +name: string

Functions of the class (bank)

There are following functions in the mentioned class diagram.

+get_ Account()

 

class (ATM)

Attributes/Variables of the class (ATM)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

  1. +ATM_ location: int
  2. +ATM_ managed by int

Functions of the class (ATM)

There are the following functions in the mentioned class diagram.

  1. +deposit()
  2. +withdraw()
  3. +check_ balance()

 

class (Account)

Attributes/Variables of the class (Account)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

  1. +Account_ number: int
  2. +account_ balance: float
  3. +account_ description: int

Functions of the class (Account)

There are following functions in the mentioned class diagram.

  1. +add_ account()
  2. +delete_ account()
  3. +edit_ account()
  4. +search_ account()

class (ATM_ transaction)

Attributes/Variables of the class (ATM_ transaction)

Private Attributes/Variables:

We can assign private attributes/ values to this class, but suppose that currently, we are not willing to make the attributes private.

Public Attributes/Variables:

There are following public attributes in the mentioned class diagram.

+transaction_ id: int
+transaction_ date: int
+transaction_ type: int
+transaction_ amount: float
+post_ balance: float

Functions of the class (ATM transaction)

There are the following functions in the mentioned class diagram.

+modifies()

Important Links for class diagram

  1. Tutorial: Class Diagram 
  2. Exercise: Class Diagram of Projects
  3. MCQs: Class Diagram

Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)