UNIVERSITI TEKNOLOGI MARA
CAWANGAN KELANTAN
CSC 186 : OBJECT ORIENTED PROGRAMMING
D1CDCS1102C
Group Project (Progress Report)
TITLE : HOTEL BOOKING SYSTEM
LECTURER’S NAME:
MAZNIE BINTI MANAF
SUBMISSION DATE:
15 MAY 2024
TABLE OF CONTENTS
1.0 ORGANIZATIONAL STRUCTURES
2.0 INTRODUCTION
3.0 OBJECTIVES
4.0 SCOPES
5.0 UML CLASS DIAGRAM AND USE CASE DIAGRAM
1.0 ORGANIZATIONAL STRUCTURES
PROJECT MANAGER
AZFAR MUSYRIFF BIN AFNI
(2023805416)
SOFTWARE DEVELOPER DATABASE ADMINISTRATOR
MUHAMMAD AMIRUL BIN MUHAMAD ALIFF AIMAN BIN
MUHAMMAD HAMIZI MUHAMAD SAWAL RASIDIN
(2023805146) DESIGNER (2023458178)
MOHAMMAD MJZAMMIL BIN
IBRAHIM
(2023889766)
2.0 INTRODUCTION
The system is designed to streamline the process of finding suitable
accommodation for users within their specified budget. Whether they're locals
or tourists, the system caters to their unique needs and preferences. To initiate
the search, users are prompted to input their personal details including name,
phone number, and their budget range for accommodation.
Once these details are provided, the system swings into action, utilizing its
database of hotels and their pricing information. It automatically sort through
the options, comparing various factors such as location, facilities, and user
reviews to present the most relevant choices to the user.
One notable feature of the system is its ability to differentiate between locals
and tourists, recognizing that pricing dynamics may vary for each group. This
ensures that users are presented with accurate pricing information tailored to
their status, optimizing transparency and fairness in the booking process.
Moreover, the system incentivizes longer stays by offering discounts for
bookings extending beyond three nights. This encourages users to consider
extending their trip duration, potentially unlocking additional savings while
enjoying their chosen accommodation.
By seamlessly integrating user input, advanced search algorithms, and pricing
differentiation based on user status, the system aims to provide a hassle-free and
personalized experience for individuals seeking accommodation within their
budget limitations..
3.0 OBJECTIVES
In this project , there are five main objectives :-
1. To check the customer status for the discaunt
2. Help user to find reasonable price that they want to book
3. Help user to find hotel according to their budget range
4. Help user to book the hotel
5. To check the discaunt for customer that stay more than 3 nights
4.0 SCOPE
Class diagram
1.There are 4 classes; Hotel, Customer, Room, SuitRoom and Date. Class Date
is optional.
2. Customer and Hotel has a many-to-many relationship with aggregation link.
It is a part of relationship where Hotel is the whole and Customer is the part-of
objects. Hotel with different room number can be rent by same customers, no
customer at all and one customer only. This implies a relationship which part of
object Customer can still exist independently of the whole object Hotel.
3. Room and suit room are type of room. This implies inheritance
relationship where Hotel has general attributes;hotel name, location .
Suit room has unique attribute which is number of bedroom while
room has room number, nights and price only.
4.Date, Room and Suit Room has a one-to-one relationship with
composition link. They are dependent to each other.
Use Case diagram
1. Only one actor which is Administrator. Administrator either
contract or permanent can do the same process.
2. Processes;
a. Administrator can add information about customer.
b. Administrator can add information about room.
c. Administrator can update phone number
d. Administrator can calculate the total price.
e. Administrator can add date
f. Administrator can calculate and display the total of price of
all services
g. Administrator can calculate total discount.
5.0 UML CLASS DIAGRAM AND USE CASE DIAGRAM
UML CLASS DIAGRAM
USE CASE DIAGRAM