0% found this document useful (0 votes)
581 views8 pages

Online Railway Reservation System Project

The document describes an online railway ticket reservation system. It includes features like logging in, searching available trains and seats, booking tickets through online or offline payment, checking PNR status, cancelling tickets and receiving refunds. It also provides diagrams like ER, DFD, class, use case and activity to model the system's entities, data flow, classes, user interactions and processes.

Uploaded by

Shaman Ali Mahar
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)
581 views8 pages

Online Railway Reservation System Project

The document describes an online railway ticket reservation system. It includes features like logging in, searching available trains and seats, booking tickets through online or offline payment, checking PNR status, cancelling tickets and receiving refunds. It also provides diagrams like ER, DFD, class, use case and activity to model the system's entities, data flow, classes, user interactions and processes.

Uploaded by

Shaman Ali Mahar
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/ 8

Online Railway Ticket Reservation

System
Online Railway ticket reservation is very useful nowadays. This is very important
to design a good-working system software for ticket booking and related
transactions. To design it, full-track documentation of models(ER, DFD, Class,
Use-case, Activity, Sequence) is required as per as software development is
concerned.

Features of the System:


The Reservation system should contain the following features:
1. If a passenger wants to reserve ticket(s), firstly, he/she has to log in to
the Railway system with valid credentials. Then, the passenger has to
provide his/her details with the date of the journey, names of the
passengers and their details, origin station details, destination station
details, and the class type of the required ticket(s).
2. The Railway Reservation System will provide the available Train-list,
and Seat-availability, via-details.
3. To book a ticket passengers can pay through online/offline mode. After
successful payment of the ticket fare the System will generate the
ticket and PNR no. will be given to the passenger. The System also
keeps the payment details and sends them to the system Admin.
4. The Passenger can check PNR status (confirmed, RAC, waiting list) by
entering the PNR no. into the Reservation system.
5. The Reservation system should store all train details, fare details (by
zone, class, and date wise), PNR no, date of trains, etc. This
maintenance should be controlled by the Admin.
6. The System also has refund rules which have a date of reservation,
ticket fare, and refundable percentage. The passenger can simply
cancel the ticket(s) by entering the PNR no and a cancel ticket request.
After cancelation, the Admin will pass the refundable amount to the
System and the System will give the refundable amount to the
passenger.
Required Diagrams:
Entity Relationship(ER) Diagram:

Page | 1
ER diagram displays the relations between the various entities(classes and their
attributes) stored in the database. ER diagrams are very important for any
database project. This diagram shows the communication between entities and
their attributes.

The above ER diagram illustrates the key information about the railway
reservation system, including entities like PAX_info, Login_credentials,
Ticket_reservation, refund_rule, via_details, train_fare, Train, Seat_availability,
Class, Zone, station, pay_info. This diagram also shows the relationships
between entities.
Entities and their attributes are:
PAX_info: Attributes of PAX_info entity are Passenger_id (primarykey)
,SRL_no ,PAX_name ,PAX_age ,PAX_sex ,fare,seat_no.
• Login_credentials: Attributes of Login_credentials entity are
login_id(PK) , password.

Page | 2
• Ticket_reservation: Attributes of Ticket_reservation entity are
PNR_no(pk),to-date, from-date, to-km, from-km, to-station, from-
station, Train_code.
• Refund_rule: Attributes of refund_rule entity are to-time, from-time,
refundable-amt.
• via_details: Attributes of via_details entity are Details_id(PK),
Train_code, via_station_code, km_from_origin, Reach_time.
• train_fare: Attributes of train_fare entity are to-date, from-date, to-
km, from-km, Fare, Class_id.
• Train: Attributes of Train entity are Train_code(PK), Distance,
Train_name, Start_time, End_time, Start_station_code,
End_station_code, Frequency.
• Seat_availability: Attributes of Seat_availability entity are
Train_code, Class_code, and Number of seats.
• Class: Attributes of Class entity are Class_id(PK), coach_prefix,
class_code, Class_name, seat_per_coach.
• Zone: Attributes of Zone entity are zone_id(PK),
Zone_name,Zone_code.
• Station: Attributes of station entity are
Station_id(PK),Station_code,station_name, zone_id.
• Pay_info: Attributes of Pay_info entity are payment_id(PK),
pay_mode, amount, pay_date, srl-no, PNR_no, inst_type, inst_amt.
Relationships between Entities:
• One-to-one relation: PAX_info to login_credentials , PAX_info to
refund_rule, Train to Via_details, Class to train_fare, PAX_info to
pay_info.
• Many-to-one relation: PAX_info to ticket_reservation, Zone to the
station, Class to seat_availability.
• Many-to-many: Train to the station, Train to class.
Data-Flow Diagram(DFD):
This diagram represents various operations by dataflow movement.
• Level 0 DFD:

Page | 3
• Level 1 DFD:

Page | 4
Class Diagram:
These diagrams describe the operation and attributes of a class with imposed
constraints in the system. In this article the classes to be considered are
‘payment’, ‘train’, ‘passenger’, ‘ticket’, ‘railway reservation system’, ‘admin’. The
description of the classes is given below.

Class Attributes Processes

Payment amount ticketGeneration

train code, train name,


Train —
frequency

login, search Train, modify the


form,
passenger PAX_id, name,age,sex
pay charges, book tickets now
ticket, cancel tickets

PNR_no, status, payment type,


train code search train,
ticket new Ticket, delete tickets
date of journey

railway
reservation system response
system

formDetails, cancellationForm,
Admin ID, name
refundAmt

Page | 5
Use-Case Diagram:
By using use case diagrams, the interactions between a system and the users
within that system will be represented.

Page | 6
Use-Case Descriptions:
The relationship between the actors and the use cases of the online Railway
reservation system is given below–>
1. Passenger Entity: Use cases of passengers are login, ticket
availability, Filling the form, Book ticket, Canceling ticket, and Refund
money.
2. Railway Reservation System: Use cases of the Railway Reservation
System are login, ticket availability, Fill the form, Book ticket, Cancel
ticket, and Refunding money.
3. Admin: use cases of Admin are Print ticket, refund money. Admin also
controls the whole Railway Reservation System in different cases.

Activity Diagram:
This diagram shows the flow of processes from one to another activity.

Page | 7
Sequence Diagram:
This diagram shows how and in which order a group of objects works together
in a system. This is an interactive diagram and this is mostly used by software
developers.

Page | 8

You might also like