An open API service indexing awesome lists of open source software.

https://github.com/julianamancera/hotel_booking_system

Intelligence System - GUI in Python with Multiple and Single Inheritance
https://github.com/julianamancera/hotel_booking_system

hotel-booking-system intelligent-systems multiple-inheretance single-inheritance

Last synced: 2 months ago
JSON representation

Intelligence System - GUI in Python with Multiple and Single Inheritance

Awesome Lists containing this project

README

        

# 🏨 Hotel_Booking_System

    A GUI-based hotel management system built with Python (Tkinter). This system allows users to book rooms, manage reservations, and includes VIP rooms with exclusive perks.

## 📌 Features
✅ Book Regular & VIP Rooms

✅ Admin Panel for Managing Bookings

✅ VIP Rooms with Special Access Benefits

✅ Supports Different Stay Durations (Overnight/Half-day)

## 📂 Project Structure
![image](https://github.com/user-attachments/assets/aae6d501-6162-4b5e-beb1-777f55e6e35e)

## 🛠 Technologies Used
- Python (Core logic)
- Tkinter (GUI)
- OOP Principles (Single & Multiple Inheritance)

## 🏨 Room Types
| Type | Room Numbers | Features |
| :-------------: | :-----: | :-----------: |
| Regular | 101 - 110 | Standard Queen/Single rooms |
| VIP | 201 - 210 | VIP access: Lounge, Spa, Free Breakfast, etc. |

Each VIP room has **two randomly assigned benefits**, such as:

- Lounge Access
- Free Breakfast
- Private Pool Access
- Luxury Car Service

(see `hotel_management.py` for full list)

## 🔹 Inheritance Structure
**1️⃣ Single Inheritance**

- `RoomBooking (tk.Toplevel)` → Handles the booking GUI

- `VIPRoom` → Manages VIP rooms separately

**2️⃣ Multiple Inheritance**

- `HotelManagement (VIPRoom)` → Combines regular & VIP rooms

- Calls VIP methods (book_vip_room, cancel_vip_booking)

- Retrieves both regular & VIP rooms

## 🚀 How to Run
**1️⃣ Install Python**

- Make sure Python is installed (≥3.7).

**2️⃣ Run the App**

- bash - `python HotelBookingApp.py`

**3️⃣ Use the Interface**
- Click `"Book a Room"` to book a regular or VIP room.
- Click `"Admin Panel"` to manage reservations.