Kou Stub
Kou Stub
Kou Stub
HOTEL
MANAGEMENT
SYSTEM
MINI PROJECT REPORT
Submitted By
Koustub S [RA2311003011625]
KATTANKULATHUR
NOVEMBER 2023
BONAFIDE CERTIFICATE
Faculty In-Charge
Dr. Vivek Justus
Assistant Professor
Department of Computing
Technologies Dr. Niranjana
3
ABSTRACT
In my project “Hotel Management System” I have tried to show how the
data/information in hotels is managed. This is just an overview of management
in hotels. It manages and maintains the records of customers, rooms, employees
and drivers in the hotel. The project is aimed to maintain the day-to-day state of
admission/vacation of Residents, List of employees, room details etc. Main
objective of this project is to provide solution for hotel to manage most there
work using computerized process. This software application will help admin to
handle customer information, room allocation details, Payment details etc.
The rooms have different categories like single bed, double bed etc. so their
charges and records will be maintained accordingly. This software has been
made in a user friendly interface, so that anyone can add, delete, update the
entries and handle all the transactions easily. As a security I have provided
Admin username and Password.
5
ACKNOWLEDGEMENT
We express our heartfelt thanks to our honorable Vice Chancellor Dr. C.
Muthamizhchelvan, for being the beacon in all our endeavors. We would like to
express my warmth of gratitude to our Registrar Dr. S Ponnusamy, for his
encouragement.
We are highly thankful to our Course project Faculty Dr. Vivek Justus,
Assistant Professor , Department of Computing Technologies, for his
assistance, timely suggestion and guidance throughout the duration of this course
project.
Finally, we thank our parents and friends near and dear ones who directly and
indirectly contributed to the successful completion of our project. Above all, I
thank the almighty for showering his blessings on me to complete my Course
6
project.
TABLE OF CONTENTS
1. Introduction 6
2. Literature Survey 8
3. Requirement Analysis 10
7. Future Scope 40
8. Conclusion 42
9. References 42
INTRODUCTION
7
In today’s fast-paced world, the need for efficient management of hotel data and
operations has become increasingly important. The traditional way of managing
hotel information involved manual record-keeping, which can be cumbersome,
error-prone, and time-consuming. With the advancement of technology, many
hotels are now opting for computerized systems that streamline operations,
improve efficiency, and enhance the overall guest experience.
This software application is built with an easy-to-use interface that allows hotel
staff to add, delete, and update entries seamlessly. To ensure data security, the
system includes an Admin login with a username and password for authorized
access only.
The "Hotel Management System" will be developed using Java as the primary
programming language, leveraging the Swing API for building an intuitive
graphical user interface (GUI). The backend will use MySQL for data storage to
ensure reliable management of customer, room, and payment information. This
8
software aims to provide a practical and scalable solution for managing hotel
operations, ensuring accuracy, efficiency, and improved customer service.
In addition to basic management features, the system will also provide reporting
tools that allow hotel managers to generate various reports, such as occupancy
rates, revenue summaries, and customer feedback analysis. These reports will aid
in strategic decision-making and help in identifying areas of improvement,
thereby contributing to the overall growth and success of the hotel business.
LITERATURE SURVEY
9
REQUIREMENT ANALYSIS
11
IMPLEMENTATION
1. Set Up the Development Environment:
1. Install Python: Ensure that Python is installed on your system.
2. Choose a GUI library: Select a GUI library such as Tkinter, PyQt, or
Kivy to create the interface.
3. Set up a database: Install and configure an RDBMS like MySQL or
PostgreSQL for data storage.
2. Create the User Interface:
1. Design and code the GUI screens using your chosen GUI library.
2. Develop screens for user registration, login, profile management, event
creation, discussion forums, mentorship programs, resource sharing, and
notification management.
Room.java
package HotelManagementSystem;
public Employee() {}
}
19
Employee.java
package HotelManagementSystem;
public Employee() {}
GuestsController.java
package HotelManagementSystem;
import java.util.ArrayList;
import java.util.Scanner;
guest.setName(name);
guest.setEmail(email);
guest.setDiscount(discount);
guests.set(id, guest);
}
Main.java
package HotelManagementSystem;
import java.util.ArrayList;
import java.util.Scanner;
import HotelManagementSystem.Room;
import HotelManagementSystem.Guest;
import HotelManagementSystem.Employee;
import HotelManagementSystem.Reservation;
import HotelManagementSystem.RoomsController;
import HotelManagementSystem.GuestsController;
import HotelManagementSystem.ReservationsController;
import HotelManagementSystem.EmployeesController;
int i = 0;
while (i!=17) {
System.out.println("Welcome to Hotel Management System");
System.out.println("1. Add new room");
System.out.println("2. Show all rooms");
System.out.println("3. Edit room data");
System.out.println("4. Add new guest");
System.out.println("5. Show all guests");
System.out.println("6. Search guest by name");
System.out.println("7. Edit guest data");
System.out.println("8. Create new reservation");
System.out.println("9. Show all reservations");
System.out.println("10. Get reservation by guest name");
System.out.println("11. Get reservation by guest id");
System.out.println("12. Edit reservation");
System.out.println("13. Pay reservation");
System.out.println("14. Add new Employee");
System.out.println("15. Show all employees");
System.out.println("16. Edit employee data");
System.out.println("17. Quit");
break;
case 4:
GuestsController.addNewGuest(guests, scanner);
break;
case 5:
GuestsController.showAllGuests(guests);
break;
case 6:
GuestsController.searchGuestByName(guests, scanner);
break;
case 7:
GuestsController.editGuest(guests, scanner);
break;
case 8:
ReservationsController.createNewReservation(guests, rooms,
reservations, scanner);
break;
case 9:
ReservationsController.showAllReservations(reservations,
scanner);
break;
case 10:
ReservationsController.getReservationbyGuestName(reservations,
scanner);
break;
case 11:
ReservationsController.getReservationbyGuestId(reservations,
scanner);
break;
case 12:
ReservationsController.editReservation(guests, rooms,
reservations, scanner);
break;
case 13:
ReservationsController.payReservation(reservations,
scanner);
break;
case 14:
EmployeesController.addNewEmployee(employees,
25
scanner);
break;
case 15:
EmployeesController.showAllEmployees(employees);
break;
case 16:
EmployeesController.editEmployeeData(employees,
scanner);
break;
case 17:
scanner.close();
break;
}
}
ReservationsController.java
package HotelManagementSystem;
import java.time.LocalDate;
import java.time.Period;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Scanner;
}
Reservation r = new Reservation(arrivalDate, departureDate,
total, status, guest, room);
reservations.add(r);
r.print();
System.out.println();
}
}
roomId = scanner.nextInt();
}
int id = scanner.nextInt();
if (id==-1) {
showAllReservations(reservations, scanner);
System.out.println("Enter reservation id (int): ");
id = scanner.nextInt();
}
Guest.java
package HotelManagementSystem;
public Guest() {}
RoomsController.java
package HotelManagementSystem;
32
import java.util.ArrayList;
import java.util.Scanner;
room.setFloor(floor);
room.setCapacity(capacity);
room.setType(type);
room.setDescription(description);
room.setPrice(price);
EmployeesController.java|
package HotelManagementSystem;
import java.util.ArrayList;
import java.util.Scanner;
employee.setName(name);
employee.setSalary(salary);
employee.setJob(job);
employees.set(id, employee);
System.out.println("Employee edited successfully!");
}
}
36
Reservation.java
package HotelManagementSystem;
import java.time.LocalDate;
import java.time.Period;
import java.time.format.DateTimeFormatter;
public Reservation() {}
return departureDate;
}
}
39
SCREENS
40
41
FUTURE SCOPE
1. Personalized Guest Experience
• AI-Powered Recommendations: By analyzing guest preferences
and booking history, AI algorithms can provide personalized suggestions for
services such as room upgrades, dining options, and local experiences. The
system could also recommend amenities based on guest profiles, such as spa
services for wellness-oriented guests or city tours for business travelers
extending their stay.
• Customized Offers and Promotions: Machine learning can enable
dynamic pricing and targeted promotions, offering discounts or packages based
on guest behavior, booking trends, or loyalty status. This personalization
increases guest satisfaction and drives revenue through tailored experiences.
CONCLUSION
• The integration of personalized guest experiences, voice-activated
room controls, real-time service management, and sustainable practices will
enable hotel management systems to meet the increasing demand for
convenience, efficiency, and seamless service delivery.
REFERENCES
https://openjfx.io
https://docs.oracle.com/javase/8/docs/
https://dev.mysql.com/doc/connector-j/8.0/en/
https://www.geeksforgeeks.org/swing-in-java/
https://hibernate.org/orm/documentation/
https://www.baeldung.com/jpa