Documente Academic
Documente Profesional
Documente Cultură
For
Hotel Nagpal Regency
Submitted by
Rahul Dilip Desai
Seat No.
March, 2012
ACKNOWLEDGEMENT
Foremost I thank the Almighty for showering his
blessings upon me. This research would not have been possible without
his grace.
I would like to thank Ms.Manju Nichani, Principal of K. C.
College for providing me with the facilities of the institution.
Similarly, I thank our viceprincipal Dr.Mrs.HemlataBagla,
head of the department of Computer Science for making all the necessary
facilities available to me during my project formation.
I would also like to express my sincere gratitude to my mentor
Mrs.Vimala Rani for her continuous support during the course of my
project completion, for her patience, motivation, enthusiasm and
immense knowledge. Her guidance helped me during each phase of the
creation of this project.
I am thankful to the staff of the college library for helping me to
review literature for my project. As well as all the non-teaching staff of
2
the computer science department for being so accommodating and cooperative all through.
I am grateful to all my friends and colleagues for their constant
encouragement and support and for assisting me with their inputs.
Last but not the least, I thank my parents for their constant help,
encouragement and unwavering support throughout.
INDEX
Sr.No
Topic Name
Preliminary Investigation
Page No
Organizational Overview
Description Of System
Feasibility Study
10
Stakeholder
11
3
Gantt Chart
II
12
System Analysis
15
Event Table
17
20
25
Activity Diagram
26
Class Diagram
27
Object Diagram
28
Sequence Diagram
29
State Diagram
30
Sr.No
Topic Name
III
System Design
Page No
33
36
Component Diagram
38
Package Diagram
39
Deployment Diagram
40
IV
System Coding
4
Menu Tree
42
43
Program Description
46
Validation
48
49
61
System Implementation/Uploading
65
VI
Future Enhancements
73
VII
74
PRELIMINARY INVESTIGATION
Organizational Overview
Description Of System
Hotel Nagpal is a hotel situated in Ludhiana. Throughout the year,
they have a steady flow of customers as it is located in the
industrial area of Ludhiana. Currently, bookings are done either by
Customer or a Company.
to
errors.
When the Customer wants to check out, the details are manually
added into computing applications and a bill is generated. This is
time consuming and there is no way to store Bill Details for a
particular Customer for future reference.
Manual Work.
Redundancy of Data.
Data security.
10
Feasibility Study
This project is highly feasible. It fulfils all feasibility requirements to
develop good software.
Economic feasibility:
software.
Being individually developed there is no requirement for
salary or wages.
Technological feasibility:
simple.
The project is user-friendly, so it will reduce time
consumption.
The flow of the system as well as the operation of the same
is very lucid, thus even if a new person is hired; he/she can
use it without any difficulty.
Resource Feasibility:
11
staff.
Resources needed for development are also not very
expensive.
There is no risk of employees or staffs getting transferred
as these resources are not required at all.
Stake Holders
Administrator:
The system can be used by only one user i.e. the
Administrator. The administrator has complete access to all forms
and data. The administrator can also perform all operations such
as adding new records, updating existing records or deleting
records. The administrator can view all data related to customer,
company, reservation, allocation, room details, billing, etc.
The administrator can generate and print reports such as
customer summary, company summary, reservation summary,
allocation summary, bill summary.
12
GANTT CHART
Topic
Proposed Dates
I. Preliminary Investigation
31st July
Actual Dates
26th July
22nd July
26th July
22nd July
26th July
22nd July
26th July
22nd July
30th July
22nd July
30th July
22nd July
1st September
10th August
5th August
10th August
5th August
13
10th August
5th August
(iv) ERD
22nd August
22nd August
30th August
30th August
22nd August
22nd August
25th August
24th August
29th August
27th August
30th August
30th August
Topic
Proposed Dates
Actual Dates
14th December
6th September
5th September
20th September
19th September
14th December
10th December
14th December
10th December
14th December
10th December
15th December
5th December
3rd December
22nd November
19th November
12th December
10th December
Conventions
14
(iv) Validations
12th December
10th December
12th December
10th December
12th December
10th December
15th December
12th December
5th January
20th December
5th January
20th December
SYSTEM ANALYSIS
15
16
Event List
Customer
Customer checks-out
Customer does payment
Management
Reports
Event Table
Event
Trigger
Customer
Availability of
enquires
rooms
Source
Customer
about
Activity
Respon
Destinati
Look up for
se
Room
on
Customer
availability of
Details
rooms
provided
Look up for
Service
availability of
the rooms
Customer
Enquiry of
Customer
enquires
Services
services
Details
about different
provided
provided
provided
Create new
New
Customer
Customer
Customer
services
provided
Customer
New
provides the
Customer
Customer
18
Customer
details for
Details
created
booking
Company
Create new
New
provides the
Details
Company
Company
details for
booking
Customer /
Company
created
New Payment
Customer
Record
Payment
Manageme
Company
payment and
details
nt
does payment
generate bill
recorded
Activity
Respon
Destinati
se
on
Event
Trigger
Source
Management
Add/Update
Manageme Create/Updat
Updates the
Customer
nt
Customer
details
e Customer
Details
-----
------
-----
-----
-----
-----
details.
Management
Add/Update
Manageme Create/Updat
Updates the
Customer
nt
Company
details
e Company
details
details.
Management
Add/Update
Manageme Create/Updat
Updates with
allocation
nt
Allocation
details
e allocation
details
details.
19
Management
Add/Update
Manageme Create/Updat
Updates the
reservation
nt
Reservation
details
details
Management
Add/Update
Manageme Create/Updat
Updates the
room details
nt
e reservation
details
details
New Bill
generates the
-----
-----
-----
e Room
Room details
Management
-----
Bill
Customer
nt
bill
Source
Activity
Respon
Destinati
on
Manageme
nt
Bill
Event
Trigger
Time to
End of
Produce
se
Reservati
produce
day/month
Reservation
on
summary
summary
report
report
Reservation
Summary
------
report.
Time to
End of
Produce
Allocation
Manageme
produce
day/month
Allocation
summary
nt
summary
report
Allocation
Summary
------
report
report.
Time to
End of
Produce
Customer
Manageme
produce
day/month
Customer
summary
nt
20
Customer
summary
Summary
------
report
report
report.
Time to
End of
Produce
Company
Manageme
produce
day/month
Company
summary
nt
summary
report
Company
------
Summary
report
report
Time to
End of
Produce Bill
Bill
Manageme
produce bill
day/month
Summary
summary
nt
report
report
summary
------
report.
21
22
23
24
25
26
27
Activity Diagram
28
Class Diagram
29
30
Object Diagram
31
1. Customer:
32
Sequence Diagram
33
34
State Diagram
1. Customer:
2. Management:
35
36
System Design
37
Data Type
Numeric(18,0)
Nvarchar(50)
Nvarchar(50)
Nvarchar(50)
Numeric(18,0)
Numeric(18,0)
Nvarchar(50)
Nvarchar(50)
Nvarchar(50)
Numeric(18,0)
Nvarchar(50)
2. dbo.Company
Column Name
CompanyID
CompName
RegNo
ContPerson
Email
Phone
Data Type
Numeric(18,0)
Nvarchar(100)
Numeric(18,0)
Nvarchar(50)
Nvarchar(50)
Numeric(18,0)
3. dbo.Allocation
Column Name
AllocNo
CheckIn
CheckOut
Data Type
Numeric(18,0)
Datetime
Datetime
38
RoomNo
ResNo
Numeric(18,0)
Numeric(18,0)
4. dbo.Reservation
Column Name
ResNo
ResDate
FromDate
ToDate
NoOfDays
NoAdult
NoChild
AdvPay
PayMode
CustID
RoomType
RoomNo
Total
Data Type
Numeric(18,0)
datetime
datetime
datetime
Numeric(18,0)
Numeric(18,0)
Numeric(18,0)
Numeric(18,0)
Nvarchar(255)
Numeric(18,0)
Nvarchar(50)
Numeric(18,0)
Numeric(18,0)
5. dbo.Rooms
Column Name
RoomNo
RoomType
Rate
Availability
Data Type
Numeric(18,0)
Nvarchar(50)
Numeric(18,0)
Nvarchar(50)
39
40
41
42
43
Component Diagram
44
Package Diagram
45
46
Deployment Diagram
47
48
System Coding
49
Menu Tree
Login Form
Customer
Main
Company
View
Reservation
Allocation
Billing
Room Details
Exit
Customer Summary
Company Summary
Report
Reservation Summary
Allocation Summary
Billing Summary
50
Logout
Data Type
Width
CustID
Numeric
(18,0)
CustLName
CustFName
Email
Phone
OfficePhone
Address
City
State
PinCode
Country
Nvarchar
Nvarchar
Nvarchar
Numeric
Numeric
Nvarchar
Nvarchar
Nvarchar
Numeric
Nvarchar
(50)
(50)
(50)
(18,0)
(18,0)
(50)
(50)
(50)
(18,0)
(50)
Constraints
Primary Key
Description
Unique ID for each
customer
Customer last name
Customer first name
Customer Email address
Customer Telephone
Customer Office number
Customer Address
Customer City
Customer State
Customer Pincode
Customer Country
2. dbo.Company
Column
Name
CompanyID
(18,0)
Constraint
s
Primary Key
Description
Unique ID for each
(100)
Company
The Companys
RegNo
Numeric
(18,0)
name
Company
ContPerson
Email
Nvarchar
Nvarchar
(50)
(50)
Registration number
Contact Person
Company email
(18,0)
address
Company Telephone
CompName
Nvarchar
Phone
Numeric
number
3. dbo.Reservation
51
Column Name
ResNo
ResDate
FromDate
ToDate
NoOfDays
NoAdult
NoChild
AdvPay
PayMode
CustID
RoomType
RoomNo
Total
Data Type
Numeric
Numeric
Numeric
Numeric
(18,0)
(18,0)
(18,0)
(18,0)
Description
Unique reservation ID
Reservation Date
Check In Date
Check Out Date
No of booking days
No of adults
No of children
Advance booking
Nvarchar
(255)
(18,0)
(255)
(18,0)
(18,0)
amount
Mode of payment
Customer ID
Type of room booked
Room number
Total Payment amount
Numeric
Width
(18,0)
Constraints
Primary Key
datetime
datetime
datetime
Numeric
Nvarchar
Numeric
Numeric
Foreign Key
4. dbo.Allocation
Column Name
AllocNo
CheckIn
CheckOut
RoomNo
ResNo
Data Type
Numeric
Width
(18,0)
Constraints
Primary Key
(18,0)
(18,0)
Foreign key
Datetime
Datetime
Numeric
Numeric
Description
Unique Allocation ID
Check In Date
Check Out Date
Room number
Reservation number
5. dbo.Rooms
Column Name
RoomNo
RoomType
Rate
Availability
Data Type
Numeric
Nvarchar
Numeric
Nvarchar
Width
(18,0)
255
(18,0)
(50)
Constraints
Primary Key
Description
Unique Room Number
Type of Room
Rate of Room
Availability status of the
Room
52
Control
Convention
lbl
tb
cb
btn
rb
dtp
crv
DatagridView
Label
TextBox
ComboBox
Button
RadioButton
DateTimePicker
CrystalReportViewer
DataGridView
1
tt
ms
ToolTip
MenuStrip
Program Description:
53
Sr.
Program
Description
No
54
1.
login
2.
Customer
3.
Company
the form.
Add all the details of the Company& Refresh
4.
Reservation
the form.
Add all the reservation details & Refresh the
Allocation
form.
Add all the allocation details& Refresh the
5.
form.
6.
Room Details
7.
main
8.
datagrid
9.
rooms
It helps to view the Complete Detail of All the
CustSummaryRpt
10. CompSummaryRpt
12. AllocationSummaryRpt
13. BillSummaryRpt
Validations
validation.
The checkname() subroutine is used for validating fields
number field.
The textlength property of the text box is also used to
56
57
1. SplashScreen:
58
2. Login
3. Master Form:
59
60
4. Customer:
5. Customer Details:
61
6. Company:
62
63
64
7. Company Details:
8. Reservation
65
9. Reservation Details:
66
67
68
69
70
71
72
73