0% found this document useful (0 votes)
971 views

Bank Managment System Project by Using ERD and EERD

Jimma university project of bank management system by using entity relation diagram and enhanced entity relation diagram

Uploaded by

Sintu Desalegn
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)
971 views

Bank Managment System Project by Using ERD and EERD

Jimma university project of bank management system by using entity relation diagram and enhanced entity relation diagram

Uploaded by

Sintu Desalegn
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/ 7

JIMMA

INISTITUTE OF TECHNOLOGY
COMPUTER SCIENCE DEPARTMENT
FUNDAMENTALS
OF DATABASE PROJECT

GROUP MEMBERS

NAME ID

1. ADONAI DESALEGN.……………………….2280/13
2. AKINAHOM BIRUK ….….…………………...2088/13
3. GUTU YAEKOB………..….………………….. 2368/13
4. MERON BIRHANU…….….………………… 3435/13
5. YOHANIS ABAY..…………………………… 1419/13
6. SINTAYEHU DESALEGN……………………3129/13

ER diagram of Bank Management System


ER diagram is known as Entity-Relationship diagram. It is used to analyze to
structure of the Database. It shows relationships between entities and their
attributes. An ER model provides a means of communication.
ER diagram of Bank has the following description :
 Bank have Customer.
 Banks have branches.
 Branches are identified by a branch no, branch name, address.
 Customers are identified by name, address no, phone number, address, sex,
birthdate.
 Customer can have one or more accounts.
 Accounts are identified by account no, account type, balance.
 Customer can request for loan.
 Loans are identified by loan id, loan type and amount.
 Account and loans are related to bank’s branch.
 Branch has employees.
 Employee identified by name, employee ID, job position, sex, birthdate,
salary, phone no.
 Branch has managers from employees.
 Manager manages the branch.
 The manager approves the loan which requested by the customer.
 The branch manager identified by the attributes which employee has.
 Employee depends of dependent based on relation.
 Dependent identified by name, phone, relationship, sex, birthdate.
ER Diagram of Bank Management System :

This bank ER diagram illustrates key information about bank, including entities
such as branches, customers, accounts, employee, manager and loans. It
allows us to understand the relationships between entities.
Entities and their Attributes are :

 Bank Entity : Attributes of Bank Entity are Bank Name, Code and Address.
Code is Primary Key for Bank Entity.
 Customer Entity : Attributes of Customer Entity are Customer_id, Name,
Phone Number and Address.
Customer_id is Primary Key for Customer Entity.
 Branch Entity : Attributes of Branch Entity are Branch_id, Name and
Address.
Branch_id is Primary Key for Branch Entity.
 Account Entity : Attributes of Account Entity are Account_number,
Account_Type and Balance.
Account_number is Primary Key for Account Entity.
 EMPLOYEE entity: Attributes of employee entity are employee id, name,
phone no ,sex, birthdate, job position, salary, address.
Employee id is primary key for employee entity.
 MANAGER entity : Attributes of manager entity are employee id, name,
phone no, sex, birthdate, job position, salary, address.
Employee id and job position are primary key of manager entity.
 Loan Entity : Attributes of Loan Entity are Loan_id, Loan_Type and
Amount.
Loan_id is Primary Key for Loan Entity.
 DEPENDENT entity : Attributes of dependent entity are
name,birthdate,relationship,
Relationships are :

 Bank has Branches => 1 : N


One Bank can have many Branches but one Branch can not belong to many
Banks, so the relationship between Bank and Branch is one to many
relationship.

 Branch maintain Accounts => 1 : N


One Branch can have many Accounts but one Account can not belong to
many Branches, so the relationship between Branch and Account is one to
many relationship.

 Branch Loans => 1 : N


One Branch can have many Loans but one Loan can not belong to many
Branches, so the relationship between Branch and Loan is one to many
relationship.

 Customers has account => M : N


One Customer can have more than one Accounts and also One Account can
be by one or more Customers, so the relationship between Account and
Customers is many to many relationship.
 Manager manages the branch =>1:1
One manager manage one branch and also one branch can only has one
manager ,so the relationship between manager and branch is one to one.

 Loan requested by Customer => M : N


(Assume loan can be requested by many Customers).
One Customer can have more than one Loans and also One Loan can be
requested by one or more Customers, so the relationship between Loan and
Customers is many to many relationship.

 Manager approves loan =>1:M


One manager can approve more than one loan but one loan can not
approved by more than one manager,so the relation between manager and
loan is one to many relationship.
 Employee dependents of dependent =>M : N
Employee can have more than one dependents and also one dependent can
depend on more than one employee ,so the relationship between dependent
and employee is many to many relationship.

EER DIAGRAM FOR BANKING SYSTEM.

Enhanced entity-relationship (EER) diagrams are basically a more


expansive version of ER diagrams. EER models are helpful tools for
designing databases with high-level models.
EER diagram of Bank has the following description :

 We described the entities attributes and relationship in the above


scenario and now we describe the specialized part.
 The super classes have subclass.
 The employee entity has an attribute which is called job position. Based
on time and based on job.
 Based on time it classified in to partial and full time worker.
 Based on job it classified in to auditor, accountant, security guard, IT
worker,casher.
 The account entity has an attribute which is called account type.
 The account type specializes in to many attributes. So account has
types based on product and based on interest.
 Based on interest account type divided in to with interest and without
interest account.
 Based on product account type divided in to youth, womens, student,
children account.
 The loan entity has an attribute which is called loan type. Loan has
types based on term and type.
 Based on term loan divided in to short term, middle term, long term.
 Based on type loan divided in to consumer loan, housing loan ,
construction loan, domestic trade.
Specialization / Generalization Lattice Example (BANK)
RELATIONAL TABLE

You might also like