Académique Documents
Professionnel Documents
Culture Documents
3/28/12
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
US ER
TR AIN
3/28/12
CL AS S
TICK ET-1
FA RE
PAY MEN T
TICK ET-2
3/28/12
FUNCtions OF USER
Train Enquiry Book Ticket Payment Check PNR Status Cancel Ticket Login and Logout
3/28/12
Functions of admin
Add/Remove Trains Add/Remove User Book Ticket Cancel Ticket Get Passenger List Login and Logout
3/28/12
3/28/12
Registr ationdate
3/28/12
Train number is the primary key of train table . It consists of atomic values of attributes and there table Ticket is no partial and transitive dependency so it is in 3NF. P train_n train so dest dist clas farearriv dep Namdat seat_ No _na ur inati anc s al_ti artu e e no R me ce on e me re_ti me
1 NF 3 NF conversion of Train table Train_det ails train_no train_na sourc destinat distan arrival_ti dep_tim me e ion ce me e
3/28/12
fare
3/28/12
seat_n class o
fare
3/28/12
Ac II
Ac III
bank
type
3/28/12
Level 0
3/28/12
User Level 1
3/28/12
Admin Level 1
3/28/12
User Level 2
3/28/12
Admin Level 2
3/28/12
3/28/12
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.
3/28/12
Snapshots
3/28/12
3/28/12
3/28/12
3/28/12
3/28/12
3/28/12
3/28/12
3/28/12