Professional Documents
Culture Documents
<<uses>>
Railway
Reservation staff
Database
Train Information
<<extends>>
issuing of tickets
printer
database
incorrect info
correct info
display train
information
database printer
enter class of
coach
reservation available
printer
database
enter the
train name
enter the
destination station
enter name
enter age
enter sex
enter
address
incorrect details
print ticket
Class diagram:
Passenger Form
Name source_station
age destination_station
sex date_of_journey
address class_of_coach
no_of_passengers
get_passenger_detail()
get_train_detail()
Ticket train
ticket_no train_no
departure_time train_name
amount
calculate_fare()
print_ticket()