Hotel Management — Simple#
Problem statement (interviewer prompt)
Design a hotel management system: rooms with categories + pricing, search by date range + occupancy, reservation with deposit, check-in / check-out, billing for stay + extras (mini-bar / room service), housekeeping status, and analytics for the operator.
classDiagram
class Hotel
class Room
class Reservation
class Guest
class Payment
Hotel "1" *-- "many" Room
Guest "1" -- "many" Reservation
Reservation --> Room
Reservation --> Payment