Uploaded by Kabos Al3alm

airport flight system

advertisement
AIRPORT FLIGHT SYSTEM
Database Programming HW#1
DECEMBER 7, 2023
ALWALEED ALMALAHIM
17110017
Schema
Entities:
a.Airport
Attributes: [Airport ID (Primary Key)], [Name], [Location], [Capacity].
b.Airline
Attributes: [Airline ID (Primary Key)], [Name], [Code].
c.Flight
Attributes: [Flight ID (Primary Key)], [Airline ID (Foreign Key)], [Departure Airport ID (Foreign Key)],
[Departure Time], [Arrival Time].
d.Passenger
Attributes: [Passenger ID (Primary Key)], [First Name], [Last Name], [Email], [Phone].
e.Ticket
Attributes: [Ticket ID (Primary Key)], [Flight ID (Foreign Key)], [Passenger ID (Foreign Key)], [Seat
Number], [Ticket Price].
Relationships:
Airport to Flight (One to Many): An airport can have multiple arriving and departing flights.
Airline to Flight (One to Many): An airline can manage multiple flights.
Flight to Ticket (Many to Many): A ticket can have more than one flight, and a flight can have more
than one ticket.
Passenger to Ticket (One To Many): A passenger can have more than one ticket for different flights.
Data, user, and system requirements
Data
1.
2.
3.
4.
5.
Flight information
Passenger information
Ticket information
Airport information
Airline information
User
1. Booking tickets and searching for flights.
 The ability to book flights depending on the destination, time, or airline
 Search ability
2. Manage account.
 Accessibility to the account to check or view bookings
 Could cancel or edit bookings
3. Seat location.
 The customer could view and choose the seat that they want during the booking process.
 A top-down view of the seats in the aircraft for representation and better understanding.
System
1. Reliability:
 Ensuring the system is always up and accessible
 Disaster recovery procedure by backing up data often to avoid data loss.
2. Security:
 Sensitive user data must be encrypted. Such as transactions, personal information, and
card information.
3. Scalability:
 Keeping up with the ever-rising number of users, flights, and airlines by scaling the
system to contain all of that.
Conceptual design & Physical model
Conceptual Design
Physical model
Download