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

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

25.0 m C B A 52.0 m 65.0 m

Answered: 1 week ago

Question

Question Can plan participants borrow from a VEBA?

Answered: 1 week ago