Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started