Good afternoon.
Here's the class diagram question with the diagram I've been able to do.
Describe the class diagram for a simple system of reservation and occupation of rooms to a hotel. The system must store reservations made by an employee of one or more rooms for a particular client. The employee should be able to check if a room is busy or not, insert or change the data of a client, make the reservation of a room to a customer. Consider the attributes of all classes as private. Each client is The employee must have: name, address, telephone. The client must still have a field that stores the amount of occupations already performed by him. A room can be simple or luxury and should indicate the number of beds and the type of each (single or double).
Is the representation correct? I had great difficulty adding the methods, which I added in the Client and Room class are correct? Are there others to add?
Thank you!