0% found this document useful (0 votes)
52 views61 pages

Madeeha Shah - Online Bank Management System

This document describes the design of an online bank management system. The system will use web architecture and be developed using Java, HTML, CSS and MySQL. It will allow users to manage bank accounts, make transactions, take loans, pay bills and exchange messages with employees. The system architecture includes modules for user management, account management, transaction management and more. Class diagrams, sequence diagrams and use cases are provided to explain the design. Data models and dictionaries are also included to describe the system's data objects and attributes.

Uploaded by

ghulam muhammad
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)
52 views61 pages

Madeeha Shah - Online Bank Management System

This document describes the design of an online bank management system. The system will use web architecture and be developed using Java, HTML, CSS and MySQL. It will allow users to manage bank accounts, make transactions, take loans, pay bills and exchange messages with employees. The system architecture includes modules for user management, account management, transaction management and more. Class diagrams, sequence diagrams and use cases are provided to explain the design. Data models and dictionaries are also included to describe the system's data objects and attributes.

Uploaded by

ghulam muhammad
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/ 61

Online Bank Management System

APRIL 9, 2018

<ONLINE BANK MANAGEMENT SYSTEM>


SOFTWARE DESIGN DESCRIPTION DOCUMENT

VERSION: 1.0

MADEEHA SHAH | ROLL NUMBER: 162104


SESSION: 2016-2018
<Khawaja fareed post graduate collage, Rahim Yar Khan>
Online Bank Management System

Revision History
Date Description Author Comments
09-04-2018 Version 1 Madeeha Shah

Document Approval
The following Software Requirements Specification has been accepted and approved by the following:

Signature Printed Name Title Date


Sir. USMAN GHANNI Supervisor, CSIT 21306 09-04-2018

i
Online Bank Management System

Table of Contents

1. INTRODUCTION ..................................................................................................................................................... 1
1.1 Purpose ...............................................................................................................................................................1
1.2 Scope ..................................................................................................................................................................1
1.3 Overview ............................................................................................................................................................ 1
1.4 Reference Material ............................................................................................................................................. 1
1.5 Definitions and Acronyms..................................................................................................................................2
2. SYSTEM OVERVIEW 2
2.1 Technologies Used ..................................................................................................................................................2
2.2 Application Overview 2

2.3 Design Languages 2

2.4 Assumptions 2

2.5 General Constraints 2

2.6 System Environment 2


3. SYSTEM ARCHITECTURE .................................................................................................................................... 3
3.1 Architectural Design 3

3.1.1 Web Architecture 3

3.1.2 Block Diagram 4

3.2 Decomposition Description 4

3.2.1 Generalization, Aggregation 4

3.2.1.1 User Management 5

3.2.1.2 Account Management 6

3.2.1.3 Message Management 7

3.2.1.4 Overall Class Diagram 8

3.2.2 Sequence Diagrams 9

3.2.2.1 Login Details 9

3.2.2.2 Account 9

3.2.2.3 Money Transaction 10

3.2.2.4 Supply 11

ii
Online Bank Management System

3.2.3 Use Cases 12

3.2.3.1 Login User 12

3.2.3.2 Create Account 13

3.2.3.3 Update Account 14

3.2.3.4 Delete Account 15

3.2.3.5 Deposit Money 16

3.2.3.6 Withdraw Money 17

3.2.3.7 Transfer Money 18

3.2.3.8 ATM 19

3.2.3.9 Cheque Book 20

3.2.3.10 Utility Bills 21

3.2.3.11 Loan 22

3.2.3.12 Message 23

3.2.3.13 Add Employee 24

3.2.3.14 Update Employee 25

3.2.3.15 Delete Employee 26

3.2.3.16 Purchase Item 27

3.2.3.17 Purchase Return 28

3.2.3.18 View Reports 29

3.2.3.19 Supply 30

3.2.4 Activity Diagrams 31

3.2.4.1 Login Details 31

3.2.4.2 Account 32

3.2.4.3 Money Transaction 33

3.2.4.4 Loan 34
3.3 Design Rationale 35
4. DATA DESIGN 35
4.1 Data Description 35
4.1.1 Data Objects 35

iii
Online Bank Management System

User: 35

Admin: 35

Account: 36

Employee: 36

Bank: 36

Loan: 36

Money Transaction: 37
4.2 Data Dictionary 37
4.2.1 User 37

4.2.2 Admin 38

4.2.3 Employee 38

4.2.4 Bank 38

4.2.5 Money Transaction 38

4.3 Relational and complete Data Model 39


5. COMPONENT DESIGN 39
5.1 Objects 39

5.1.1 Login 40

5.1.2 User 42

5.1.3 Employee 44

5.1.4 Account 45

5.1.5 Bank 47

5.1.6 Message 49
6. HUMAN INTERFACE DESIGN 50
6.1 Overview of User Interface 50
6.2 Screen Objects and Actions 50
6.2.1 Registration Screen 50

6.2.2 Login Screen 50

6.2.3 Reset Password 51

6.2.4 Create Account 51

6.2.5 Update Account 52

iv
Online Bank Management System

6.2.6 Delete Account 52

6.2.7 Loan 53

6.2.8 Money Transaction 54


7. REQUIREMENTS MATRIX 55

v
Online Bank Management System

1. INTRODUCTION
1.1 Purpose
The basic idea to create this document is to illustrate the software design document of online
bank management system. That describes the functionality of proposed system and how to
operate this system. This document designs both functional and non-functional requirements for
proposed system. The intended Users of this document Includes the system users, owner,
administrator, employees.
This document is helpful for analyst, manager, designer, developer, Tester. The system analyst
uses this SDD to communicate with user. Manager assigns a task to team of developer with the
help of this document. Designer design the model of a system according to the requirements
embedded in this document. Developer develops the software that meets the requirement
mention in SDD. SDD also used by the tester to ensure that it meets requirements described in
requirement document.

1.2 Scope
Online Bank Management System is the website from which users can send or receive payment.
Online banking with the financial technology companies, e-commerce names, big data firms, and
cloud based software and service, the digital element is truly revolutionizing things, quite
quickly and effectively and it becomes even more relevant to take a moment to contemplate
where the banking sector.
Online Bank Management System Manage your cash flow more effectively. Online banking take
full advantage of discounted payment terms. Online banking Allow your employees to prepare
the transactions, Access all your accounts at any time, even outside office hours, carry out your
foreign currency transactions. Online Bank Management System simplifies your account
reconciliation and Make investments online.

1.3 Overview
First section contain introduction of the project, second section of SDD contain system overview,
in this section describe overall system in high level definition. Third section contains system
architecture of the project, main components and its sub components are define in section three.
Four sections contain data design in this section design the system using Entity Relationship
Diagram and Data Flow Diagram etc. Section five contains component design, in which different
comments are design. Section six of the SDD contains Human Interface Design and Last section
contains the Requirements Matrix.

1.4 Reference Material


IEEE Std 1016-1998.

SDD Document 1.0 Page 1 09/04/2018


Online Bank Management System

1.5 Definitions and Acronyms


SDD: Software Design Document
SRS: Software Requirement Specification
DB: Database
PHP: Personal home page.

2. SYSTEM OVERVIEW
2.1 Technologies Used
We will use MYSQL for database. CSS is used to make the front-end of the site and MY SQL
database and PHP are used for back-end. My SQL database is used to save the records of user,
products and orders, when register a new user on this site, then system save his/her record for
later used when he/she log in. PHP is used for communication between user and bank.
2.2 Application Overview
The main goal of the project is to enable user to create account online. Users can send or receive
payment online. User performs money transaction online and get loan online. This project gives
the user to an application account and by using this; user can use functionalities of the
application easily.
2.3 Design Languages
Unified Modeling Language (UML) is used during development of online bank management
system. Entity Relationship diagram, Data Flow Diagrams, Class Diagrams, Activity Diagrams,
Sequence Diagrams and State Machine Diagrams are used during development of online bank
management system and all these diagrams are types of UML (Unified Modeling Language).
2.4 Assumptions
The user of the web application will have the laptop or desktop computer and internet
connection along with a current multi‐media web browser to view the application. All these
things are important to use online bank management system.
2.5. General Constraints
The application will be completed using a MYSQL relational database. The developer of the
application requires a local web server for testing to include Apache Web Server 2.0, PHP 5.0
and MYSQL 5.1.
2.6. System environment
The application is designed to work on all operating systems that can support a current
web browser.

SDD Document 1.0 Page 2 09/04/2018


Online Bank Management System

3. SYSTEM ARCHITECTURE
3.1 Architectural Design
Online Bank Management System contains different modules. These modules are combined to
provide services to user. Online Bank Management System includes various modules such as
Account, Money Transaction, Loan. Online Bank Management System Register a new user to
provide more rights than a simple user of the site. Registered user also open account and can
perform money transaction. Money Transaction module perform different activities such as
Deposit Money, Withdraw, Money and Transfer Money. Account module is used to create
account, Update account, Delete account. Loan module provides the loan to the user online. User
can get the information about his/her balance. All these modules are combined to achieve entire
functionality of Online Bank Management System.
3.1.1 Web Architecture

Internet, Web Application, Web Server and Database are used in Online Bank Management
System. Desktop computer or Laptop connects with internet. Using Web Application
communication with Web Server, Web Server further communicate with Database to save data
into database or get data from database.
Internet

Web
Application

Web Server

Database

Web Architecture Diagram of Online Bank Management System

SDD Document 1.0 Page 3 09/04/2018


Online Bank Management System

3.1.2 Block Diagram

User User User User User

Login Account Money Message Loan


Transaction

Online Bank Management


System

Web Server

Database

3.2 Decomposition Description

3.2.1 Generalization, Aggregation

SDD Document 1.0 Page 4 09/04/2018


Online Bank Management System

3.2.1.1 User Management

User
-userName: string
-accountNumber: integer
-address: string
-dateOfBirth: integer
-cnic: integer

+createAccount()
+depositMoney()
+WithdrawMoney()
+BorrowLoan()
+purchaseItem()
+returnItem()
+accountType()
+loanType()

Administrator Employee
-id: integer -empName: string
-name: char -id: integer
-address: string -adress: string
-dateOfBirth: integer -dateOfBirth: integer
-contactNumber: integer -contactNumber: integer
-cnic: integer -cnic: integer

+addAccount() +collectMoney()
+updateAccount() +openAccount()
+deleteAccount() +closeAccount()
+provideInformation() +provideInformation()
+fulfillLoanRequest() +fullfillLoanRequest()
+addEmployee()
+updateEmployee()
+deleteEmployee()

SDD Document 1.0 Page 5 09/04/2018


Online Bank Management System

3.2.1.2 Account Management

User
-userName: string Account
-accountNumber: integer
-address: string -accountNumber: string
-phoneNumber: integer -balance: integer
-dateOfBirth: integer -userName: string
-userId: integer -userContacNumber: integer
-userCnic: integer
+createAccount()
+createAccount() +updateAccount()
*
+depositMoney() 1 +deleteAccount()
+withdrawMoney() +returnBalance()
+updateAccount() +accountType()
+deleteAccount()
+borrowLoan()
+applyForOnlineBanking()
+purchaseItem()
+returnItems()
+accoutType()
+loanType()

CurrentAccount SavingAccount
-accountNumber: Integer -accountNumber: Integer
-balance: Integer -balance: Integer
-userName: String -userName: String
-userContactNumber: Integer -userContactNumber: Integer
+transaction() +transaction()
+deposite() +deposite()
+withdraw() +withdraw()

SDD Document 1.0 Page 6 09/04/2018


Online Bank Management System

3.2.1.3 Message Management

Bank
Message
-customerDetail: String
-rulesAndRegulations: String -bankId: Integer
-transactionType: String -name: Character
-transactionDate: Integer
-transactionTime: Integer +accountBalance()
1..* +balanceDetail()
+provideLoan() 1
+updateDetail()
+collectMoney()
+moneyTransaction() 1..* User
+showBalance()
+checkBalance() -userName: String
1 -accountNumber: Integer
+issueReceipt()
-address: String
-dateOfBirth: Integer
-userId: Integer
-phoneNumber: Integer
-userCnic: Integer
+createAccount()
+depositeMoney()
+withdrawMoney()
+borrowLoan()
+accountType()
+loanType()

SDD Document 1.0 Page 7 09/04/2018


Online Bank Management System

3.2.1.4 Overall Class Diagram

User
LoginDetails
-userName: string
-accountNumber: integer -emailId: string
-address: string -password: string
-phoneNumber: integer
-dateOfBirth: integer +setEmailId(email: string)
-userId: integer +getEmailId()
-userCnic: integer +setPassword(psw: string)
+getPassword()
+createAccount() +login()
+depositMoney() +logout()
+withdrawMoney() +forgetPassword()
+updateAccount() +passwordSend()
+deleteAccount()
+borrowLoan()
+applyForOnlineBanking() 1
Account
+purchaseItem()
+returnItems() -accountNumber: string
+accoutType() * -balance: integer
+loanType() -userName: string
-userContacNumber: integer

1 +createAccount()
+updateAccount()
+deleteAccount() Bank
+returnBalance()
+accountType() * -customerDetail: string
-rulesAndRegulations: string
-transactionType: string
1..* 1 +transactionDate: integer
+transactionTime: integer
Message +provideLoan()
-bankId: Integer 1 +updateDetails()
-name: String +collectMoney()
1..* +moneyTransaction()
1 +showBalance()
+accountBalance()
+balanceDetail() +checkBalance()
+issueReciept()
ChequeRequests
*
-accountNumber: string
-accountName: string
-dateRequest: string
-status: string
+sendRequest()

SDD Document 1.0 Page 8 09/04/2018


Online Bank Management System

3.2.2 Sequence Diagrams


3.2.2.1 Login Detail

: User : LoginDetails
1 : Login()

2 : VerifyDetails()

3 : Successfull()

4 : ErrorMessage()

5 : ForgetPassword()

6 : GetSecretInformation()

7 : PasswordSend()

8 : WrongInformation()

3.2.2.2 Account

: Account
: User

1 : CreateAccount()

2 : Verify/TakeInformation()

3 : EnterAccountType()
4 : AccountType()
5 : SuccessfullyCreated()
6 : ReturnBalance()

7 : CheckBalance()
8 : GiveInformationAboutBalance()

9 : UpdateAccount()

10 : SuccessfullyUpdated()

11 : DeleteAccount()

12 : SuccessfullyDeleted()

SDD Document 1.0 Page 9 09/04/2018


Online Bank Management System

3.2.2.3 Money Transaction

: Customer : Bank

1 : password()

2 : VerifyPassword()

3 : View account details()

4 : Withdraw money()

5 : Deposit money()

6 : Issue receipt()

7 : Check balance()

8 : Show balance()

9 : BorrowLoan()

10 : LoanType()

11 : GiveInformationAboutLoan()

12 : GetLoan()

SDD Document 1.0 Page 10 09/04/2018


Online Bank Management System

3.2.2.4 Supply

: Bank : Supplier : User

1 : Give order to pack product()

2 : Packing()

3 : Inform packing completed()

4 : Give customer's detail()

5 : Checking product()

6 : Supply product()

7 : Counting()

8 : Pay bill()

9 : Take signature()

SDD Document 1.0 Page 11 09/04/2018


Online Bank Management System

3.2.3 Use Cases


3.2.3.1 Login User

System

Login

User User

Actor User

Description User enters ID and Password for login.

1. System must be connected with the backend system.


Pre-conditions 2. User should enter his Name and Password.
3. System must be inquired his Admin level.
4. All mandatory fields should be filled appropriately
1. User enters correct name and password.
Steps 2. System integrates with Back end system successfully and provided
information is match with existed information.
3. Main system is open correctly.

1. System should be loaded main class according to his level.


Post-condition 2. Login system close and control shifted to main.

SDD Document 1.0 Page 12 09/04/2018


Online Bank Management System

3.2.3.2 Create Account

System

Add Account

Administrator Administrator

Actors Administrator

Administrator can create Account.


Description
1. System must be connected with the backend system.
Pre-conditions 2. User should correctly add new account by entering user name,
password, ID.
3. User must have a unique Name, Password and Working level.
4. All mandatory fields should be filled appropriately.

Steps 1. Administrator enters name, password and ID of the new user.


2. Now account successfully added.

Post-conditions A verification message is displayed.

SDD Document 1.0 Page 13 09/04/2018


Online Bank Management System

3.2.3.3 Update Account

System

Login

<<include>>

Update Account
Administrator Administrator
<<include>>

log out

Actor Administrator

Description Administrator can update the Account.


1. System must be connected with the back end system.
Pre-Conditions 2. Administrator must open required user form for editing.

Steps 1. Administrator selects the “User Account” from the user view.
2. Then enter the new information in Update form.
3. Then click on “Update” button.
4. Account is successfully updated.
1. Now all information of account is saved
Post-Conditions 2. Account information is edited
3. Now account information form is also updated

SDD Document 1.0 Page 14 09/04/2018


Online Bank Management System

3.2.3.4 Delete Account

System

Login

<<include>>

Delete Account
Administrator Administrator
<<include>>

log out

Actor Administrator

Description Administrator can delete the Account.


1. System must be connected with the back end system.
Pre-Conditions 2. Administrator must open required user form for deleting.

Steps 1. Administrator selects the “User Account” from the user view.

2. Then click on “Delete” button.

3. Account is successfully deleted.


1. Now all information of deleted account is saved
Post-Conditions 2. Now account information form is also deleted

SDD Document 1.0 Page 15 09/04/2018


Online Bank Management System

3.2.3.5 Deposit Money


System

Login

<<include>>

Deposit Money
User <<include>> User

log out

Actor User

Description User can deposit money online in the account.

1. System must be connected with the backend system.


Pre-Conditions 2. User should correctly deposit money by entering user name,
password, ID.
3. User must have a unique Name, Password and ID.
4. All mandatory fields should be filled appropriately

Steps 1. User select the “deposit Money” option from the menu and enter
his/her account detail.
2. Then presses the “Save” button to deposit money

1. Now all information of deposit money in account is saved.


Post-Conditions 2. Then Money will be deposited in account.

SDD Document 1.0 Page 16 09/04/2018


Online Bank Management System

3.2.3.6 Withdraw Money

System

Login

<<include>>

Withdraw Money
User <<include>> User

log out

Actor User

Description User can withdraw money online from the account.

5. System must be connected with the backend system.


Pre-Conditions 6. User should correctly withdraw money by entering user name,
password, ID.
7. User must have a unique Name, Password and ID.
8. All mandatory fields should be filled appropriately

Steps 3. User Select the “withdraw Money” option from the menu and
enter his/her account detail.
4. Then presses the “Save” button to withdraw money

1. Now all information of Withdraw money in account is saved.


Post-Conditions 2. Then Money will be deposited in account.

SDD Document 1.0 Page 17 09/04/2018


Online Bank Management System

3.2.3.7 Transfer Money

System

Login

<<include>>

Transfer Money
User <<include>> User

log out

Actor User

Description Users can transfer money online from their account to other
account.
1. System must be connected with the backend system.
Pre-Conditions 2. User should correctly transfer money by entering user name,
password, ID.
3. User must have a unique Name, Password and ID.

4.All mandatory fields should be filled appropriately

Steps 1. User select the “transfer Money” option from the menu and
enter his/her account detail.

2. Then presses the “Save” button to transfer money.


1. Now all information of transferred money from account is
Post-Conditions saved.
2. Then Money will be transfer from account.

SDD Document 1.0 Page 18 09/04/2018


Online Bank Management System

3.2.3.8 ATM

System

ATM

User

Actor User

Description Users can use ATM online.


1. System must be connected with the backend system.
Pre-Conditions 2. User should correctly use ATM by entering user name,
password, ID.
3. User must have a unique Name, Password and ID.

4.All mandatory fields should be filled appropriately

Steps 1. User Select the “ATM” option from the menu and enter
his/her password, ID, name.

2. Then presses the “Save” button to use ATM.


1. User will use the ATM after entering correct data.
Post-Conditions 2. All information of using ATM will Saved.

SDD Document 1.0 Page 19 09/04/2018


Online Bank Management System

3.2.3.9 Cheque Book

System

Get/Use Cheque Book

User
User

Actor User

Description Users can use or get cheque book online.


1. System must be connected with the back end system.
Pre-Conditions 2. User should correctly use or get check book by entering user
name, password, ID.
3. User must have a unique Name, Password and ID.

4.All mandatory fields should be filled appropriately

Steps 1. User Select the “check book” option from the menu and
enter his/her password, ID, name.

2. Then presses the “Save” button to get or to use check book.


1. User will get or use check book after entering correct data.
Post-Conditions 2. All information of using check book will Saved.

SDD Document 1.0 Page 20 09/04/2018


Online Bank Management System

3.2.3.10 Utility Bills

System

Login

<<include>>

Pay Utility bills


User <<include>> User

log out

Actor User

Description Users can pay utility bills online without going to the bank.
1. System must be connected with the back end system.
Pre-Conditions 2. User should correctly pay utility bills by entering user
name, password, ID.
3. User must have a unique Name, Password and ID.

4.All mandatory fields should be filled appropriately

Steps 1. User Select the “utility bills” option from the menu.

2. Then select the type of bill.

3. Then enter user password, ID, name.

4. Then presses the “Save” button to pay utility bills.


1. User will get or use check book after entering correct data.
Post-Conditions 2. All information of using check book will Saved.

SDD Document 1.0 Page 21 09/04/2018


Online Bank Management System

3.2.3.11 Loan

System

Login

<<include>>

Get Loan
User <<include>> User

log out

Actor User

Description Users can get loan online without going to the bank.
1. System must be connected with the back end system.
Pre-Conditions 2. User should correctly get loan by entering user name,
password, ID.
3. User must have a unique Name, Password and ID.

4.All mandatory fields should be filled appropriately

Steps 1. User Select the “loan” option from the menu.

2. Then enter amount of loan.

3. Then enter user password, ID, name.

4. Then presses the “Save” button to get the loan.


1. User will get loan by entering correct data.
Post-Conditions 2. All information of getting loan will Saved.

SDD Document 1.0 Page 22 09/04/2018


Online Bank Management System

3.2.3.12 Message

System

Get Message

User User

Actor User
Users can get a message about their accounts after doing any
Description changes in balance of their accounts.
1. System must be connected with the back end system.
Pre-Conditions 2. User should correctly activate message by entering user
name, password, ID.
3. User must have a unique Name, Password and ID.
4.All mandatory fields should be filled appropriately

Steps 1. User Select the “message activate” option from the menu.

3. Then enter user password, ID, name.

4. Then presses the “Save” button to activate the message.


1. User will get message by entering correct data.
Post-Conditions 2. All information of the balance will save in database.
3. According to the information a message having the
information about the balance of user’s account will be activate.

SDD Document 1.0 Page 23 09/04/2018


Online Bank Management System

3.2.3.13 Add Employee

System

Login

<<include>>

Add employee
Administrator <<include>> Administrator

log out

Actor Administrator
Administrator can add employee.
Description
1. System must be connected with the backend system.
Pre-Conditions 2. Administrator must be logged in to the system.
3. Administrator must have all the information about the
Employee.
1. Administrator select the “Add Employee” option from the menu
Steps and enter information of new employee..
2. Then presses the “Save” button to Add new Employee.

1. Now Employee can be registered successfully.


Post-Conditions 2. It is necessary for employee to fulfill all the
requirements.

SDD Document 1.0 Page 24 09/04/2018


Online Bank Management System

3.2.3.14 Update Employee

System

Login

<<include>>

Update employee

Administrator Administrator
<<include>>

log out

Actor Administrator

Description Administrator can update the information of the employee.


1. System must be connected with the backend system.
Pre-Conditions 2. Administrator must open required employee form for
updating.

Steps 1. Administrator Select the “Employee ID” from the Writer


view.
2. Then enter the new information in update form.
3. Then click on “Update” button.
4. Information of the employee is successfully updated.

1. Now all employee information is saved.


Post-Conditions 2. Employee information is edited.
3. Now Employee information form is also updated.

SDD Document 1.0 Page 25 09/04/2018


Online Bank Management System

3.2.3.15 Delete Employee

System

Login

<<include>>

Delete employee

Administrator
<<include>>

log out

Actor Administrator

Description Administrator can delete the information of the employee.


1. System must be connected with the back end system.
Pre-Condition 2. Administrator must open required employee form for
deleting.

Steps 1. Administrator selects the “Employee ID” from the


Writer view.
2. Then click on “Delete” button.
3. Information of the employee is successfully deleted.

1. Now all employee information is deleted.


Post-Conditions 2. Now Employee information form is also deleted.

SDD Document 1.0 Page 26 09/04/2018


Online Bank Management System

3.2.3.16 Purchase Item

System

Purchase Item
Customer Customer

Actor Customer

Description Customer can purchase the item.


1. System must be connected with the back end system.
Pre-Conditions 2. Customer must open required Purchase form for
saving purchase details.

Steps 1. Customers open the Purchase form.

2. Then enter the information of purchase in form.

3. Then click on “Save” button.

4. Purchase information is successfully saved.


1. Now all supplier information is saved
Post-Conditions 2. Purchase information is entered in the supply form.
Now Purchase information is also saved.

SDD Document 1.0 Page 27 09/04/2018


Online Bank Management System

3.2.3.17 Purchase Return

System

Purchase Return

Customer Customer

Actor System User

Description Customer can return the purchased item.


1. System must be connected with the backend system.
Pre-Conditions 2. Customer must open required Purchase Return form for
saving purchase return details.

1. Customers open the Purchase return form.


Steps 2. Then enter the information of purchase return in form.
3. Then click on “Save” button.
4. Purchase return information is successfully saved.

1. Now all supplier information is saved.


Post-Conditions 2. Purchase return information is entered in the purchase return
form.
3. Now Purchase return information is also saved.

SDD Document 1.0 Page 28 09/04/2018


Online Bank Management System

3.2.3.18 View Reports

System

Login

<<include>>

View Reports

<<include>>
Administrator

Log out

Actor Administrator

Description Administrator can view reports.


1. System must be connected with the backend system.
Pre-Conditions 2. Administrator must open reports form and can view
reports.
1. Administrator open the reports form.
Steps 2. Then enter the information of Reports in form.
3. Then click on “Save” button
4. Viewed information of the reports is successfully saved.
1. Now all information of reports is saved.
Post-Conditions 2. Information is entered in the reports form.

SDD Document 1.0 Page 29 09/04/2018


Online Bank Management System

3.2.3.19 Supply

System

Supply items

Supplier Supplier

Actor Supplier

Description Supplier can supply items.


1. System must be connected with the backend system.
Pre-Conditions 2. Supplier must open required supply form for saving
supply details.
1. Supplier Open the Supply form.
Steps 2. Then enter the information of supply in form.
3. Then click on “Save” button.
4. Supply information is successfully saved.
1. Now all supply information is saved.
Post-Conditions 2. Supply information is entered in the form.

SDD Document 1.0 Page 30 09/04/2018


Online Bank Management System

3.2.4 Activity Diagrams


3.2.4.1 Login Details

Start

Enter Login Detail

Invalid Detail(Invalid ID,Password)

Valid Detail(Valid ID, Password etc)

Login Successfully

SDD Document 1.0 Page 31 09/04/2018


Online Bank Management System

3.2.4.2 Account

Start

Enter Your Name

Account Number

Invalid Check the Account number is valid or not

Valid
Balance
Check the Balance

Account
No Balance

SDD Document 1.0 Page 32 09/04/2018


Online Bank Management System

3.2.4.3 Money Transaction

Insert Card

Card Valid
CARD Invalid

Enter PIN

Pin Valid
PIN Invalid

Select Transaction

Option=withdraw Option=transfer

Option=deposit

Withdraw Amount Deposit Amount Transfer Amount

Enter Amount Enter Amount Enter Amount

Yes

Yes Sufficient balance Insufficient balance

Update database

Update Database Cancel Transaction

cancel transaction update database

Ask for another transaction


Dispanse cash
ask perform other transaction

Print receipt

No
No
Logout
Logout Take cash and receipt

SDD Document 1.0 Page 33 09/04/2018


Online Bank Management System

3.2.4.4 Loan

Login User

Login

Request for loan

Enter user detail

Invalid Detail

Valid Detail

Fill Form for getting loan

Form is not correctly filled

Form is filled correctly

Send money of loan to user account

Logout

SDD Document 1.0 Page 34 09/04/2018


Online Bank Management System

3.3 Design Rationale

Online Bank Management System is developed using modular strategies. In modular


programming parallel coding, testing is performed the result in rapid development. Because
system develop in smaller modules is to manage, code, test and maintain. In Online Bank
Management System MYSQL database is used to preserve the asset of bank because it is open
source and PHP script is used to connect to database.

4. DATA DESIGN
4.1 Data Description
In Online Bank Management System data is preserved using MYSQL database. Data about user,
employee, admin, accounts, money transaction, loan and reports are stored in MYSQL database using
PHPs script.

4.1.1 Data Objects


User:

Id: To uniquely identify each user in database. It is unique for user.


Name: Indicate the name of user.
Age: Indicate the age of user.
Address: Show the present address of user.
E-mail: E-mail of user used to interact with system.
Phone Number: Phone number is used for communication with user.
CNIC: Indicate the national identification number of user.
Admin:

Id: To uniquely identify each user in database. It is unique for admin.


Name: Indicate the name of admin.
Age: Indicate the age of admin.
Address: Show the present address of admin.
E-mail: E-mail of admin used to interact with system.
Phone Number: Phone number is used for communication with admin.

SDD Document 1.0 Page 35 09/04/2018


Online Bank Management System

CNIC: Indicate the national identification number of admin.


Account:

Id: To uniquely identify each user in database that is used to create, update, delete account of
user. ID is unique for user.
Name: Indicate the name of user that is used to create, update, and delete account of user.
Account Number: Account number is assigned to the user after creating account and it is used to
update or delete account.
Age: Indicate the age of user.
Address: Show the present address of user.
E-mail: E-mail of user used to interact with system.
Phone Number: Phone number is used for communication with user.
CNIC: Indicate the national identification number of user.
Employee:

Id: To uniquely identify each employee in database. It is unique for employee.


Name: Indicate the name of employee.
Age: Indicate the age of employee.
Address: Show the present address of employee.
E-mail: E-mail of employee used to interact with system.
Phone Number: Phone number is used for communication with employee.
CNIC: Indicate the national identification number of employee.
Bank:

User Details: It Indicate that Bank contains the information about its all users.
Loan Details: It indicates that Bank contains detail about loan.
Transaction Date: It indicates that Bank contains the date at which money transaction is
performed by user.
Transaction Time: Itindicates that Bank contains the time at which money transaction is
performs by the user.
Loan:

Id: Touniquely identify each user in database. It indicates that user can get loan online with the
help of ID. ID is unique for user.

SDD Document 1.0 Page 36 09/04/2018


Online Bank Management System

Name: Indicate the name of user that is used to get loan online.
Account Number: Account number is used to send amount of loan in accounts.
Address: Show the present address of user.
E-mail: E-mail of user used to interact with system.
Phone Number: Phone number is used for communication with user.
CNIC: Indicate the national identification number of user.
Money Transaction:

PIN Code: PIN code should be entered to perform money transaction.


Password: Password is compulsory to perform money transaction.
Id:To uniquely identify each user in database. It indicates that user can perform transaction
online with the help of ID. ID is unique for user.
Name: Indicate the name of user that is used to perform money transaction online.
Account Number: Account number is used to perform money transaction.
Address: Show the present address of user.
E-mail: E-mail of user used to interact with system.
Phone Number: Phone number is used for communication with user.
CNIC: Indicate the national identification number of user.

4.2 Data Dictionary


4.2.1 User

Parameters Parameter Types

Id Integer
Name String
Date of birth Integer
Address String
E Mail String
Integer
Phone Number
Integer
CNIC

SDD Document 1.0 Page 37 09/04/2018


Online Bank Management System

4.2.2 Admin

Parameters Parameter Types

Id Integer
Name String
Address String
Age Integer
E Mail String
Phone Number Integer
CNIC String

4.2.3 Employee

Parameters Parameter Types

Id Integer
Name String
Address String
Age Integer
E Mail String
Phone Number Integer
CNIC String
4.2.4 Bank

Parameters Parameter Types


User Detail String
Loan Detail String
Transaction Date Integer
Transaction Time Integer

4.2.5 Money Transaction

Parameters Parameter Types

PIN Code Integer


Password Character
Id Integer
Name String
Address String
Age Integer
E Mail String
Phone Number Integer
CNIC String

SDD Document 1.0 Page 38 09/04/2018


Online Bank Management System

4.3 Relational and complete Data Model

5. COMPONENT DESIGN
ESIGN

5.1 Objects

SDD Document 1.0 Page 39 09/04/2018


Online Bank Management System

5.1.1 Login

Class Name: Login Details


Attributes Attributes Description
ID ID is used to access the each user separately.
User Name Name is used to store the name of the user.
Address This attribute is used to store the address of the user.
CNIC CNIC of the user is stored in the attribute.
Methods Methods Description
registration() A method which is used to perform registration when user
wants to register with the site.
Pseudo Code
1. Start
2. Get the all required information from user
3. If all fields are filled
Display “Successfully register” message
4. Else If any field is not filled
Display “All fields must be filled”
5. Store the information in database.
6. End
login() A method used to perform login when user wants to login
with the site.
Pseudo Code
1. Start
2. Get the user name and password from user
3. Match both password and user name with the user
name and password in MYSQL database.
4. If one of these is incorrect
Print “Invalid information”
5. Else If both are match
6. Print “Successfully login”
7. End
setPassword() Set password method is used to set password of the user.
Pseudo Code
1. Input user name and ID.
2. Match both ID and name with the name and ID of
the user in the database.
3. If both are matched then set password successfully
4. Else Print message “Incorrect Information”

SDD Document 1.0 Page 40 09/04/2018


Online Bank Management System

setEmail() This method is used to set email ID of the user.


Pseudo Code
1. Start
2. Get the email ID from user.
3. Match Email ID with the user Email ID in
MYSQL database.
4. If Email ID is incorrect then
Print “Invalid information”
5. Else
Set password.

sendPassword() This method specifies that it can possible that user forget
his/her password so if user forget password then this
method send password to the user.
Pseudo Code
1. Input user ID, Name.
2. Match the ID and name of the user with the ID and
Name of the user in database.
3. If both are matched then send password to the user
4. Else
Print “Information is incorrect”.

logout() A method used to perform logout when user wants to


logout with the site.
Pseudo Code
1. Start
2. Get the user name and password from user
3. Match both password and user name with the user
name and password in MYSQL database.
4. If one of these is incorrect
Print “Invalid information”
5. Else If both are matched then
6. Print “Successfully logout”.
7. End

SDD Document 1.0 Page 41 09/04/2018


Online Bank Management System

5.1.2 User

Class Name: User


Brief Description: User Class is responsible for controlling the actions that are performed by
user such as create account, money transaction, borrow loan etc.

Attributes Attribute Description

Id To uniquely identify each user in database. It is unique


for user.
Name Indicate the name of user.

Address Show the present address of user.

Contact Number Phone number is used for communication with user.

Email E-mail of user used to interact with system.

CNIC Indicate the national identification number of user.

Methods Method Description


createAccount() User can create account online

Pseudo Code

(1) Get the all required information from the user.


(2) If information is correct then click on the option of
create account and Display message” Account is
successfully created”.
(3) Else Display Information from the user is incorrect
so, account cannot be created.
(4) Store information in database.
depositMoney() User can deposit money online.
Pseudo Code

(1) Input Account Number, Id and name from the


user.
(2) Match the Account Number, Id, and User Name
with the Account Number, Id and user name in
database.

SDD Document 1.0 Page 42 09/04/2018


Online Bank Management System

(3) If these are matched then display message” you


can deposit money in the account” and then
deposit the money in the account of the user..
(4) If one of these is incorrect
Print “Invalid Information”.
(5) Store information in database.
withdrawMoney() User can withdraw money online.

Pseudo Code
(1) Input Account Number. Id and name from User.
(2) Match the Account Number, Id, and name of the
user with the account Number, Id and name of
the user with the Account Number, Id and name
of the user in database.
(3) If these are matched then display message “You
can withdraw money from the account”.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.
borrowLoan() User can borrow loan online.
Pseudo Code
(1) Input Account Number, Id and name from User.
(2) Match the Account Number, Id, and name of the
user with the account Number, Id and name of
the user with the Account Number, Id and name
of the user in database.
(3) If these are matched then display message “You
can borrow loan” and then transfer the money of
loan into the account of user.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.

5.1.3 Employee

SDD Document 1.0 Page 43 09/04/2018


Online Bank Management System

Class Name: Employee

Brief Brief Description: Employee class is responsible for controlling the actions that are
performed by employee class such as collect money, open account, close account, provide
information to the user and fulfill the loan request.
Attributes Attribute Description
Id To uniquely identify each user in database. It is unique for
employee.
Name Indicate the name of user.
Address Indicate the address of user.
Contact Number It indicates the contact number of user.
Email Email of user is used to interact with system
CNIC
Indicate the national identification number of the user.
Methods Method Description
collectMoney() Employee Collects money online.
Pseudo Code
(1) Get the all required information from the User.
(2) If information is correct then click on the option of
collect money and Display message” Money is
successfully collected and added in the account of
the user”.
(3) Else Display Information from the User is
incorrect so, Money cannot be collected or added
in the account of the user.
(4) Store information in database.
openAccount() Employee can open account of the user online.
Pseudo Code
(1) Get the all required information from the user.
(2) If information is correct then click on the option of
open account and Display message” Account is
successfully opened”.
(3) Else Display Information from the user is incorrect
so, account cannot be opened.
(4) Store information in database.
closeAccount() Employee can close account of the user online.
Pseudo Code
(1) Get the all required information from the user.
(2) If information is correct then click on the option of
close account and Display message” Account is

SDD Document 1.0 Page 44 09/04/2018


Online Bank Management System

successfully closed”.
(3) Else Display Information from the user is incorrect
so, account cannot be closed.
(4) Store information in database.
provideInformation() Employee provides information about balance to the user.
Pseudo Code
(1) Get the all required information from the user.
(2) If information is correct then click on the option of
provide information and Display message”
Information is provided to the user successfully.”.
(3) Else Display Information from the user is incorrect
so, user cannot get information.
(4) Store information in database.

5.1.4 Account

Class Name: Account


Brief Description: Account class is responsible for controlling different actions such
as create account, update account, delete account, return balance etc.
Attributes Attribute Description
Id To uniquely identify each user in database. It is
unique for the user.
Account Number Account number is assigned to the user after
creating account and it is used to update or delete
account.
Balance It shows the balance in the account of the user.
Name It shows the name of the user which is used to
create, update, delete account.
CNIC Indicate the national identification number of the
user.
Contact Number Contact Number is used for communication with
user.
Address Show the present address of the user.
Email Email of user is used to interact with the system.
Methods Method Description
createAccount() This method is used to create account.
Pseudo Code
(1) Input Id and name of the user from Account.
(2) Match the Account Number, Id, and name of
the user with the account Number, Id and
name of the user with the Account Number,

SDD Document 1.0 Page 45 09/04/2018


Online Bank Management System

Id and name of the user in database.


(3) If these are matched then display message
“Account is created successfully”.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.
updateAccount() Update account method of account class is used to
update the account.
Pseudo Code
(1) Input Account Number, Id and name of the
user from Account.
(2) Match the Account Number, Id, and name of
the user with the account Number, Id and
name of the user with the Account Number,
Id and name of the user in database.
(3) If these are matched then display message
“Account is updated successfully”.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.
deleteAccount() Delete account method of Account class is used to
delete account of the user.
Pseudo Code
(1) Input Account Number, Id and name of the
user from Account.
(2) Match the Account Number, Id, and name of
the user with the account Number, Id and
name of the user with the Account Number,
Id and name of the user in database.
(3) If these are matched then click on the delete
account option and display message
“Account is deleted successfully”.
(4) If one of these is incorrect
Print “Invalid Information or account cannot
be deleted because information is invalid”,
(5) Store information in database.
returnBalance() Return balance method of account class is used to
return the balance and information about balance.
Pseudo Code
(1) Input Account Number, Id and name of the
user from Account.

SDD Document 1.0 Page 46 09/04/2018


Online Bank Management System

(2) Match the Account Number, Id, and name of


the user with the account Number, Id and
name of the user with the Account Number,
Id and name of the user in database.
(3) If these are matched then click on the option
of return balance and display message
“Balance is returned or returned balance is”.
(4) If one of these is incorrect
Print “Invalid Information”.
(5) Store information in database.

5.1.5 Bank

Class Name: Bank


Brief Description: Bank class is used for controlling different functions such as provide loan,
update details, collect money, perform money transaction etc.
Attributes Attribute Description
User Detail Bank contains the information about its all users.
Loan Detail Bank contains the information about loan.
Transaction Time Bank contains the detail about the time at which transaction
is performed by the user.
Transaction Date Bank contains the information about the date at which
money transaction is performed by the user.
Methods Method Description
provideLoan()
Bank provides the loan to the users.
Pseudo Code
(1) Get the all required information from the User.
(2) If information is correct then click on the option of
Loan and Display message” Loan is provided to you
by Bank and transfer the amount of loan into the
account of user”.
(3) Else Display Information from the User is incorrect
so, you cannot get loan from Bank.
(4) Store information in database.
moneyTransaction() Bank provides the facility to the user to perform money
transaction.
Pseudo Code
(1) Input Account Number. Id and name from User.
(2) Match the Account Number, Id, and name of the user

SDD Document 1.0 Page 47 09/04/2018


Online Bank Management System

with the account Number, Id and name of the user


with the Account Number, Id and name of the user in
database of the bank.
(3) If these are matched then click on the option of
Transaction then select any type of transaction and
display message “Money is transacted”.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.
collectMoney() Bank Collect the money of the users and added the money to
the accounts of the users
Pseudo Code
(1) Get the all required information from the User.
(2) If information is correct then click on the option of
collect money and Display message” Money is
successfully collected by Bank and added in the
account of the user”.
(3) Else Display Information from the User is incorrect
so, Money cannot be collected or added in the
account of the user.
(4) Store information in database.
updateDetails()
Bank can changes the detail about the user according to the
current situation.
Pseudo Code
(1) Input Account Number. Id and name from User.
(2) Match the Account Number, Id, and name of the user
with the account Number, Id and name of the user
with the Account Number, Id and name of the user in
database of the bank.
(3) If these are matched then click on the option of
update details and display message “details about
user are updated successfully”.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.
showBalnce() Bank shows balance of the user.
Pseudo Code
(1) Input Account Number. Id and name from User.
(2) Match the Account Number, Id, and name of the user
with the account Number, Id and name of the user

SDD Document 1.0 Page 48 09/04/2018


Online Bank Management System

with the Account Number, Id and name of the user in


database of the bank.
(3) If these are matched then click on the option of show
balance. Balance will be showed successfully by
bank.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.

5.1.6 Message

Class Name: Message

Brief Description: Message class is used to provide the information to the user, about
the current balance in the account.
Attributes Attribute Description
Bank Id Bank Id shows the id of the bank.
Bank Name Bank Name shows the name of the bank.
Methods Method Description
balanceDetail() Balance detail provides the detail about the balance in the
account of the user.
Pseudo Code
(1) Input Account Number. Id and name from User.
(2) Match the Account Number, Id, and name of the
user with the account Number, Id and name of the
user with the Account Number, Id and name of
the user in database.
(3) If these are matched then click on the option of
show balance. Balance will be showed
successfully by Message.
(4) If one of these is incorrect
Print “Invalid Information”,
(5) Store information in database.

SDD Document 1.0 Page 49 09/04/2018


Online Bank Management System

6. HUMAN INTERFACE DESIGN


6.1 Overview of User Interface
The user will be prompted with login screen when open Online Bank Management System
application. If user is not registered already then there will be a link to registration screen. When
user login successfully then home page of Online Bank Management System will display and
user can perform different operations like create account, get loan, perform money transaction
etc.

6.2 Screen Objects and Actions


6.2.1 Registration Screen

User fills the registration form. If form is filled correctly by user then displayed message to the
user will “User Register Successfully” Otherwise “Invalid Information so, reset the information”.

Registration Form

First Name

Last Name

Gender Male Female

Email

User Name

Password

Address

Registration Reset

6.2.2 Login Screen

Only registered user will be login. User fills the login form. If form is correctly filled by user
then display message “User login successfully” Otherwise display message “Invalid
Information”.

SDD Document 1.0 Page 50 09/04/2018


Online Bank Management System

Login Screen

User Name

Password

Login Reset

6.2.3 Reset Password

User can also reset his/her password by putting Old Password, New Password. If the
information by the user is correct then display message “Your Password Reset Successfully”.

User Reset Password Form

Old Password

New Password

Confirm New Password

Reset Cancel
Password

6.2.4 Create Account


User can create Account online. First of all user will login then enter his/her ID, Name, Password
and click on the option of create account. If the entered information by user is correct then
displayed message to the user will be ‘’Account is created successfully” otherwise ‘’ Information
is not correct”.

SDD Document 1.0 Page 51 09/04/2018


Online Bank Management System

Enter ID

Enter Name

Enter Password

Create Reset
Account

6.2.5 Update Account

Admin can update account of the user by entering the user ID, User Name, and Password. If the
entered information of the user is correct then admin can update the account of the user
successfully otherwise it is compulsory to the admin to enter correct information about the user.

Enter ID

Enter Name

Enter Password

Update Reset
Account

6.2.6 Delete Account


Admin can delete account of the user by entering the user ID, User Name and Password. If the
entered information of the user is correct then admin can delete the account of the user
successfully, otherwise it is must to the admin to enter correct information about the user.

SDD Document 1.0 Page 52 09/04/2018


Online Bank Management System

Enter ID

Enter Name

Enter Password

Delete Reset
Account

6.2.7 Loan

If the user wants to get loan then it is must to enter his/her ID, Name, and Account
Number. Then select the option of loan from database and select the type of loan. If the
information about the user will correct then user can get loan otherwise user cannot get
loan and reset the information to get loan.

Enter ID

Enter Name

Enter Account Number

Select the option of Loan


Options
Select the type of Loan
Types

Get Loan Reset

SDD Document 1.0 Page 53 09/04/2018


Online Bank Management System

6.2.8 Money Transaction

If the user wants to perform money transaction then it must to the user that he/she enter
his/her ID, Name, Account Number then select the option of transaction from database
and select the type of transaction. If the information entered by the user will correct then
message will be display for the user ’’You Can Perform Transaction” Otherwise “reset
the information

Enter ID

Enter Name

Enter Account Number

Select option of transaction Options

Select type of Transaction

Perform
Reset
Transaction

SDD Document 1.0 Page 54 09/04/2018


Online Bank Management System

7. REQUIREMENTS MATRIX

Compon Registrati Logi Reset Ban Accou Loa Money Use Employ Admin
ents on n User k nt n Transacti r ee
Login on
Passwor
d
UC1 X X X
UC2 X
UC3 X
UC4 X
UC5 X
UC6 X
UC7 X
UC8 X
UC9 X
UC10 X
UC11 X X X
UC12 X X
UC13 X X
UC14 X X
UC15 X X
UC16 X X X
UC17 X X
UC18 X
UC19 X X

SDD Document 1.0 Page 55 09/04/2018

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy