0% found this document useful (0 votes)
2 views

comp project 12

The project aims to develop an automated hotel management system that streamlines various hotel operations, including booking, billing, and employee management. It utilizes VB.net for the front end and SQL Server for the back end, providing features like reservation systems, check-in/check-out processes, and customer relationship management. The system is designed to enhance efficiency, reduce paperwork, and improve overall hotel management.

Uploaded by

rajanbabu82921
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

comp project 12

The project aims to develop an automated hotel management system that streamlines various hotel operations, including booking, billing, and employee management. It utilizes VB.net for the front end and SQL Server for the back end, providing features like reservation systems, check-in/check-out processes, and customer relationship management. The system is designed to enhance efficiency, reduce paperwork, and improve overall hotel management.

Uploaded by

rajanbabu82921
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 27

AIM OF THE PROJECT

The aim of an automated hotel management system is to manage all aspects


of the hotel's information and booking system. This application attempted to cover
all operations that occur in residential hotels. It is all identified, from employee
management to booking, foods, offices, storage, and room type management,
among other things. We sought to demonstrate how data/information is processed
in hotels in our project, automated Hotel Management System. We’ve only
included a few modules because our aim is to get an idea or learn more about
how hotels are managed. With the addition of several more components, this type
of project may be used in a variety of hotels. The efficiency of any hotel
is determined by the method used to obtain and prevent information from
customers' personal data for use in the hotel's various services. It has been a
complex and difficult operation to manage their outcome revealed, particularly
when information flow is consistent.
The mission is to facilitate easy management and administration of a hotel with
capabilities to do Booking or reservations of the rooms, Cancellation of the rooms,
Cash billing, Room service, Restaurant service, Restaurant Billing, Total Billing,
Travels arrangement etc. using the automated hotel management software. One
can keep detailed records or info on an unlimited amount of customers. The system
lets the user Know which all rooms are available for occupancy at any point of
time. This makes the Booking considerably faster. And thus helps the hotel in
better management and reduce a lot of paper work as well as manpower.
This application attempted to cover all operations that occur in residential
hotels. It is all identified, from employee management to booking, foods,
offices, storage, and room type management, among other things. We sought
to demonstrate how data/information is processed in hotels in our project,
automated Hotel Management System. We’ve only included a few modules
because our aim is to get an idea or learn more about how hotels are managed.
With the addition of several more components, this type of project may be used
in a variety of hotels. The efficiency of any hotel is determined by the method
used to obtain and prevent information from customers' personal data for use in
the hotel's various services. It has been a complex and difficult operation to
manage their outcome revealed, particularly when information flow is consistent.
ABOUT THE PROJECT

Hotel Management System is a software system where the management of entire


hotel is computerized. The hotel management system is designed using VB.net as
the rich GUI for front end and SQL Server as the secured back-end database. In
this project the details are maintained like customer details, reservation details,
booking details and billing details the reservation process of reserving rooms for
the customers, canceling the reserved rooms, booking the rooms vacating the
rooms, the restaurant management, billing process, etc. all are computerized and
the management is done without any difficulty The reports can be viewed
completely and the head of the management daily or weekly or monthly can review
it. For company auditing it will be more useful. This Proposed System will be
interactive, faster and user-friendly for the end users. Using the hotel management
system, the following activities can be performed. The “finance and account”
aspect of the HMIS will not capture the budget function; it only captures the
accounts receivables and accounts payable.  Another limitation of the system is
that customer’s signature will not be captured. This process might make
procedures cumbersome, which is what the study hopes to eliminate; however it
captures full details of the customer. f the Hotel management Information system
basically consists of five modules which include; the front desk/reception module,
Accommodation /Room Allocation module, catering (Restaurant and Bar)
Module, Finance and account module and Administration and General Services.
FEATURE OF THE PROJECT
1. Reservation System: Developing a system for guests to make reservations
online or through other channels, managing room availability, and
integrating with payment systems.

2. Check-in/Check-out System: Designing processes and software for


efficient guest check-in and check-out, including room assignment, key card
issuance, and billing.

3. Billing and Invoicing: Implementing systems to generate bills for guests,


manage payments, and integrate with financial systems for accounting
purposes.

4. Housekeeping Management: Creating tools for scheduling and tracking


housekeeping tasks, ensuring rooms are cleaned and maintained efficiently.

5. Inventory Management: Managing hotel supplies, from linens to toiletries,


ensuring adequate stock levels and automated reordering processes.

6. Customer Relationship Management (CRM): Building a CRM system to


track guest preferences, manage loyalty programs, and personalize guest
experiences.

7. Staff Management: Developing systems for staff scheduling, payroll, and


performance management to ensure smooth operations and guest
satisfaction.

8. Analytics and Reporting: Implementing tools to analyze data on occupancy


rates, revenue, guest satisfaction, and other key metrics to optimize
operations and marketing strategies.
9. Security and Access Control: Integrating systems for guest and staff
security, including CCTV monitoring, access control systems, and
emergency response protocols.

10. Mobile Apps and Integration: Developing mobile apps for guests
to access services, check-in remotely, request services, and provide feedback.

These components can be part of a larger integrated system or


individual modules that work together to enhance the overall guest experience,
streamline operations, and maximize revenue for the hotel. The complexity and
scale of the project will depend on factors like the size of the hotel, its target
market, and its existing technological infrastructure.
DESCRIPTION OF THE PROJECT

 Overview of Hotel Management System

o Brief description of what a hotel management system entails.

o Importance of efficient database design for such systems.

 Purpose of the Document

o Outline the objectives:

o Define the scope of the MySQL database schema.

o Provide an overview of entities, relationships, and attributes.

 Database Design Considerations

o Factors influencing the design:

o Scalability, performance, security, and ease of maintenance.

o Accommodation of current and future requirements.

Entity-Relationship Diagram (ERD)

 ERD Overview

o Detailed description of the ERD:

o Entities: Hotel, Room, Guest, Reservation, Staff, etc.

o Relationships: One-to-One, One-to-Many, Many-to-Many.

o Cardinality and participation constraints.

 ERD Description

o Narrative of each entity:

o Attributes, primary keys, foreign keys.


o Purpose and role within the system.

Database Schema

 Schema Design

o Translating ERD to database schema:

o Tables, columns, data types, constraints.

Data Access and Security

Data Access

o User roles and privileges:

o CRUD operations.

o Views and stored procedures.

 Security Measures

o Protection against unauthorized access:

o Authentication and authorization.

o Encryption and data masking.

 Data Integrity

o Ensuring consistency:

o Transactions and ACID properties.

o Error handling and recovery.

Performance Optimization and Conclusion

 Performance Considerations

o Indexing strategies:
o Query optimization.

o Caching mechanisms.

 Scalability

o Handling increasing data volumes:

o Partitioning and sharding.

This structured approach ensures a comprehensive coverage of the MySQL


database design for a hotel management system, encompassing both theoretical
considerations and practical implementation details. Each section can be expanded
with specific details and SQL code examples to further enrich the document.

MySQL is a popular open-source relational database management system


(RDBMS) known for its reliability, performance, and ease of use. It is widely used
in various applications ranging from small-scale web applications to large-scale
enterprise systems due to its robust features and strong community support. Here’s
a detailed description of MySQL covering its features, architecture, use cases, and
advantages:

1. Relational Database: MySQL follows the relational model and uses


Structured Query Language (SQL) for managing and manipulating data.

2. Open Source: MySQL is open-source software, which means it is freely


available for use, modification, and distribution under the GNU General
Public License (GPL).

3. Scalability: It can handle large amounts of data and is scalable from single-
user applications to large enterprise systems.

4. High Performance: MySQL is optimized for fast read and write operations,
making it suitable for high-demand applications.
5. Cross-Platform Support: It runs on various platforms including Linux,
Windows, macOS, and Unix, providing flexibility in deployment.

6. Data Security: MySQL provides robust security features including data


encryption, access control through user authentication, and SSL support for
secure connections.

7. Replication and High Availability: It supports replication to create


redundant copies of databases for backup and failover mechanisms to ensure
high availability.

8.Community Support: MySQL has a large and active community of


developers and users who contribute to its development, provide support, and
share knowledge through forums, blogs, and conferences.
Architecture of MySQL

MySQL architecture consists of several key components:

1. Connection Handler: Manages client connections and authentication.

2. SQL Interface: Parses and executes SQL statements submitted by clients.

3. Optimizer: Analyzes queries and determines the most efficient way to


execute them.

4. Storage Engines: Different storage engines (e.g., InnoDB, MyISAM) handle


data storage, retrieval, and indexing.

5. Buffer Pool: InnoDB uses a buffer pool to cache frequently accessed data in
memory, improving performance.

6. Log Files: Transaction logs (e.g., redo logs, binary logs) record changes to
data to ensure durability and recoverability.

Use Cases of MySQL

MySQL is used in a wide range of applications including:

 Web Applications: Powering content management systems (CMS), e-


commerce platforms, and social media websites.

 Data Warehousing: Storing and analyzing large volumes of data for


business intelligence and reporting.

 Online Transaction Processing (OLTP): Handling concurrent transactions


and ensuring data integrity in banking, finance, and retail systems.

 Content Management: Managing structured and unstructured data in


content management systems and publishing platforms.


 HARDWARE AND SOFTWARE REQUIREMENT
 Recommended System Requirements
 Processors: Intel® Core™ i3 processor 4300M at 2.60 GHz.
 Disk space: 2 to 4 GB.
 Operating systems: Windows® 10, MACOS, and UBUNTU.
 Python Versions: 3.X.X or Higher.
 Minimum System Requirements
 Processors: Intel Atom® processor or Intel® Core™ i3 processor.
 Disk space: 1 GB.
 Operating systems: Windows 7 or later, MACOS, and UBUNTU.
 Python Versions: 2.7.X, 3.6.X.
 Prerequisites before installing MySQL Connector Python
 You need root or administrator privileges to perform the
 installation process.
 Python must be installed on your machine.
 Note: – MySQL Connector Python requires python to be in the
 system’s PATH. Installation fails if it doesn’t find Python.
 On Windows, If Python doesn’t exist in the system’s PATH, please
 manually add the directory containing python.exe yourself.
DBMS : MYSQL

HOST: LOCAL HOST

USER:ROOT

PASSWORD :ROOT

DATABSE : HOTEL

TABLE STRUCTURE : AS GIVEN BELOW


create table custdata(custname varchar(20),addr varchar (30),indate
varchar(10),outdate

varchar(10));

create table roomtype (sno varchar(5),roomtype varchar(10),rent integer(10));

insert into roomtype values ('1','type A',1000);

insert into roomtype values ('2','type B',2000);

insert into roomtype values ('3','type C',3000);

insert into roomtype values ('4','type D',4000);

create table restaurent (sno integer(10),itemname varchar(10),rate integer(10));

insert into restaurent values(1,"tea",10);

insert into restaurent values(2,"coffee",10);

insert into restaurent values(3,"colddrink",20);

insert into restaurent values(4,"samosa",10);

insert into restaurent values(5,"sandwich",50);

insert into restaurent values(6,"Dhokla",30);

insert into restaurent values(7,"kachori",10);

insert into restaurent values(8,"milk",20);

insert into restaurent values(9,"noodles",50);

insert into restaurent values(10,"pasta",50);


create table laundary(sno integer(10),itemname varchar(10),rate integer(10));

insert into laundary values(1,"pant",10);

insert into laundary values(2,"shirt",10);

insert into laundary values(3,"suit",10);

insert into laundary values(4,"sari",10);


PYTHON CODE :
import os
import platform
import mysql.connector
import pandas as pd
import datetime
global z
mydb = mysql.connector.connect(user='root', password='abha',
host='localhost',
database='hotel')
mycursor=mydb.cursor()
def registercust():
L=[]
name=input("enter name:")
L.append(name)
addr=input("enter address:")
L.append(addr)
indate=input("enter check in date:")
L.append(indate)
outdate=input("enter check out date:")
L.append(outdate)
cust=(L)
sql="insert into custdata(name,addr,indate,outdate)values(%s,%s,%s,%s)"
mycursor.execute(sql,cust)
mydb.commit()
def roomtypeview():
print("Do yoy want to see room type available : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from roomtype"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
def roomrent():
print ("We have the following rooms for you:-")
print ("1. type A---->rs 1000 PN\-")
print ("2. type B---->rs 2000 PN\-")
print ("3. type C---->rs 3000 PN\-")
print ("4. type D---->rs 4000 PN\-")
x=int(input("Enter Your Choice Please->"))
n=int(input("For How Many Nights Did You Stay:"))
if(x==1):
print ("you have opted room type A")
s=1000*n
elif (x==2):
print ("you have opted room type B")
s=2000*n
elif (x==3):
print ("you have opted room type C")
s=3000*n
elif (x==4):
print ("you have opted room type D")
s=4000*n
else:
print ("please choose a room")
print ("your room rent is =",s,"\n")
def restaurentmenuview():
print("Do yoy want to see mebu available : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from restaurent"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
def orderitem():
global s
print("Do yoy want to see mebu available : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from restaurent"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)

print("do you want to purchase from above list:enter your choice:")


d=int(input("enter your choice:"))
if(d==1):
print("you have ordered tea")
a=int(input("enter quantity"))
s=10*a
print("your amount for tea is :",s,"\n")
elif (d==2):
print("you have ordered coffee")
a=int(input("enter quantity"))
s=10*a
print("your amount for coffee is :",s,"\n")
elif(d==3):
print("you have ordered colddrink")
a=int(input("enter quantity"))
s=20*a
print("your amount for colddrink is :",s,"\n")
elif(d==4):
print("you have ordered samosa")
a=int(input("enter quantity"))
s=10*a
print("your amount fopr samosa is :",s,"\n")
elif(d==5):
print("you have ordered sandwich")
a=int(input("enter quantity"))
s=50*a
print("your amount fopr sandwich is :",s,"\n")
elif(d==6):
print("you have ordered dhokla")
a=int(input("enter quantity"))
s=30*a
print("your amount for dhokla is :",s,"\n")
elif(d==7):
print("you have ordered kachori")
a=int(input("enter quantity"))
s=10*a
print("your amount for kachori is :",s,"\n")
elif(d==8):
print("you have ordered milk")
a=int(input("enter quantity"))
s=20*a
print("your amount for kachori is :",s,"\n")
elif(d==9):
print("you have ordered noodles")
a=int(input("enter quantity"))
s=50*a
print("your amount for noodles is :",s,"\n")
elif(d==10):
print("you have ordered pasta")
a=int(input("enter quantity"))
s=50*a
print("your amount for pasta is :",s,"\n")
else:
Print("please enter your choice from the menu")
def laundarybill():
global z
print("Do yoy want to see rate for laundary : Enter 1 for yes :")
ch=int(input("enter your choice:"))
if ch==1:
sql="select * from laundary"
mycursor.execute(sql)
rows=mycursor.fetchall()
for x in rows:
print(x)
y=int(input("Enter Your number of clothes->"))
z=y*10
print("your laundary bill:",z,"\n")
return z
def lb():
print(z)
def res():
print(s)
def viewbill():
a=input("enter customer name:")
print("customer name :",a,"\n")
print("laundarey bill:")
print(lb)
print("restaurent bill:")
print(res)

def Menuset():
print("enter 1: To enter customer data")
print("enter 2 : To view roomtype")
print("enter 3 : for calculating room bill")
print("enter 4 : for viewing restaurent menu")
print("enter 5 : for restaurent bill")
print("enter 6 :for laundary bill")
print("enter 7 : for complete bill")
print("enter 8 : for exit:")
try:
userinput=int(input("pleaseselect an above option:"))
except ValueError:
exit("\n hi thats not a number")

userinput=int(input("enter your choice"))


if(userinput==1):
registercust()
elif(userinput==2):
roomtypeview()
elif(userinput==3):
roomrent()
elif(userinput==4):
restaurentmenuview()
elif(userinput==5):
orderitem()
elif(userinput==6):
laundarybill()
elif(userinput==7):
viewbill()
elif(userinput==8):
quit()
else:
print("enter correct choice")
Menuset()
def runagain():
runagn=input("\n want to run again y/n:")
while(runagn.lower()=='y'):
if(platform.system()=="windows"):
print(os.system('cls'))
else:
print(os.system('clear'))
Menuset()
runagn=input("\n want to run again y/n:")
runagain()
OUTPUT
BIBILOGRAPHI

1. python.org

2. Code Academy

3.tutorialsPoint.com

4. PythonChallenge.com

5. Google’s Python Class

6. LearnPython.org

7. layak.in

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy