Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project is a indoor sports venue where sports enthusiasts book their spot and they get both the space and equipment for their play. Currently, they

Project is a indoor sports venue where sports enthusiasts book their spot and they get both the space and equipment for their play. Currently, they provide three sports: Cricket, Football and Hockey across a total of 9 field.The current business setup features a website with limited functionalities, lacking an online booking system. Customers must visit in person or make a call to inquire about field availability and timings. The absence of an online process hinders real-time slot visibility. We have proposed a new online reservation booking system. We have designed a design class diagram for the project. Provide program stubs and test driver code for twoclasses ( Customer, Reservation ) from your Design Class Diagram.
Customer class detail: -
- customerID:int (key, unique)
- customerFirstName:string
- customerLastName:string
- cutstomerEmail:string
- customerPhoneNumber:int +getCustomerInfo(): string
+ setCustomerID(pID)
+ getCustomerID:int
+ setCustomerFirstName(fName)
+ getCustomerFirstName:string
+ setCustomerLastName(lName)
+ getCustomerLastName:string
+ setCutstomerEmail(mail)
+ getCutstomerEmail:string
+ setCustomerPhoneNumber(pNum)
+ getCustomerPhoneNumber:int
Reservation class:
- reservationID:int
- reservationDate:date
- reservationTimeslot:string
+ setReservationID:(rID)
+ getReservationID:int
+ setReservationDate:(rDate)
+ getReservationDate:date
+ setReservationTimeslot:rSlot
+ getReservationTimeslot:string

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

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

ISBN: 133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago