Railway Reservation
Railway Reservation
PROBLEM DEFINITION : The Railway Reservation System is basically developed in order to perform Online ticket reservation and enquiry. Every time a ticket is booked there must be a proper record to be maintained and also the ticket status, availability status must be updated time to time. There may be any new addition of trains and train being deleted or a station added or deleted which must be updated prior in the database. The reservation option enables a person to reserve for a ticket in an easier and efficient manner. Once the train is available the person will be asked to enter his personal details and his requirements regarding the coach and berth. After this the reservation database is updated with the person details, train name and also the source and destination place and a unique PNR number is generated and given as the reference number for the user. The availability status is changed according to the number of tickets booked. The enquiry option allows the user to enter the PNR number and get the current details about the ticket. The software ensures safety and security of details about the passengers, his payment details and ensures integrity of the data being processed
Reserve Tickets
PNR Enquiry
UML DIAGRAMS:
CLASS DIAGRAM:
Class Diagram ONLINE TICKET RESERVATION
# SOURCE #DESTINATION
DISPLAY TRAINS
# SOURCE # DESTINATION
Delete()
Valid ID Yes
No
Logout
PNR Enquiry
Reserve Tickets
Yes
Train Availability
No
Reserve Ticket
Logout
`
SEQUENCE DIAGRAM Database
User
Train
Train is registered
Registration is Confirmed
TEST CASES :
1. To check the availability of the train and status details using the Pnr No. 2. To reserve for the tickets for travel using the Identity proofs.
RESULT : Thus the project to implement Online railway reservation system and to model the data using UML diagram has been executed.