45931272 Online Railway Reservation System

27
ONLINE RAILWAY RESERVATION SYSTEM AISHA NAZ

Transcript of 45931272 Online Railway Reservation System

Page 1: 45931272 Online Railway Reservation System

ONLINE RAILWAY RESERVATION SYSTEM

AISHA NAZ

Page 2: 45931272 Online Railway Reservation System

PROBLEM STATEMENT

Information about the route, cancellation of tickets, departure time, arrival time, number of trains available and other such information.Keep track of all its passengers and thus schedule their journey accordingly.Maintains records of passengers travelling in the different trains on different dates reaching different destinations in the system.User friendly interface to administrator and customer

Page 3: 45931272 Online Railway Reservation System

USER TRAIN CLASS

TICKET-1 FARE PAYMENT

TICKET-2

Page 4: 45931272 Online Railway Reservation System

FUNCTIONS OF USER

Train Enquiry Book Ticket Payment Check PNR Status Cancel Ticket Login and Logout

Page 5: 45931272 Online Railway Reservation System

FUNCTIONS OF ADMIN

Add/Remove Trains Add/Remove User Book Ticket Cancel Ticket Get Passenger List Login and Logout

Page 6: 45931272 Online Railway Reservation System

Tables and Normalization

Page 7: 45931272 Online Railway Reservation System

username

password

first_name

last_name

age email Registration-date

Page 8: 45931272 Online Railway Reservation System

train_no train_name

source destination

distance

arrival_time

dep_time

Train number is the primary key of train table . It consists of atomic values of attributes and there is no partial and transitive dependency so it is in 3NF.

PNR

train_no train_name

source

destination

distance

class

fare

arrival_time

departure_time

Name

date

seat_no

Ticket table

Page 9: 45931272 Online Railway Reservation System

train_no train_name

source destination

distance

arrival_time

dep_time

Train_details

train_no class fare

Fare table

1 NF – 3 NF conversion of Train table

Page 10: 45931272 Online Railway Reservation System

PNR train_no

name date seat_no

class fare

Ticket _details

PNR train_no

name date seat_no

class

Ticket1 table

PNR fare

Ticket2 table

Page 11: 45931272 Online Railway Reservation System

train_no

General

Sleeper

Ac I Ac II Ac III

Class_details

receipt_no

username

card_no pin_no bank type

Payement table

Page 12: 45931272 Online Railway Reservation System

DFD (Data Flow Diagram)

3 Level Diagram

-Level 0-Level 1-Level 2

Page 13: 45931272 Online Railway Reservation System

Level 0

Page 14: 45931272 Online Railway Reservation System

User Level 1

Page 15: 45931272 Online Railway Reservation System

Admin Level 1

Page 16: 45931272 Online Railway Reservation System

User Level 2

Page 17: 45931272 Online Railway Reservation System

Admin Level 2

Page 18: 45931272 Online Railway Reservation System

TRIGGERS

If user has entered data in payment, send a trigger to change the value of paid field in ticket (initially set at zero).

Confirmation mail to be sent to the user on his email if he has cancelled the ticket or created an account.

When a new train is added to the train table the fare table should also be updated.

Page 19: 45931272 Online Railway Reservation System

Snapshots

Page 20: 45931272 Online Railway Reservation System
Page 21: 45931272 Online Railway Reservation System
Page 22: 45931272 Online Railway Reservation System
Page 23: 45931272 Online Railway Reservation System
Page 24: 45931272 Online Railway Reservation System
Page 25: 45931272 Online Railway Reservation System
Page 26: 45931272 Online Railway Reservation System
Page 27: 45931272 Online Railway Reservation System

THANK YOU PLEASE VIEW OUR

DEMO