Javatpoint Logo
Javatpoint Logo

ER Diagram for the Airline Reservation System

In DBMS, an ER diagram for an airline reservation system shows how the databases are connected. It also shows how all the databases are logically related to each other. We can also create an ER diagram by drawing the figure of a different part of the airline reservation system, their properties, and how they perform their task.

We can draw an ER diagram of the airline reservation system by drawing the design of the database. The sketch of the database became the storage of the database where the data comes and goes.

Details Airline Reservation System ER Diagram

Now we describe the overall function of the Airlinereservation System in the below table. It is a complete overview of the information about the Airline reservation project.

Name: ER Diagram of the Airline Reservation System.
Abstract: The ER Diagram of the Airline reservation system shows the relationship between various entities. We can also call it the blueprint of the airline reservation system.
Diagram: We can also call the ER diagram an Entity Relationship diagram.
Tool used: The ER diagram provides some symbol that is known as the diagramming tool.

What is Airline Reservation System?

The Airline reservation system is a type of system that allows the airline to sell their tickets to the passenger. It contains information regarding the fares and schedule of the flight and the database of the reservation.

What is an ER Diagram

We can also call ER diagram the database design for the airline reservation system project. The ER diagram is like a picture that contains how all the entities are related to each other. The most important part of the ER diagram is Relationships, Attributes, and Entities.

Importance of ER Diagram

The ER diagram for the project is the foundation for building the project's database. The properties, data types, and attributes are defined by the ER diagram.

Entity-Relationship (ER) Diagram for Airline Reservation System

The ER diagram for the airline reservation system, the system data, and their attributes. The data and the attributes are represented by the table, and the table shows how they are related to each other.

Database Design for the Airline Reservation System

ER Diagram for the Airline Reservation System

The above diagram shows the database design for the airline reservation system. This database design shows all the system data, and the output for the user ate stored in the database. In DBMS, a good ER diagram is needed for the creation of an airline reservation system.

Airline Reservation System ER Diagram Tables

The table below shows all about the table's field name, description, data type, and character length. Each table of the ER diagram defines and explains the data storage.

The field column lists all the attributes of the database that describes each column. The types table of the database shows what kind of data each attribute is, and the length shows how many characters it has.

Table name: Log-In

Field Description Type Length
Login-ID Login ID Varchar 255
Login-role-ID Login-role ID Varchar 255
Login_username User name Varchar 255
Login_password Password Varchar 255

Table name:' users

Field Description Type Length
User_id User id Varchar 255
User_name Name of the user varchar 255
User_mobile Mobile number int 18
User_email Email id varchar 255
User_address address varchar 255

Table name: Roles

Field Description Type Length
Role-id Role id varchar 255
Role_name Role name varchar 255
Role_desc Role decription varchar 255

Table name: permission

Field Description Type Length
Per_id Permission id varchar 255
Per_role_id Permission role id varchar 255
Per_module Permission module Varchar 255
Per_name Permission name Varchar 255

Table name: Passeneger

Field Description Type Length
P_mobile Passenger mobile number int 18
P_id Passenger ID Varchar 255
P_name Passenger name Varchar 255
P_add Passenger address Varchar 255
P_pass Passenger password Varchar 255

Table name: Airlines Booking

Field Description Type Length
ab_desc Booking description Varchar 255
ab_date Booking date Varchar 255
ab_pass_id Passenger Booking ID Varchar 255
Ab_type Booking type Varchar 255
ab_ID Booking ID int 18

Table name: Ticket

Field Description Type Length
Tckt_id Ticket ID int 18
Tckt_desc Ticket description Varchar 255
Tckt_date Ticket date Varchar 255

Table name: Airline Enquiry

Field Description Type Length
Ae_title Title of the Enquiry varchar 255
Ae_id Enquiry ID int 18
Ae_desc Enquiry description varchar 255
Ae_date Enquiry date varchar 255
Ae_type Enquiry type varchar 255

With the help of the above tables, we can set up the database for the airline reservation system. It provides the full description of the database with its table names. They will enter all the values and attributes for the database in the table.

How to Create ER Diagram

We can create the ER diagram for the table just in 5 minutes. There are some steps, and with the help of these steps, we can build the ER diagram for the airline reservation system project. The steps are as below.

Step 1: We must familiarize ourselves with the entity relationship diagram cardinality and symbols. Then we have to show the data structure for the project in the entity relationship diagram. The symbol of the entity relationship diagram shows how they fit together. Before making the ER diagram, we should properly know the meaning of all the symbols and how to use all of them symbols.

Symbol of entity relationship diagram:-

  1. Fields: This entity shows how the different types of data are used together for a project. The symbol is used to show how the part of the project is working.
  2. Key: It is a type of technique that is used to categorize the quality of the data. There are two types of keys available for the database. These are as follows.
    • Primary key:It is a set of unique properties that are used for finding the specific entity.
    • A foreign key: It is a type of key made up of a piece of data with too many links to other things.

Step 2: Finalize the entities included

Start making your ER Diagram by deciding on all the parts your airline reservation system must have. You'll need to leave the area in your design for these rectangles to be included later.

Step 3: Add the attributes of each entity

After you've decided on the entities, think about the traits you'll need for each one. In a conceptual ER diagram, the details of the different entities are given as attributes. Attributes are things like a thing's traits, a many-to-many relationship, or a one-to-one relationship. Attributes with multiple values can be given more than one value.

Step 4: Describe the relationships (cardinality) between entities and attributes

You will need the entities, their attributes, and the relationships between them to plot the relationships between the ERD. To get the right entity relationship diagram, you will use the information you gathered to build the data structure.

Conclusion

You need to know how the Airline reservation System was designed and built using diagrams. With the help of an ER diagram will help you make a system that works well.

Making it will help you understand how the software works behind the scenes. This is where all the data that goes in and out of the system will be stored.







Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA