Airline Reservation System
Airline Reservation System
GROUP PROJECT
GROUP NAME ID NO
1. HELDANA LUKAS UU79758R
2. MESERET NIGUSSE UU79767R
3. SOLIYANA ALEBACHEW UU79739R
Entity List
1. Aircrafts
2. Route
3. Air_Fare
4. Discounts
5. Flight_Schedule
6. Charges
7. Countries
8. State
9. Contact_Details
10. Passengers
11. Branches
12. Employee
13. Transaction
Entity structures with with relevant Attributes
1.Aircrafts
Field Data Type Descriptions Constraints
Field will store
Ac_ID INT unique row Primary Key
number
Aircraft number
Ac_Number Varchar (32) that identifies the NOT NULL
plane
Number of seats
Capacity INT NOT NULL
available
Manufactured
Mfd_By Varchar(32) NOT NULL
company
Manufactured date
Mfd_On DATETIME NOT NULL
of aircraft
2.Route
Field Data Type Descriptions Constraints
Stores unique
Rt_ID INT Primary Key
route id
From where the
Airport Varchar (32) NOT NULL
flight will take off
Destination Varchar (32) Flight Destination NOT NULL
A unique route
code generated
NOT NULL
Route Code Varchar(32) using source and
Unique
destination of
flight
3. Airfare
Field Data Type Descriptions Constraints
Stores unique row
Af_ID INT Primary Key
id
Route ID form
Route INT Foreign Key
route table
Stores service
Fare Currency NOT NULL
charge amount
Stores fuel
FSC Currency NOT NULL
surcharge amount
4. Discounts
Field Data Type Descriptions Constraints
Di_ID INT Unique row ID Primary Key
Label to know
Title Varchar (32) NOT NULL
discounts
Discount
Ammount INT NOT NULL
ammount in %
Discounts remarks
Description Varchar (255)
and details
5. Flight_Schedule
Field Data Type Descriptions Constraints
Unique number to
Fl_ID INT Primary Key
identify the flight
Flight Date DATETIME Date of the flight NOT NULL
Stores the
Departure DATETIME departure time of
the flight
Stores the arrival
Arrival DATETIME time of the flight
on destination
Field Data Type Descriptions Constraints
Aircraft number Foreign Key
Aircraft INT that will fly, from
Aircrafts table
To determine total
fare of flight, an
Net_Fare INT Foreign Key
ID from Air_Fare
table
6.Charges
Field Data Type Descriptions Constraints
Ch_ID INT Unique row ID Primary_Key
Title Varchar (32) Label for charges NOT NULL
Ammount of
Ammount INT NOT NULL
charge in %
Description cause
Description Varchar (255)
of charge
7.Countries
Field Data Type Descriptions Constraints
Ct_ID INT Unique row ID Primary Key
Describe the cause
Country_Name Varchar (32) NOT NULL
of charge
8.States
Field Data Type Descriptions Constraints
St_ID INT Unique row ID Pprimary Key
Name of the state
State_Name Varchar (32) from where the
flight will take off
Primary Key from
Country INT Foreign Key
Country table
9. Contact_Details
Field Data Type Descriptions Constraints
Cn_ID INT Unique row ID Primary Key
Email of
Email Varchar (32) passenger for NOT NULL
transaction
Cell Phone
Cell Varchar (16) NOT NULL
number
Telephone
Tel Varchar (16)
Number
Street address of
Street Varchar (64) NOT NULL
the passenger
Primary key from
State INT Foreign Key
States table
10.Passengers
Field Data Type Descriptions Constraints
Ps_ID INT Unique row ID Primary key
Name Varchar (32) Passenger’s Name NOT NULL
Passenger’s
Address Varchar (64) NOT NULL
Address
Age INT Passenger’s Age NOT NULL
Nationality of the
Nationality Varchar (16) NOT NULL
passenger
Contact_ID from
Contacts INT contact details Foreign Key
table
11.Branches
Field Data Type Descriptions Constraints
Unique ID for
Br_ID INT Priamary Key
each branches
Centre Varchar (16) Branch Title NOT NULL
Address of the
Address Varchar (16) NOT NULL
branch
State_ID from
State INT Foreign Key
State Table
12.Employee
Column References
1 Aircrafts Ac_ID
2 Route Rt_ID
3 Airfare Af_ID Route Route.Rt_ID
4
Flight_Schedu Aircrafts.Ac_I
Fl_ID Aircraft
le D
Netfare Airfare.Af_ID
5 Discounts Di_ID
6 Charges Ch_ID
7 Countries Ct_ID
Countries.Ct_
8 State St_ID Country
ID
Contact_Detai
9 Cn_ID State State.St_ID
ls
Contact_Detai
10 Passengers Ps_ID Contacts
ls.Cn_ID
11 Branches Br_ID State State.St_ID
Branches.Br_I
12 Employees Emp_ID Branch
D
Passengers.Ps
13 Transactions Ts_ID Passenger
_ID
Flight_Schedu
Flight
le.Fl_ID
Employees.E
Employee
mp_ID
Cardinality
Cardinality notation using Chen Style
M=Many; N=0,1,2,..
SN Entities Cardinality
Aircrafts &
1 1:M
Flight_Schedules
2 Route & Air_Fare 1:1
Air_Fare &
3 1:M
Flight_Schedule
4 Discount & Transactions N:1
5 Countries & State 1:M
6 Charges & Transactions N:1
7 State & Branches 1:M
8 Contact_Details & State M:1
Passengers &
9 1:1
Contact_Details
Passengers &
10 1:1
Transactions
11 Branches & Employees 1:M
Employees &
12 1:M
Transactions
Transactions and
13 M:1
Flight_Schedules