- Posted By: freeproject
- Comments: 0
Posted By freeproject on August 2, 2017
Railway Reservation System Class Diagram describes the structure of a Railway Reservation System classes, their attributes, operations (or methods), and the relationships among objects. The main classes of the Railway Reservation System are Train, Ticket, Booking, Customer, Payment, Train Route.
Classes of Railway Reservation System Class Diagram:
- Train Class : Manage all the operations of Train
- Ticket Class : Manage all the operations of Ticket
- Booking Class : Manage all the operations of Booking
- Customer Class : Manage all the operations of Customer
- Payment Class : Manage all the operations of Payment
- Train Route Class : Manage all the operations of Train Route
Classes and their attributes of Railway Reservation System Class Diagram:
- Train Attributes : train_id, train_name, train_number, train_seat_number, train_ticket, train_type, train_description
- Ticket Attributes : ticket_id, ticket_customer_id, ticket_type, ticket_date, ticket_description
- Booking Attributes : booking_id, booking_title, booking_type, booking_ticket, booking_date, booking_description
- Customer Attributes : customer_id, customer_name, customer_mobile, customer_email, customer_username, customer_password, customer_address
- Payment Attributes : payment_id, payment_customer_id, payment_date, payment_amount, payment_description
- Train Route Attributes : train_route_id, train_route_name, train_route_type, train_route_description
Classes and their methods of Railway Reservation System Class Diagram:
- Train Methods : addTrain(), editTrain(), deleteTrain(), updateTrain(), saveTrain(), searchTrain()
- Ticket Methods : addTicket(), editTicket(), deleteTicket(), updateTicket(), saveTicket(), searchTicket()
- Booking Methods : addBooking(), editBooking(), deleteBooking(), updateBooking(), saveBooking(), searchBooking()
- Customer Methods : addCustomer(), editCustomer(), deleteCustomer(), updateCustomer(), saveCustomer(), searchCustomer()
- Payment Methods : addPayment(), editPayment(), deletePayment(), updatePayment(), savePayment(), searchPayment()
- Train Route Methods : addTrain Route(), editTrain Route(), deleteTrain Route(), updateTrain Route(), saveTrain Route(), searchTrain Route()
Class Diagram of Railway Reservation System :
Class Diagram Image: