Software Design Document: Hotel Management System
Software Design Document: Hotel Management System
Name (s):
Syed Muhammad Sohaib Abbas
Aden Bin Farrukh
Abdulrahman
Ramiz Siddique
Date: (11/04/2020)
HOTEL MANAGEMENT SYSTEM
Preface
This document is Software Design Document for our project named as Hotel Management
System. In this document, system modules will be documented clearly.
Table of Contents
PREFACE.......................................................................................................................................2
TABLE OF CONTENTS....................................................................................................................3
1. INTRODUCTION..................................................................................................................4
2
HOTEL MANAGEMENT SYSTEM
1.1. Purpose...................................................................................................................................4
1.2. Scope......................................................................................................................................4
1.3. Definitions, Acronyms & Abbreviations..............................................................................4
1.4. REFERANCES.......................................................................................................................5
2. SYSTEM OVERVIEW........................................................................................................6
3. SYSTEM COMPONENTS.............................................................................................................7
3.1. Decomposition Description.................................................................................................7
3.1.1. Module Decomposition................................................................................................7
3.1.2. Data Decomposition..................................................................................................15
3.2. Dependency Description...................................................................................................15
3.2.1. Intermodule Description............................................................................................15
3.2.2. Data dependencies....................................................................................................17
A user can book several rooms. A room can be reserved by one user........................................17
3.3. 3.3 Interface Description...................................................................................................18
3.3.1. Module Interfaces......................................................................................................18
3.3.2. User Interfaces (GUI)...............................................................................................18
4. DETAILED DESIGN................................................................................................................22
4.1. Module Detailed Design....................................................................................................22
4.1.1. Login Module.............................................................................................................22
4.1.2. Register Module........................................................................................................22
4.3. Data Detailed Design.........................................................................................................23
5. APPENDICIES....................................................................................................................26
ER Diagram..................................................................................................................................26
Class Diagram..............................................................................................................................27
2
HOTEL MANAGEMENT SYSTEM
1. Introduction
1.1. Purpose
The purpose of Software Design Description is to identify what need to coded that is
specified in SRS. In this document, brief information of Hotel Management System will be
given.
1.2. Scope
In this document, the detailed description of Hotel Management System will be given.
Our hotel management system project will have a web interface.
In the web interface, there are 3 types of user and which are;
-Administration
-Staff
-Authorized user
Each user type will have a different authorization to access to the system.
2
HOTEL MANAGEMENT SYSTEM
DB Database
FP Function Points
GUI Graphic User Interface
HW Hardware
IDE Integrated Development Environment
IE Internet Explorer
IEEE Institute of Electrical and Electronics Engineers
I/O Input / Output
IP Initial Plan
KU Knowledge Unit
LOC Line Of Code
MS Microsoft
PS Problem Statement
RAM: Random Access Memory
SDD Software Design Description
SPS Student Portal System
SPMP Software Project Management Plan
SQL Structured Query Language
SRS Software Requirements Specification
SW Software
1.2. REFERANCES
IEEE Std 1058-1998, IEEE Standard for Software Project Management Plans
Pressman, Roger S., Software Engineering, 4th edition, McGraw-Hill, 1997
Fairley, R. E., Work breakdown Structure, Software Engineering Project Management,
IEEE CS Press, 1997
2
HOTEL MANAGEMENT SYSTEM
2. System Overview
Hotel management system is a desktop project, which helps to hotel employees interacting
to clients and each other. To do this, hotel management system has following modules,
Email/Messaging
POS
Reservations/Cancellation
Sign-in/Sign-up
Aunthentication
All these modules are briefly described and decomposed in the next part.
2
HOTEL MANAGEMENT SYSTEM
3. System Components
The way followed while making module decomposition is to divide the system into
modules so that the operations are done under each module will be higly related with each
other, but they are not so much related with other operations in other modules. Taking this
into consideration, hotel management system project’s main services are as follows;
Type: Application
Function: User enables to register to system and log in. Also this module provide
changing password and help user if they forgot their password.
Subordinates:
- Sing in
- Log in
- Changed Password
Forgotten Password
3.1.1.1.1. Sign in
Identification: Sign in
Type: Process
Purpose: Provides user to get their authorization level which is recorded in corresponding
cell of the user table.
Function: A user enters their required information (e-mail, password) to the web form. If
those information match with a row of the user table, user gets their authorization level.
Subordinates:
None
2
HOTEL MANAGEMENT SYSTEM
3.1.1.1.2. Sign Up
Identification: Sign up
Type: Process
Funtion: A visitor fills the registration form and click on the Complete Registration
button. If every information given is correct, user's information is recorded to user table
and user get the “customer”status by default. For other employee is defined by the
administrator in their panel manually.
Type: Process
Funtion: User enters their old password and new password. New password replaces with
the old password if it is correct.
Subordinates:
None
Type: Process
Funtion: User sends a request to the system that denotes they have forgotten their
password. System sends them an e-mail including their password.
Subordinates:
None
2
HOTEL MANAGEMENT SYSTEM
Type: Application
Function:
Subordinates:
Searching Module(Administrator)
- Search Room
- Search Employee
- Search Customer
2
HOTEL MANAGEMENT SYSTEM
Type: Application
Function:
Subordinates:
- Reserve Room
- Modify Reservation
2
HOTEL MANAGEMENT SYSTEM
-Cancel Reservation
2
HOTEL MANAGEMENT SYSTEM
Type: Application
Function: This module provides add, delete or change room information like room is
vacated or occupied.
Add Room
Delete Room
2
HOTEL MANAGEMENT SYSTEM
None
Type: Application
Purpose: Employee management module provides recording all user information except
from customer.
Subordinates:
Delete Employee
List Employees
2
HOTEL MANAGEMENT SYSTEM
None
Type: Application
2
HOTEL MANAGEMENT SYSTEM
ER and Class Diagrams for Hotel Management System is given in appendix section.
The services and modules of Hotel Management System are given detailed in section 3.1.1.
In this part, the dependency between modules under services will be explained. Also, at the
beginning of that section, dependencies between services are depicted. This part of SDD
examines the dependency between modules under those services. These dependencies are
categorized as following:
If module can be used by only authenticated user, this relation is shown with letters “AU”
stands for “Authenticated Users”.
If module gets some data from other module, this relation is shown with letters “GD”
stands for “Get Data”.
2
HOTEL MANAGEMENT SYSTEM
Dependency
Matrix
User
Authentication
GD GD
Module GD GD GD GD
Reservation
Module GD
Message Module GD
Search Module GD
Manage room
Module
Employee
management
Module GD GD
Announcement
module GD GD
Contact
toSupplier Modu
Restaurant
management
Module
userregistrationInfo – userGeneralInfo
userRegistrationInf
o 1 1 userGeneralInfo
2
HOTEL MANAGEMENT SYSTEM
1:1 relation. A user can have one general information. A general information can
belong to one user.
userregistrationInfo – announcement
userRegistrationInfo 1 N Announcement
userregistrationInfo - room
userRegistrationI
nfo 1 N Room
A user can book several rooms. A room can be reserved by one user.
2
HOTEL MANAGEMENT SYSTEM
ViewInformation
viewReservedRoom
Database Module < - > <-> Profile Module
viewMessages
viewMails
viewSentMessage
viewReceivedMessage
Database Module < - > viewDeletedMessage <-> Message Module
viewMesSender
viewMesReceiver
login
Database Module < - > registration <-> Authentication Module
passwordTransections
setHeader
setImage
Database Module < - > <-> Announcement Module
setContent
announcementHistory
This interface will be variated according to different user types. For unauthorized users,
there will be a common interface which contains advertisements, announcements, and sign
in, sign up menus.
2
HOTEL MANAGEMENT SYSTEM
When user signed in, according to their type, users will be shown different main pages and
those are;
Authorized user: This type of users’ menu will have standard options (HOME,
CONTACT, ABOUT US, and LOG OUT) and RESERVATION option. Also their
2
HOTEL MANAGEMENT SYSTEM
Staff: This interface will have ROOMS, MESSAGES and LOG OUT menus. Staff also can
operate offline reservations.
All types of users will have to sign up using this interface. They will have to give
their names, e-mail addresses, passwords and authentication level to complete
their registration. Also a security image will be shown and user will be forced to
enter the text in this image for security issues.
To login, all users will have to use this interface. It will ask the e-mail and
password to users.
2
HOTEL MANAGEMENT SYSTEM
There will be profile pages for each user which show the information for each user
such as registration date, name, SSN.
2
HOTEL MANAGEMENT SYSTEM
3. Detailed Design
Requirement Design
Requirement # Requirement Description ref. reference Module name
CR1
User Authentication Module
- Log-in
1 User Authentication 2.2.1.1 3.1.1.1. - Sign-up
- change Password
- Forgotten Password
2
HOTEL MANAGEMENT SYSTEM
CR2
Searching
5 Searching 2.2.3.6 3.1.1.3. Module(Administrator)
- Search Room
- Search Customer
- Search Employee
6 Online Reservation 2.2.2.1 3.1.1.5. Online Reservation Module
- Reserve Room
Announcement Module
7 Announcement 2.2.4.2 3.1.1.10 - Add Announcement
- Delete Announcement
- Modify Announcement
2
HOTEL MANAGEMENT SYSTEM
Country VARCHAR(45) holds the name of country where user lives Turkey
City VARCHAR(45) holds the name of city where user lives Ankara
District VARCHAR(45) holds the name of district where user lives Bahçelievler
Table 3: Message
2
HOTEL MANAGEMENT SYSTEM
Description VARCHAR(15) holds the description of the announcement 50% price cut
Table 4: Announcement
Table Name: rooms
1. Appendicies
2
HOTEL MANAGEMENT SYSTEM
ER Diagram
2
HOTEL MANAGEMENT SYSTEM
Class Diagram