Hotel Management System 2
Hotel Management System 2
Hotel Management System 2
Project Proposal
1.1 INTRODUCTION
This project “MAAN-SOOR HOTEL MANAGEMENT SYSTEM” aims at automating all the
work being done manually in hotels at present. On completion this project would expedite the
work in all regards. Some of the features of this system would be:
Creating a system to automate the services offered by the hotel, this would be more flexible than
their earlier system. The features include:
1. Storing, editing and reporting details of all the rooms available in the hotel.
2. Managing details of Guests’ Checked-In & out of the hotel.
The present approach is given to the Information technology. I.T. is a new and fresh integrated
approach and a key to unlock all the intricate problems of our modern era. This technology tends
to cater all our needs. It is not only an ‘Integrated Approach’, but also job-oriented & concrete
device to aware us of the up-to-date skill and knowledge.
It has worked a magic wand in the spheres of industry, medicine, engineering, agriculture,
transportation, electronics & electrical devices. I.T has boosted progress beyond description. It
has given us the safest & the most concrete means of instruction i.e. computer, Internet, E-mail,
E-commerce, Website and a lifeline for most of our problems. I.T has to a larger extent, played a
role in bettering the global economy. Although there are many companies offering these services
but still quality work is always in demand.
1.2 Background:
Maan-soor hotel was established wonderful fund; it was constructed by wages, since 1993 to
1997 was first hotel like it in Somaliland, because its building caused by opinion and nationalism
aspect when Somaliland was no place to rest.
Hargeisa and Berbera was two cities sources in Somaliland since separated Somalia, therefore
Hargeisa is the capital city of Somaliland where Maan-soor hotel is based, its issue behind its
building was when UN staffs come in hargeisa morning and afternoon they go to rest and sleep
Djibouti by flying an airplane which shames the Somaliland sovereignty and the dignity of
Somaliland this idea invented, sponsor and it’s the owner of the hotel Mr Abdikadir Hashi
Elmi.
Berbera is the city of region Sahil and its coastal towns so hot and hard their climates all the
year, At a period of time when owner of hotel seen how is eager to facilitate another branch in
Berbera when he seen what happen Somalilanders who their residence are lived, others tourists
to go diving (Somalilanders and non-Somalilanders like UN staffs and other come to research
and so on and so forth) and merchants which import goods and commodities sale their people to
buy and how they develop their country at their side. To facilitate everything of their needs to
buy citizens, while Berbera is the port of Somaliland and so strategic area.
All the above aspects was caused to open a another branch of Maan-soor-hotel berbera, this
branch was open by the most significant figure was Somaliland merchants, it was no place to rest
and even drink a beverage drinks when they tired and so much sweets and so other events saw
caused then that is a kind of nationalism by the owner to develop Somaliland development in the
If Allah says, the owner of the Maan-soor hotel shall make other benefitable branches in
Somaliland cities and so other improvements in his aspects
3 Maan-soor Hotel Management System.
Maan-soor Hotel, located on the outskirts of the city, welcomes it's valued guest and
while hoping a pleasant stay, guarantees satisfaction in service and relationship.
The Hotel is in Hargeisa, Somaliland about 5 km west of the centre of city and 11 km
from the international airport. All the United Nations Agencies and International
Organizations offices and residences are located near the hotel which is renowned for its
tranquillity and serene atmosphere. Most of the government offices are only 10 minutes’
drive from the hotel which makes it just the perfect place for business and pleasure.
1.3.1 ACCOMMODATION
Restaurants:
Maan-Soor Hotel has two restaurants in which Hotel guests and customers can dine. We
provide lovely dishes (Cuisines) in which diners can choose from, all prepared by
qualified Chefs. We have exceptional waiters that will be at your service whenever you
need assistance.
Maan-Soor Halls:
Maan-Soor Hotel has 7 Halls in which meetings, seminars, weddings and other events
can be held. We provide over-head projectors, Flip-Chart Stand with Flip Chart paper.
Maan-Soor Hotel can provide food and beverages for the people participating but must be
arranged prior to the event.
Business Centre:
From 1st of July 2003 Maan-Soor Hotel has renovated its Business Center providing you
with new and powerful computers each connected to the Internet using a SATELLITE
connection (V-SAT system) making emailing and browsing a lot easier. The Business
Center has also other peripherals such as LaserJet printer, a scanner, headphones and
webcams to anybody who wishes to use them.
1.3.3 OTHER SERVICES
Visa Arrangements and Other Clearances:
Maan-Soor Hotel can arrange visas and other necessary paperwork requested by its
international customers in Hargeisa or abroad.
Flight Reservations and Other Bookings:
Maan-Soor Hotel can book airlines and any other necessary reservations for its customers
who wish to arrive or depart Somaliland.
The Hotel can make arrangements for anybody who wishes to have a press conference in
Maan-Soor Hotel.
Catering:
Maan-Soor Hotel can provide catering services (including Chefs and Waiters) to anyone
who wishes to use it. The Hotel must be informed a day in advance.
Pastries:
Maan-Soor Hotel is renounced for its pastries. We bake all types of cakes and biscuits
with regardless of your choice.
Sports centre:
Maan-soor hotel is one of the hotels in hargeisa that survived his guests for sport services
like gym, football, tennis and basketball, in near future it wants to bring more and more
others benefits for his guests.
1.5 Departments
A. Reception (Front Office):
It is the most important department of the hotel. The main function of this department is
to give warm welcome to the guest. It helps to create good image in front of the guest.
This is the first department where guest comes in contact with. It generates the
maximum revenue for the hotel as it sells room to the guests. This also includes sub
departments like reservation, Bell desk, and Information desk. It also provides some
facilities like concierge service to the guest.
B. Food and Beverage Service:
It is a department which serves food and beverage to the guest in a very attractive and
pleasing manner, which creates good impression on the guest. There are several kind of
food and beverage outlet like restaurants, Bars, Coffee shops, take away banquets etc. It
is second most revenue producing department of the hotel by selling different types of
food and beverage to the guest.
C. Housekeeping:
This department is responsible for cleaning and maintaining hotel premises which include
public area, guest rooms, lobby, swimming pool area etc. generally this department is not
visible to the guest. It works for guest satisfaction through keeping the environment clean
and hygiene. Horticulture is one of the most important features of housekeeping
department which deals with different types of flower arrangement and maintaining the
garden. This department works to give pleasant look of the hotel to the guest.
D. Food Production:
Guests who use laundry services are sometimes willing to offer advice and
recommendations. Asking around among friends and family members to see who uses a
service is a good idea, as these people may be able to provide advice about the best
service to use, and things to watch out for.
1.7 VISION
Maan-soor Hotel is the vision of achieving leadership within the group of hotels in the
same level. We have the vision to be the best hotel in our area, and as such position
ourselves as the choice for our tourists and guests. The quality of service is based on
years of experience acquired by the owners, partners and employees.
1.8 MISSION
A Home: What the client feels comfortable, quiet and cocky(self-satisfied): Maan-soor
Hotel is to become the refuge of the traveller who comes to realize her dream of meeting
the wonderful Hotel in all over the world, or the traveller who wants to rest after
completing their activities and business.
1.10.2 Objectives
o The main objective of our project is to make reliable and efficient Hotel
management system i.e. a system which is user friendly and at the same time
powerful enough. It has the capability to keep the entire information of a Guest
and to print it the required throughout the project the focus has been on presenting
information and comments in an easy and intelligible manner.
1.10.3 Scope
o It can be used in any Hotel and reservation for maintaining Guest details and their
Check-in rooms.
o Allow for the creation of an application specification to the Hotel management
system that maintain the internal automation of the Guest’s reservation software
i.e. which contains the data related to the customer.
Literature Review
In literature review every hotel has topics and documentations were written the services or
products and system running that hotels does work and perform its daily workers. And there are
many topics in Hotel Management system. But unfortunately at Maan-soor Hotel have system
and that system doesn’t have any document but small application in the system they work so that
current system so accurate enough organization’s goals and objectives.
We are emphasize some applications were successfully worked and no redundancy but have
some good characteristics we shall refer for like Maan-soor Hotel so we shall divided the hotel
management system two categories like guest administration and booking administration that
perform good system performance is here to show in this figure (1) below.
Hotel Deep Sleep system was established the Unified Process (UP) methodology the worked an
accurate. In this Hotel management system was simple and accurate like the above figure (1)
shows and snap the system overall overview and this maintenance and performed the two main
subsystem of the hotel management system the easily worked this organization and also guest
registration and create new guest did show the figure (2) below,
11 Maan-soor Hotel Management System.
Figure (1) shows hotel Deep Sleep guest administration and also other sub tasks like creating new guest, register
guest and editing the guest’s information and show guest data
Really we mentioned our documentations what amazing the manager of hotel that we present
was make deep in research and analysed with their hotel system at current time uses and do more
investigation and look of many sides to make documentation about Maan-soor Hotel
12 Maan-soor Hotel Management System.
Management like defects their system have and also some further information enough to their
hotel.
They appreciate and pleasant our terms we did present like mission, vision statement, goals and
objectives of the hotel then they accepted and welcomed open hands and congratulates what we
done for documentations presents we are the first documentation of what we mentioned above .
In this small application does not have enough work about the hotel services, and other social
update like ZAAD services and eCASH debit to use the system for the development of the
environment, then we develop their so user-friendly and so times-saving of the user-working and
so other future scopes if we can we shall develop, if Allah say,
The proposed (new) system is very easy to manage. Speed and accuracy are the main advantages
of proposed system. There is no redundancy of data. The data are stored in the computer’s
secondary memories like hard disk, compact disks, USB’s. It can be easily received and used at
any time. The proposed system will easily handle all the data and the work done by the existing
Technical feasibility:-
A study of resource availability that may affect the ability to achieve an acceptable system. This
evaluation determines whether the technology needed for the proposed system is available or not.
1. Can the work for the project be done with current equipment existing software
technology & available personal?
2. Can the system be upgraded if developed?
3. If new technology is needed then what can be developed?
This is concerned with specifying equipment and software that will successfully satisfy the user
requirement. The technical needs of the system may include:
3. Flexibility.
4. Robustness.
5. According to the organization requirement and the culture.
6. must provide excellent reporting features with good printing support
7. Platform independent.
8. Easy to debug and maintain.
9. Event driven programming facility.
10. front end must support some popular back end like Ms Access
According to the above stated features I selected Visual Basic.Net as the front end for
developing my project.
Back-end selection:
1. Multiple user support.
2. Efficient data handling
3. Provide inherent features for security.
4. Efficient data retrieval and maintenance
5. Stored procedures.
6. Popularity
7. Operating system compatibility
8. Easy to install
9. Various drivers must be available.
10. Easy to implant with the front-end
According to the above stated features I selected Ms Access as the back-end.
The technical feasibility is frequently the most difficult area encountered at this stage. It is
Economic feasibility:-
Economic justification is generally the “Bottom Line” consideration for most systems. Economic
justification includes a broad range of concerns that include cost benefit analysis. In this we
weight the cost and the benefits associated with the candidate system and if it suits the basic
15 Maan-soor Hotel Management System.
purpose of the organization i.e. profit making, the project is making to the analysis and design
phase.
The financial and the economic questions during the preliminary investigation are verified to
estimate the following:
The cost to conduct a full system investigation
The cost of hardware and software for the class of application being considered.
The benefits in the form of reduced cost.
The proposed system will give the minute information, as a result the performance is
improved which in turn may be expected to provide increased profits.
This feasibility checks whether the system can be developed with the available funds. The
Hospital Management System does not require enormous amount of money to be developed.
This can be done economically if planned judicially, so it is economically feasible. the cost
of project depends upon the number of man-hours required
Operational feasibility:-
It is mainly related to human organizations and political aspects. The points to be considered are:
What changes will be brought to the system?
What organizational structures are disturbed?
What new skills will be required? Do the existing staff members have these skills? If not,
can they be trained in due course of time?
The system is operationally feasible as it very easy for the end users to operate it. It only needs
basic information about windows platform.
1- Human Resources
Partners’
Name Address Telephone E-Mail Nationality
Technical Resources
Hardware Resources
Personal Computers
School Laptops
Printers
and communication technology at senior level means he graduate Insha Allah in this year of
academic year 2010/2011, he didn’t worked.
Born in Hargeisa, Adnan Sultan Hassan Nor has secondary education and finished GCSE at
Noradin Secondary School, has worked two year in DurDur Printing Press. And I am a
candidate at Admas University at hargeisa Somaliland with faculty of informatics the
department of information and communication technology at senior level means he graduate
Insha Allah in this year of academic year 2010/2011.
Strengths
The entire Partners’ have good knowledge in programming (software construction) and are
able to come up with good solutions.
Weaknesses
Some Partners’ tend to overlook software design, Lack of Meetings from each Partners’
The problem identified is to construct an IT system for Maan-soor Hotel. The Hotel also
includes a software guarantee, fitness center and restaurant. We will be able to learn more
practical skills in programming and software design.
Problem definition
Setting up a system for hotel management and booking. The Maan-soor Hotel requires an
IT System for guest registration and making bookings. The single user IT system will be
build using VB.net, UML (UP) and SQL platforms. Thus we will apply the knowledge
taught in class and literatures to help us set up the system. The two main subjects SW
Construction and SW design will form the basis of system development.
Partners’ Goals
Come up with a good IT system that can be implemented. Our focus is to achieve the best
mark possible (12).
2.10 Process
Methodology
Action Plans – Partners’ timetable
Absence
Partners’ are not allowed to miss three consecutive meetings without prior knowledge to
other Partner. Lateness is strongly also discouraged.
Sanctions
Discuss the problem with the other Partner.
Call the absent Partner for a discussion.
Consult the lecturers concerning the matter.
2.11 Results
2.12 Commitment
The above set of rules and roles has been decided and agreed upon in the Partners’. The
Partners’ Working Contract can only be changed in agreement of all entire Partners’ of the
Pairs or in special situations (in case of longer absence or nonparticipation) in agreement of
¾ Partner and in dialog with the project supervisor (Advisor).
2.13 Signature
With our signature we acknowledge the above rules and roles and will do the best to perform
accordingly:
Guled Adnan
Inception Phase
3.1 Vision
Introduction
The purpose of vision document is to collect, analyze, and define the vision for Maan-soor Hotel
system based on the It strategy we analyzed and chose the guest administration. It focuses on the
stakeholders requests and needs and the end users and how the Maan-soor Hotel system fulfills
these needs are defined in the use-case and supplementary specifications.
The purpose of the Inception Phase is to define the requirements to the Maan-soor Hotel system.
The vision document applies to the Maan-soor Hotel system which include database and it will
be developed by the students who graduate Admas University from the 8nd and 9th (one of the
last semesters) semester.
The problem domain of this project is the computerization of a Maan-soor Hotel Guest’s for the
hotel management system with a windows-based booking facility.
GUEST’S PROBLEMS
- Currently Guest register for accommodation at reception office only for manually of no
value at all. In case guests are in harry up situation for their purpose and suddenly wants
for their bill, where they cannot wait the manually reservation and calculating for the
hotel, Reception for accommodation becomes impossible and that is the problem.
- Paper-based application requires Guests to print, complete and submit the application
form at the Reception administration. It is difficult because it takes more than quarter
hour to reserve since there is always a long queue.
- Guests apply for accommodation and when they are come the receptionist to find which
room is vacancy at the Hotel, they are told to re-apply even though they applied before
and this confuses Guest and take much time.
- When the guests apply for rooms, there is confusion because some Guests are given the
type of the rooms which they did not apply for. This is because administration does not
always have updated records of vacant rooms and their types.
- There is no electronic complaint or suggestion box (anonymous).
The guests can not complain, or make suggestions or comments about the problem they face with
the system and also they cannot tell any information to the administrator.
DATABASE MANAGEMENT
The database will be managed by the administrator and it will have the following characteristics:
- The Database shall be accessible by the software.
- The Database shall allow users to store and search for data
- The Database shall allow users to modify stored data.
- The Database shall allow users to delete stored data.
24 Maan-soor Hotel Management System.
SOFTWARE MANAGEMENT
- The software shall be accessible from Windows platforms.
- The software shall be able to interact with the database to retrieve and modify data.
- The software shall be able to add data to the database.
- The software shall be able to edit data in the database.
- The software shall be able to delete data from the database.
- The software shall be able to retrieve data from the database.
- The software shall be able to create reports based on information in the database.
The new system will enable staff and administrator to connect to a network remotely. That is the
system can be accessed from the restaurant, the fitness center and other significant figures.
User Summary
Name Description Stakeholder
User Environment
The users are in general educated, own probably a computer at home and experience with
Product Features
Logon
Manager, receptionist and administrator at the Maan-soor Hotel must hold an ID and
password to access the system and its features.
27 Maan-soor Hotel Management System.
Reservation
The system must display availability of the rooms under specific type before any entry. The
receptionist must be able to enter guest request and information and the system must accept the
information, also allow the user to make some changes if necessary.
Cancelation
The system must allow the user to cancel any booking of the guest.
Guest Billings
The system shall calculate the billing in the check-out including guest information and
service used by the guest.
Enter, update and show information
The system must accept entries show and update any information registered or requested
from the guest on the date entry and the information must be available.
Constraints
The following constraints apply to Maan-soor system:
o The system must not require any hardware development.
o The guest information available is limited and supported by the database.
Functionality
The interaction between users and system is made through a graphical interface GUI. The system
functionality must be accessible by mouse/keyboard and all users must be able to choose a
28 Maan-soor Hotel Management System.
specific case from the system, execute it and receive the results back.
The requirement descriptions are:
The functionality requirements that are common to more than one use case.
System Error: All system errors must be included a text description of the error
type.
Usability
User interface is a graphical /GUI.
The system is designed for high percentage of entries.
The interface must be visible in what system is doing.
Search or other action that results in deletion of a specific case should
automatically return and show the result in details.
Usability Requirement skills:
The system is developed and designed to facilitate any pc user without special
training.
Windows experience is required to operate the system.
Reliability
Availability – The system must be able to execute and respond the entries of the users’ request.
Incorrect entries must be validated without stopping the system. An error message will be
returned.
Mean Time To Repair (MTTR) – Usually for a system repair we consider minimum of 4 hours
system off.
Design Constraints
The hotel system is required to use programming language such as VB.NET for the GUI
interface; MS Access for the entire database queries management.
Purchased Components
Interfaces
User Interfaces
The user interface created will give the user access to the system through the 2 layer
design model that is the GUI and Database Model.
Hardware Interfaces
Servers, Database…
30 Maan-soor Hotel Management System.
Software Interfaces
Operating System, Windows Platform, MS Access, MS Visual Studio and Microsoft
Office…
Communications Interfaces
Wireless, Network Interface Card, Rooters
Licensing Requirements
SQL Server License
Microsoft office and Windows XP
Legal, Copyright and Other Notices
Partners reserve all the rights.
We have chosen four Use Cases according to the UP to look at the most critical in the inception
phase.
o UC1: Search Room
o UC2: Register Guest
o UC3: Process Check In
o UC4 : Process Check Out
Activities finished:
We have reached the Milestone objectives. Most use cases were detailed the most important
ones and designed the Use Case Model. We have revised our project plan, the risk list and
elaborated the project plan for the next iteration and phase.
All it has done was according to the UP guide and respecting the process in the UP, following
step by step the iteration, phase and disciplines.
Problem Formulation:
The problems in inception phase we have faced in our project were the use case definition of
the critical use cases we have elaborated.
Problem Solution:
We have corrected the use cases scenarios, changed the use case diagram and the system
sequence diagrams for the critical ones.
Elaboration Phase
4.1 Introduction
Here it starts the Elaboration phase E1 according to the Unified Process is the baseline of the
architecture providing more in elaboration E2.
4.2 Purpose
The purpose of the elaboration phase is to refine the requirements in the inception phase, analyze
the architecture, the design model and the plans for the elaboration phase.
During the elaboration phase requirements will be further analyzed, the risk list and use case will
be completed. The architectural will be developed to test the performance and feasibility of the
system.
The use case diagram is displayed showing the interaction between the actors and use cases in
the hotel system. The overview is also demonstrated in a table.
The supporting actors provide service to the hotel system. The Accounting and Credit
Authorization Service is in the Use Case Diagram, here we show which use case the both
supporting actors give all necessary support.
37 Maan-soor Hotel Management System.
Here we have the system sequence diagrams for some critical use cases used in the system. The
SSD is a fast way to illustrate inputs and outputs events related to the Maan-soor Hotel System.
Here we show the Operation Contracts for the more significant Use Cases. The OC is considered
part of the UP Use Cases Model; the process of Use Case model is to find first the Use cases,
make the use case text and system sequence diagram in order to analyze the operation contract.
OC1: Enter Room
Operation: enterRoomInfo(category, type, date_F,date_T)
Cross-Reference: Use Cases: Search Room.
Preconditions: There is searching underway.
Post Condition: New Search was created
Search.category became category
Search.type became type
Search.dateF became dateF
Search.dateT became dateT
Search was associated with Reservation.
UML sequence diagrams are functional design tools because they present a dynamic view of
our system behavior which can be difficult to take out from static diagrams or specifications.
SD: Search Room
Use Case Elaboration: The sequence diagram describes a way the hotel system may be used by
its actors, it’s used to details one or more use cases scenarios by illustrating visually; how the
system behaves by a particular main scenario.
They help us to find the architectural, interface and related problems before we shall start the
implementation the hotel system.
43 Maan-soor Hotel Management System.
Relation Documentation
Normalization
Relation List
In RDB design we use the following table to show form of documentation in relations/tables
Relationship List
Here we show the following form documentation of the list of relations relationship/associations
between relations that we described above:
Participation
M: Mandatory
O: Optional
Attribute Description
In RDB-design it is advantageous to utilize the following to document the attribute description:
Maan-soor Hotel System No.X Version 1.X Date Initials
2011-05-22 <NN>
Relation Attribute Key Description Default Allowed Composite
Value NULL
Names Names Alphabetic Mark Yes/No
Alphabetic order order PK
Primary order Second order FK
Guest guestNo PK,FK Refers to No No
name Guest No Yes (critical)
address No No
e-mail No No
phone Yes
No
– The Reservation and Room tables are in their 5th form. This is because there is only one
primary key in the tables and all the attributes are uniquely identified by the primary key.
Normalization
In the normalization it always starts the tables in the 1st Normal Form (1NF) and it can consist of
more than one primary key. The 2nd Normal Form (2NF) the primary is only one attributes and
uniquely identifies the row. If no attributes determines other attributes the table is on the 3rd
Normal Form (3NF). In our database all the tables are on the 3rd Normal Form (3NF) because
Here in 1st table guest no uniquely identifies the row. But name attribute in this table can also be
uniquely identifies. And in the 2nd table city attribute can be identifies by only post no.
But because of shortage of time and according to our lecturers we should continue with Guest
table which is in 1st normal form.
Room Table:
Here Room no. is the primary key for Room table and all the attributes of this table are uniquely
Reservation Table:
Here Reservation no. is the primary key for Reservation table which is automatically generated.
And Guest no and room no are foreign keys from Guest and Room tables respectively.
48 Maan-soor Hotel Management System.
The risk list has changed the probability and consequence of programming, we have decide that
the risk is lower than in inception phase from nine to four, the same it happened with absence as
the member are often in the school but some casual late. In the SW design the risk remains the
same for elaboration phase as we should be more far in the report.
The scale is still 1 to 5; it shows that from the total risk we are still in a safe zone as the number
is lower than 10, we don’t have a probability of reaching the total risk of 25 in this project.
In the Inception Phase we have started creating important classes in java for the system
implementation that will be finalized in construction phase. The Database implementation will
take place in Elaboration phase; it will focus on establishing connection to a database via
OLEDB and its architecture design.
Activities Finished:
We have done the Business Modeling including the Design Class Diagram, Sequence Diagram
of critical use cases, operation contract; revised the project plan, risk list and plan for Elaboration
phase.
Problem Faced:
In Elaboration Phase as we had some difficulties with the use cases, we had to revise all we have
done in the design.
Problem Solutions:
We have revised our domain model and made some changes in the design class diagrams and
operation contract.
The testing of the VB Forms are completed with the construction of the main method of the
guest form and do a simple form show using the public class form to call a Imports
System.Windows.Forms.
The screenshots shows the guest Form output and the testing is done.
We have designed nine Forms in total. That is five forms are Reservation, three forms are user
The coding will be done from the lowest layer-model class. We will do the coding following the
use cases and class diagrams. The next step is to code the collection and controller classes.
Lastly we will link with the presentations classes then we will be ready to work on database.
All the GUI’s in our system knows the catalog and collections classes through the handler. We
also created one HotelGUI that knows the other GUI’s. On start up the HotelGUI is shown. We
can then choose a specific task to do. For example GuestAdministrationGUI which manages
guests.
GuestInfomationForm the GUI presentation Form has the main form and handling the Guest
Information. It offers the graphical interface to the user.
Imports System.Data.OleDb
Public Class frmGuestsInfo1
Dim cn As New OleDbConnection("provider=microsoft.jet.oledb.4.0; data
source=../data/Maan-soorHotel.mdb")
Dim da As New OleDbDataAdapter("select* from Guests", cn)
Dim ds As New DataSet
Dim cmd As New OleDbCommand
Dim dr As OleDbDataReader
Dim listitem As ListViewItem
Dim dbind As New BindingSource
Dim maxrows As Integer
cmd.CommandText = Str
cmd.Connection = cn
cn.Open()
52 Maan-soor Hotel Management System.
cmd.ExecuteNonQuery()
Else
MsgBox("No Modifications Have Taken Place!", vbInformation,
"No Modifications!")
End If
Catch ex As Exception
MsgBox(ex.Message)
End Try
cn.Close()
End Sub
ReservationForm the GUI presentation Form has the main method and handling the
Reservation Information. It offers the graphical interface to the user.
Imports System.Data.OleDb
Public Class FrmReservation
Dim cn As New OleDbConnection("provider=microsoft.jet.oledb.4.0; data
source=../data/Maan-soorHotel.mdb")
Dim mycmd As New OleDbCommand
Dim myda As New OleDbDataAdapter("select * from rooms", cn)
Dim myda1 As New OleDbDataAdapter("select * from reservation", cn)
Dim ds As New DataSet
Dim ds1 As New DataSet
Dim objitem As ListViewItem
Dim mydr As OleDbDataReader
Dim strsql As String
Dim flag As Boolean
Dim reader As OleDbDataReader
'The following variables will be used to autogenerate the Outpatient_ID
Dim iNumOfRecords As Integer 'This variable holds the number of records
in the table
Sub updaterooms2()
Try
cn.Open()
Dim fullname As String = ""
fullname = txtfirstname.Text + " " + txtsecondname.Text + " " +
txtlastname.Text
Dim sql As String = "update rooms set status='Free' where
roomno=" & comroomno.Text & ""
Dim cmd As New OleDbCommand
cmd.CommandText = sql
cmd.Connection = cn
cmd.ExecuteNonQuery()
MsgBox("The room Ocupied")
Catch ex As Exception
MessageBox.Show(ex.Message)
End Try
cn.Close()
End Sub
The plan for the next iteration is related to the database connections and architectures.
Implementation
The risk list has changed the probability and consequence of programming, we have decide that
the risk is lower than in inception phase from nine to four, the same it happened with absence
as the member are often in the school but some casual late. In the SW design the risk remains
the same for elaboration E1 as we should be more far in the report.
The scale is still 1 to 5; it shows that from the total risk we are still in a safe zone as the number
is lower than 10, we don’t have a probability of reaching the total risk of 25 in this project.
In the Inception Phase we have started creating important classes in java for the system
implementation that will be finalized in construction phase. The Database implementation will
take place in Elaboration E2; it will focus on establishing connection to a database via OBDC and
its architecture design.
A work schedule has been prepared for the next phases and iterations until project deadline.
Activities Finished:
We have done the Business Modeling including the Design Class Diagram, Sequence Diagram of
critical use cases, operation contract; revised the project plan, risk list and iteration plan for E2.
Problem Faced:
In Elaboration E1 as we had some difficulties with the use cases, we had to revise all we have
done in the design.
Problem Solutions:
We have revised our domain model and made some changes in the design class diagrams and
operation contract.
2. Logging Form
This is login form of showing the main form of the Maan-soor Hotel Management system, with valid
username and password.
58 Maan-soor Hotel Management System.
3. Main Form
This is the main form when u gets a valid username and password, will show this form.
This is the Reservation Form is assigned room vacancies here with a combobox loaded a vacancy
rooms and will check in the here.
This is the payment form of when a guest is checked out the hotel is recorded his/her payment
60 Maan-soor Hotel Management System.
6. Rooms Form
This is the Room form registration and adds new rooms will build the hotel in the near future.
This is the manage users account will create and update and also delete here for users login this sys.
61 Maan-soor Hotel Management System.
This is a change password form, a user will change his/her password here.
2. Reservation Table
3. Checkout Table
4. Room Table
Project Conclusion
7.1 Introduction
The Maan-soor Hotel project is the first software system development going all the way from
Unified Process as a group work until now, including report. The purpose of this project was to
develop a hotel system using the UP and achieving a lot of experience, research and knowledge
as a team work.
Project Management
System Development
Group Work
7.2 Evaluating the project with Unified Process
The project was developed through phases and disciplines, using each of the iterations; each
gives us the right overview of what has to be done in our system.
Use Cases: The uses cases was very important UML in our project. It described the cases we
need to illustrate in the system and the actions and interaction between the actors and system.
Along the unified process we faced some problems specially in the use case main scenarios, the
issues was that it wasn’t detailed only between actors and system but the guest behavior in the
hotel system. The use cases in our project gave us a real experience through the Unified Process
in the inception phase and it is essential to any system development.
SSD: The System Sequence Diagram worked as an artifact to illustrate the input and output
events in the hotel system and it’s a picture of one particular scenario in the use case. It’s one
of the important UML designs in this project because its useful to know what are the external
input events and that they are part of the analysis of the system behavior. The system
sequence diagram in the critical use cases had small modification during the Elaboration Phase
duet to some use case issues in inception.
Sequence Diagrams: The sequence diagram in our system was an important tool to illustrate
interactions which the object is added to the right and clearly shows the messages. That’s was
created in elaboration E1 and E2 when we added to more SD to our report, it gives us an
overview how the object is created and in which instance of classes are operating, using the
lifeline boxes which shows one instance from a collection.
64 Maan-soor Hotel Management System.
Domain Model: The domain model is the most important in OOA, we used in our project to
visualize the real situation objects in the hotel domain which described the concepts; which
includes associations, and attributes of our system. In inception phase we made a very small
diagram of the domain model to give an overview of which domain object it must be added to
it. In elaboration we finalized the domain model increasing new concepts and it shows more
detail of the system we were developing.
Design Class Diagram: the design class diagram is used in our project to visualize the domain
model. In our diagram we show one particular class called Video that it was not implemented in
the construction phase but it takes part of the future extensions the Construction phase.
7.3 Project Evaluation
Project
The final project is a single user system used for administrating Payment and guest registrations
at the Hotel events; the system is able to search for room types, register guest’s information for
a reservation and check out. The boundary of the system is to create a reservation on a room at
the hotel. The user interface was developed to make it easy to use, called user friendly system.
Report
The report we have written basically explains the step by step development of the Maan-soor
Hotel registration system. It consists of 4 parts namely: - Project establishment, Inception,
Elaboration and Construction phases. These chapters have been well documented as per the
requirement of UP and the guidelines provided during project establishment. Important parts
of our codes have been attached where necessary
System
Our system is a single platform hotel registration system. Actually we can say that it is a
prototype and can be modified in future to develop a real system. The system is capable of
registering a guest, check in, check out and finally calculate a Payment at the end of stay at the
The system consists of VB.NET Forms, MS Access and Tables in the SQLQuery database. The
VB.NET Forms are Guest, Room and Reservation with their respective Look up (Search Forms).l
During our project development, all the partners’ members showed some interest in making up
the system. The partners’ started on a low-tone. Some of the members were a bit reluctant in
starting SW design. But after a few days we worked well. The partners’ was spilt into two
65 Maan-soor Hotel Management System.
further smaller groups of 1 person each. One of the partners’ headed by Guled was responsible
for SW design techniques and writing the report as well as updating it whenever a new idea is
initiated. The other partners’ headed by Adnan was responsible for SW construction. Creating
of classes and writing the VB.net codes. We had one partners’ leader who was responsible for
harmonizing the partners’ performance. We as partners’ would have done much better if we
had worked much closer and put more commitment to the project.
Management
Our partners’ chose Guled to be the project manager. He was responsible for coordinating
other partner activities. However each member was also assigned some responsibility as a
partners’ leader in a weekly basis. This was to ensure that each member participated actively in
the partners’. In future we could improve distribution of responsibilities and tasks among
partners’ members to facilitate partners’ performance.
Individual Evaluation
Guled Abdikatir
My Partner functioned well. I have actually learned many ideas from it.
I am now conversant with more VB.NET programming techniques like use of advanced data
structures. My design skills are also refreshed and this means I can make better graphical user
interface and detailed analysis of a business system using the analysis and design tools.
I also gained knowledge in OLEDB connectors which was the most interesting part of the system
development process. I faced some problems in identifying the tables in the database because
our design was sketchy. However I and the group members identified the problem and came up
with a lasting solution.
Nevertheless it was a great experience and opportunity to work with my Partner member
Adnan Sultan.
My level in the Software Design subject was basically low when we started, but the project
helped me to go through it; had to read DBMS Concept books, doing small researches with my
Partner member, and facing the project where I was able to apply what I had just learned and
read.
In the beginning of the project I had to deal with little absents and lateness due to foreign
major reasons, even though the last 4 weeks I enrolled intensively into the Partner, working
hard.
66 Maan-soor Hotel Management System.
The programming part reflects what we have learned so far in class. We have also applied
our own knowledge in some parts of the program.