Question: fix this [ the error ( if there is any ) ] and add the messing things according to this: A hotel is made up

fix this [the error (if there is any)] and add the messing things according to this:
A hotel is made up of at least two rooms. Each room has a bathroom: shower or bathtub. A hotel accommodates people. It can employ staff and must be headed by a director. We only know the first and last names of the employees, directors and occupants.
Some people are children and others are adults (using children to work is prohibited). A hotel has the following characteristics: an address, a number of rooms and a category.
A room is characterized by the number and beds it contains, its price and its number.
We want to be able to know who is occupying which room on what date. For each day of the year, we want to be able to calculate the rent for each room based on its price and occupancy (the rent is zero if the room is unoccupied). The sum of these rents makes it possible to calculate the hotel's turnover between two dates.
Question: Give a class diagram to model the hotel problem
 fix this [the error (if there is any)] and add the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!