3/16/2015 Hotel Management system Capstone Paper Draft Version Xiyi Li
1 Hotel Management System With the improved quality of life, the way people live changes as well as their consuming attitudes. Under this circumstance, restaurant and hotel have plenty of space to develop in a modern way. Traditional hotel business mode is no longer suitable in this informational era. Professional and international service management system would help shorten the distance between companies and the world, increase the business efficiency in order to improve the service quality, customer s satisfaction, and company s core competence. So being that I am interested in system development, I decided to create a hotel information management system for small hotel business as my capstone project. I also want to learn more about database, for example, how to make more complex database and query information in a more sufficient way. Another motivation I had for doing this project is my interest in user interface design. I have developed a great appreciation for website design after I took the fundamentals of programming class. I learned a great deal of website design and development skills. Then I took system analysis and design class, which enhanced my analysis ability in developing an integrated system. I learned how to apply the C# code to the aspx.net pages, as well as how to create a content management system. It is really exciting that I am going to develop a system on my own, of course it is a challenge for me, and however, I believe that I will learn a lot after overcoming difficulties. Because once I have met all those challenges and get the project done, the reward is a properly working system which would make me feel satisfied. After figuring out what I should do, I started to think about how to accomplish this project. Based on the requirement and need of hotel management, the project is aimed to build a basic functional system in order to achieve the efficiency in the hotel management. Considering that hotel keeps a huge amount of files to handle reservation details, bills and
2 inventory items, the overall mission of the system development is to make the hotel quickly and easily complete the hotel management task. Although this system is intended for hotel employees, different types of employees have different permissions when using the system. Three types of users are separated in the system, they are manager (admin), front-desk clerk, and employees from other departments who only have permission to read. Later, I summarized the whole project into four steps. 1. Analyze the services needed in the hotel management system, which I think is very important in developing a system. 2. Use UML to build the structure of the system, which is a deeper way of analyzing the system structure. 3. Design the system, Web interface and the database, which I might have difficulties in database connection because I didn't learn much about it before. 4. Summary the system and discuss the development of the system, which is a learn from past session. Since I had a general idea to go with, I had to get several software and technologies to make it happen. I will use C# language as a programming language to build the system. The platform that these codes will be run is.net frameworks. The software Microsoft Visual Studio 2013 will be used to implement the codes. Microsoft SQL Server 2014 will be used to create the database. I feel excited and worried at the same time, because I am not sure if I can make it work eventually. However, I am willing to try to put the pieces together step by step and I figured that if I couldn t figure out how to do something, I could get some support from classmates and the internet. Since my computer doesn t have enough capacity to support all the software, I decided to accomplish my capstone project in CIS&T lab. Users and Function of the system I started the project from analyzing the users and functions of the system. Three classes of users will be involved in the system: hotel manager, front-desk clerk and staff from other departments. Front-desk clerk will receive, verify, and register customers information
3 through the management information system; hotel manager will be in charge of managing the basic information on the system, including the reservation details, guests information, and the accounts of the front-desk clerk; people from other departments need to log into the system to see reservation information and prepare for related work, such as cleaning the room for next guests. The whole system includes the backstage database and front end the user interface. User interface provides hotel staff an easy way to manage reservation and retrieve the information of guests. Hotel manager will have the highest privilege who can review and manage the reservation, the room status, and information of the guests and employees. Frontdesk clerk has the second privilege who is in charge of the reservation, check in and check out, as well as manage and query guests information. People from other departments such as house-keeping department can only have the read permission who can see from the system which room needs to be clean, and notify receptionist to change the status of the room. Use case diagram As I mentioned before, this hotel management system is meant for two different types of users front desk server and manager. Also, I made some modifications about the users of the system. I am thinking of cutting off the customer side and only the staff of the hotel to use the system, which means customers could only make reservation by phone. Whole system use case diagram
4 This diagram shows two subsystem within the whole system, which are front customer service subsystem and back office management subsystem. Customers and front-desk servers interact with each other and produce data through the front customer service subsystem; managers can use back-stage management subsystem to get information and manage data. Customer service subsystem use case diagram When customer needs to make reservation, ask for room details, or has other requirements, he/she could call the front-desk person to ask for the services. The front-desk person registers the information of the customers with the customer service subsystem, and make reservation as well as update customers information. Data generated in this subsystem automatically goes to back-stage management subsystem. In addition, manager can use this subsystem to manage the activities happened between customer and front-desk person. Back-stage management subsystem use case diagram
5 Through the management function, manager can manage the spending record of customers, detailed information of customers, and information about rooms as well as employees. Based on these information, business report about the hotel can be formed. Above was my analysis of the hotel management system, and the next thing I had to do is to design the user interface and database. The Hotel database will include five tables UserInfo, CustomersInfo, RoomsInfo, RoomStatus, and History. 1. UsersInfo is used to store the basic user information of the hotel management system Number Field Name Data Structure Remark 1 UserId Int User s ID 2 Name nvarchar(50) User s Name 3 Password nvarchar(50) Password 4 Gender nvarchar(50) 0-male; 1-famale 5 Email nvarchar(50) Email address 6 Telephone nvarchar(50) Telephone number 7 Department nvarchar(50) Department 8 Type Int 1-receptional; 10-administrator; 100-others 2. CustomersInfo is used to store the basic information of the customers who stay in the hotel. Number Field Name Data Structure Remark 1 CIdentituId nvarchar(50) ID number 2 CName nvarchar(50) User s Name 3 CPhone nvarchar(50) Telephone number 3. RoomsInfo is used to store the basic room information
6 Number Field Name Data Structure Remark 1 RoomId Int room ID 2 RCategoryId Int Number of room tpye 3 RPosition nvarchar(50) Room location 4 Description nvarchar(50) Description of room 5 Price Money Room price 4. RoomStatus is used to show whether the room is available or not. Number Field Name Data Structure Remark 1 Room ID Int Room s ID 2 Status int Room status 5. History is used to track the business record. Number Field Name Data Structure Remark 1 EndTime Int Departure time 2 RoomId Int Room ID 3 TotalPrice nvarchar(50) Sum of consumption 4 Email nvarchar(50) Email address 5 Cname nvarchar(50) Customer name 6 Cphone nvarchar(50) Telephone number 1. Home page design
7 There will be two types of user using the system hotel manager and front-desk person. User s different permission will be assigned when he/she is identified. After user enters the home page (login page), he/she need to enter user name and password and click log in button. If the identification is verified, a massage will be showed in a label. If the identification is denied, a massage will be showed asking reenter login information. 2. Room Management page design
8 This part is for the room management. If user wants to search for room information, he/she can just search by the room number; if new room needs to be added, user can simply click add room button; if room information needs to be modified, user can click the link detail ; if there is room which is no longer needed, user can click delete button. 3. Reserve and check out page design This part provides front-desk person with the status of current information for each room. User can search room based on room type, room status and room number. When you click the room, there will be detailed information in below. If the room is available, reservation function will be provided; if the room is not available, check out service will be provided. After I finished the front-end user interface design, unfortunately, I have to face with my weakest part database. I spent couple of days trying to figure out how to use SQL Server Management Studio (SSMS) to connect to the server, because I kept getting the error message saying I cannot connect to SQL Server. I looked up online searching for support,
9 and tried many solutions. Unluckily, none of them worked. Finally I realized it was because the server name on connection window was wrong. After changed the server name, I successfully connected to the server. It was a great lesson for me, which is never rush trying to get help from somewhere else before you go through all the possible solution you could find out. Because I didn't take the information structure class at the University of Pittsburgh at Bradford, I borrowed some study materials from my classmates and watched some online video about SQL Server. I followed the steps to create tables, wrote query code to add, delete, query, change the data stored in these tables. It didn't seem to be hard until I applied it to my project. The relationship between tables can be very confusing sometimes and I kept mixing them up. I did encounter a small problem when trying to connect SQL Server database to C# because there was some missing component in VS 2013 installation. After I downloaded the SQL Server Data Tool, the connection was successful. Now I am trying to get the login page work and make hotel room information searchable. I used the similar code as one of my other project, but it doesn't seem to work.
10