Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Build a conceptional model for an Online Bus Booking System. The solution should be presented as an ER-diagram. Base your design on the following requirements

image text in transcribed

Build a conceptional model for an Online Bus Booking System. The solution should be presented as an ER-diagram. Base your design on the following requirements The database should record information about Customers, Emails, Addresses, Tickets, Buses, Bus Sched ules, Bus Stops, Purchase Feedback, and Payments A Customer has a name which consists of firstName, middleName and lastName. Customers are identified by a unique custID. A Customer can have one or more phoneNumbers -Custorners can book any number of Tickets (including none). Customers may provide Feedback for each booking (optional). For every booking, a Customer has to make a Payment. . An Address consists of a unique addrID, street, streetNumber, city, state and zipcode. The attributes city and state can be derived from the attribute zipcode. A Customer can be associated with any number of Addresses and there may be multiple Cus- tomers living at the same Address. There may be some Addresses which are not be associated with any Customer An Email consists of unique emailID and a Password. A Customer may or may not have an Email and every Email belongs to a single owner (customer) We assume that a Customer can have only one Email A Bus is identified using a busNumber. A Bus has a capacity, model and a ticketPrice. A Bus may follow several Schedules A Bus Stop is uniquely identified by the Address it is located at. A Bus Stop has a type (either sheltered or simple) . A Schedule includes an ArrivalTime, DepartureTime, and a unique scheduleID A Schedule is associated with one or more Bus Stops. For each association, we record the scheduled time of the bus stopping at this Bus Stop . A Ticket has its unique ticketId. Tickets also have a bookingDate and travelDate. A Ticket may have one or more seat Numbers Each Ticket may be associated with a single Feedback Every Ticket has a Bus associated with it, while a Bus may have many different Tickets associated with itself. . A Payment is identified by the Ticket for which the payment was made. It consists of the amountPaid and paymentMethod (Credit Card, E-Check, etc) Every Purchase Feedback is uniquely identified by the Ticket for which the feedback is given. For each Purchase Feedback we store a rating and comment. Build a conceptional model for an Online Bus Booking System. The solution should be presented as an ER-diagram. Base your design on the following requirements The database should record information about Customers, Emails, Addresses, Tickets, Buses, Bus Sched ules, Bus Stops, Purchase Feedback, and Payments A Customer has a name which consists of firstName, middleName and lastName. Customers are identified by a unique custID. A Customer can have one or more phoneNumbers -Custorners can book any number of Tickets (including none). Customers may provide Feedback for each booking (optional). For every booking, a Customer has to make a Payment. . An Address consists of a unique addrID, street, streetNumber, city, state and zipcode. The attributes city and state can be derived from the attribute zipcode. A Customer can be associated with any number of Addresses and there may be multiple Cus- tomers living at the same Address. There may be some Addresses which are not be associated with any Customer An Email consists of unique emailID and a Password. A Customer may or may not have an Email and every Email belongs to a single owner (customer) We assume that a Customer can have only one Email A Bus is identified using a busNumber. A Bus has a capacity, model and a ticketPrice. A Bus may follow several Schedules A Bus Stop is uniquely identified by the Address it is located at. A Bus Stop has a type (either sheltered or simple) . A Schedule includes an ArrivalTime, DepartureTime, and a unique scheduleID A Schedule is associated with one or more Bus Stops. For each association, we record the scheduled time of the bus stopping at this Bus Stop . A Ticket has its unique ticketId. Tickets also have a bookingDate and travelDate. A Ticket may have one or more seat Numbers Each Ticket may be associated with a single Feedback Every Ticket has a Bus associated with it, while a Bus may have many different Tickets associated with itself. . A Payment is identified by the Ticket for which the payment was made. It consists of the amountPaid and paymentMethod (Credit Card, E-Check, etc) Every Purchase Feedback is uniquely identified by the Ticket for which the feedback is given. For each Purchase Feedback we store a rating and comment

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Neo4j

Authors: Gregory Jordan

1st Edition

1484200225, 9781484200223

More Books

Students also viewed these Databases questions

Question

Find dy/dx if x = te, y = 2t2 +1

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago