The above class diagram is for the Hotel Management System. There are total five classes, which are Rooms, Receptionist, Guest, Admin and Booking. The room class is for the information of rooms. The receptionist class has the information of receptionist and the functions he can perform. The Admin class has the information of username and password. The patient class is for those patients who visited hospital for the checkup. The booking class has the information of bookings and the doctor and patients.