Documente Academic
Documente Profesional
Documente Cultură
SYSTEM
COLLEGE NAME:
BENGAL COLLEGE OF
ENGINEERING AND TECHNOLOGY
BIDHANNAGAR ,DURGAPUR , WESTBENGAL
PIN-713201
GROUP MEMBERS
STUDENT_ID:29522
VIJAY PRATAP
SINGH
29525
SANDIP KUMAR
29521
BAISHALI MUKHERJEE
28195
ACKNOWLEDGEMENT
We take upon this opportunity endowed upon us by the
grace of the almighty, to thank all those who have been part
of this endeavour.
Firstly, we would like to thank GLOBSYN FINISHING
SCHOOL for giving us the opportunity as well as lending us
the resources to fulfil our work.
We would like to thank our mentor PROF. ARNAB
CHAKRABORTY for giving us the right direction to follow and
proper guidance regarding the topic. Without his active
involvement and the right guidance this would not have been
possible .we sincerely thank him for giving us the chance as
well as the support for all the time being.
Last but not the least, we heartily appreciate all those
people who have helped us directly or indirectly in making
these task a success
INDEX
1.INTRODUCTION 1.1 Scope of work
2. REQUIREMENT SPECIFICATION
2.1 Domain description
2.2 Problem definition
2.3 Functional requirements
2.4 Hardware & Software requirements
3. DATABASE DESIGN
3.1 ER diagram
3.2 Table description
4. SCREEN SHOTS
5. FUTURE SCOPE OF IMPROVEMENTS
6. CODE
REQUIREMENT SPECIFICATION
DOMAIN DESCRIPTION
HOTEL MANAGEMENT SYSTEM reservation system is needed
to ROOMS on the HOTEL where the customer can choose the
ROOM that is currently being in the hotel which has been
not allotted.
The main actors in the hotel management system are the
administrator.
PROBLEM DEFINITION
Nowadays it is very difficult for a person to maintain records
manually, so in order to provide the hotels with such a
system that helps them severely in maintaining the records
of the hotel transactions, we are going with this project. The
operations performed by this project are maintenance of the
information of the transactions that are performed by the
hotels.
FUNCTIONAL REQUIREMENTS
The functions that the hotel management system provides
are as follows:
Activities that only the administrator can perform are:
1. CREATION OF A NEW ACCOUNT FOR customer and staff.
2. ADDING OF A NEW customer WITH ALL THE RELEVANT
DETAILS (FOR e.g. customer name, customer_id, customer
identification).
3. DELETING OR UPDATING OF A customer AND HENCE,
UPDATING OF THE DATABASE.
4. MODIFICATION OR UPDATION OF The hotel related
facilities.
5. booking of rooms for the customer.
Snapshots
FUTURE SCOPE OF
IMPROVEMENTS
The limited time and resources have restricted us to incorporate in this project.
Only main activities that can be performed in a hotel management system are
shown but at most care has been taken to make the system efficient and user
friendly. In future, certain improvements can be brought upon like:
1. Developing an interface so that customers can book hotel online, choosing
their room of preference.
2. In our project, only one room can be booked at a time. This can be
overcome in the future where an interface would be developed which will
support booking of multiple rooms at a time.
Codes
Table creating codes
Customer:create table customer(cid number(10) primary key,cname
varchar(10),phno number(10),address varchar(10),pancard
number(10));
satff
create table staff(Sid number(10),sname varchar(10),address
varchar(10),desigination varchar(20),phno number(10));
insert into staff values
(sidseq.nextval,'ram','lohardaga','receptionist',2222);
insert into staff values
(sidseq.nextval,'shyam','bokaro','waiter',3333);
insert into staff values
(sidseq.nextval,'gopal','tata','shef',4444);
PROGRAMME CODES
Login page:-
Customer
Load:declare
a number;
begin
if :ti1 is null then
a := show_alert('nodeptno');
else
select count(*) into a
from emp
where deptno=:ti1;
if a=0 then
a := show_alert('norecord');
else
a := populate_group('rg1');
populate_list('li1','rg1');
end if;
end if;
end;
move last:-
declare
a number;
cust_id customer.cid%type;
cust_name customer.cname%type;
mobile customer.phno%type;
city customer.address%type;
pan_no customer.pancard%type;
begin
select count(*) into a
from customer;
if (a=0) then
:global.reccount:=0;
:global.currecno:=0;
message('I m in the then block...');
else
message('I m in the else block...');
:global.reccount:=1;
:global.currecno:=a;
:di7:=:global.currecno||'/'||:global.reccount;
)
where rn=:global.currecno;
:di6:=cust_id;
:ti1:=cust_name;
:ti2:=mobile;
:ti3:=city;
:ti4:=pan_no;
:di7:=:global.reccount||'/'||:global.currecno;
end if;
end;
move previous:declare
a number;
cust_id customer.cid%type;
cust_name customer.cname%type;
mobile customer.phno%type;
city customer.address%type;
pan_no customer.pancard%type;
begin
select count(*) into a
from customer;
if (a=0) then
:global.reccount:=0;
:global.currecno:=0;
else
if (:global.reccount=1) then
a := show_alert('firsttrecord');
else
:global.reccount:=:global.reccount - 1;
select cid,cname,phno,address,pancard into cust_id,cust_name,mobile,city,pan_no
from
(
select rownum rn,cid,cname,phno,address,pancard
from customer
order by rownum
)
where rn=:global.reccount;
:di6:=cust_id;
:ti1:=cust_name;
:ti2:=mobile;
:ti3:=city;
:ti4:=pan_no;
:di7:=:global.reccount||'/'||:global.currecno;
end if;
end if;
end;
end;
move first:-
declare
a number;
cust_id customer.cid%type;
cust_name customer.cname%type;
mobile customer.phno%type;
city customer.address%type;
pan_no customer.pancard%type;
begin
select count(*) into a
from customer;
if (a=0) then
:global.reccount:=0;
:global.currecno:=0;
message('I m in the then block...');
else
message('I m in the else block...');
:global.reccount:=1;
:global.currecno:=a;
:di7:=:global.reccount||'/'||:global.currecno;
:di6:=cust_id;
:ti1:=cust_name;
:ti2:=mobile;
:ti3:=city;
:ti4:=pan_no;
:di7:=:global.reccount||'/'||:global.currecno;
end if;
end;
move last:-
declare
a number;
cust_id customer.cid%type;
cust_name customer.cname%type;
mobile customer.phno%type;
city customer.address%type;
pan_no customer.pancard%type;
begin
select count(*) into a
from customer;
if (a=0) then
:global.reccount:=0;
:global.currecno:=0;
message('I m in the then block...');
else
message('I m in the else block...');
:global.reccount:=1;
:global.currecno:=a;
:di7:=:global.currecno||'/'||:global.reccount;
select cid,cname,phno,address,pancard into cust_id,cust_name,mobile,city,pan_no
from
(
select rownum rn,cid,cname,phno,address,pancard
from customer
order by rownum
)
where rn=:global.currecno;
:di6:=cust_id;
:ti1:=cust_name;
:ti2:=mobile;
:ti3:=city;
:ti4:=pan_no;
:di7:=:global.reccount||'/'||:global.currecno;
end if;
end;
update:declare
a number;
begin
if :ti2 is null or :ti3 is null or :ti4 is null then
a:=show_alert('blankfield');
else
insert into mystu values (rollseq.nextval,:ti2,:ti3,:ti4);
standard.commit;
:global.reccount:=:global.reccount+1;
:global.currecno:=:global.reccount;
:di3:=:global.currecno||'/'||:global.reccount;
end if;
end;
insert:-_
:di2 := :global.reccount+1;
:ti2:='';
:ti3:='';
:ti4:='';
go_item('ti2');
move next:declare
a number;
cust_id customer.cid%type;
cust_name customer.cname%type;
mobile customer.phno%type;
city customer.address%type;
pan_no customer.pancard%type;
begin
select count(*) into a
from customer;
if (a=0) then
:global.reccount:=0;
:global.currecno:=0;
else
if (:global.currecno=:global.reccount) then
a := show_alert('lastrecord');
else
:global.reccount:=:global.reccount + 1;
select cid,cname,phno,address,pancard into cust_id,cust_name,mobile,city,pan_no
from
(
select rownum rn,cid,cname,phno,address,pancard
from customer
order by rownum
)
where rn=:global.reccount;
:di6:=cust_id;
:ti1:=cust_name;
:ti2:=mobile;
:ti3:=city;
:ti4:=pan_no;
:di7:=:global.reccount||'/'||:global.currecno;
end if;
end if;
move previous:declare
a number;
cust_id customer.cid%type;
cust_name customer.cname%type;
mobile customer.phno%type;
city customer.address%type;
pan_no customer.pancard%type;
begin
select count(*) into a
from customer;
if (a=0) then
:global.reccount:=0;
:global.currecno:=0;
else
if (:global.reccount=1) then
a := show_alert('firsttrecord');
else
:global.reccount:=:global.reccount - 1;
select cid,cname,phno,address,pancard into cust_id,cust_name,mobile,city,pan_no
from
(
select rownum rn,cid,cname,phno,address,pancard
from customer
order by rownum
)
where rn=:global.reccount;
:di6:=cust_id;
:ti1:=cust_name;
:ti2:=mobile;
:ti3:=city;
:ti4:=pan_no;
:di7:=:global.reccount||'/'||:global.currecno;
end if;
end if;
end;
end;
update:update
declare
a number;
begin
if :ti2 is null or :ti3 is null or :ti4 is null then
a:=show_alert('blankfield');
else
insert into mystu values (rollseq.nextval,:ti2,:ti3,:ti4);
standard.commit;
:global.reccount:=:global.reccount+1;
:global.currecno:=:global.reccount;
:di3:=:global.currecno||'/'||:global.reccount;
end if;
end;
exit:-
exit form;
allocation:-
Certificate
THIS IS TO CERTIFY THAT NITESH KUMAR OF
Bengal college of engineering and technology HAS
SUCCESSFULLY COMPLETED THE PROJECT
ON hotel management system
THE GUIDANCE OF PROF. ARNAB CHAKRABORTY
USING ORACLE 10g FROM GLOBSYN
FINISHING SCHOOL IN SUMMER TRAINING
PROGRAM 2015-2016.
___________________
Signature and date
___________________________
PROF.ARNAB CHAKRABORTY
Certificate
THIS IS TO CERTIFY THAT VIJAY PRATAP SINGH OF
Bengal college of engineering and technology HAS
SUCCESSFULLY COMPLETED THE PROJECT
ON hotel management system
THE GUIDANCE OF PROF. ARNAB CHAKRABORTY
USING ORACLE 10g FROM GLOBSYN
FINISHING SCHOOL IN SUMMER TRAINING
PROGRAM 2015-2016.
___________________
Signature and date
___________________________
PROF.ARNAB CHAKRABORTY
Certificate
THIS IS TO CERTIFY THAT BAISHALI MUKHERJEE OF
Dr.sudhir Chandra sur degree engineering college HAS
SUCCESSFULLY COMPLETED THE PROJECT
ON hotel management system
THE GUIDANCE OF PROF. ARNAB CHAKRABORTY
USING ORACLE 10g FROM GLOBSYN
FINISHING SCHOOL IN SUMMER TRAINING
PROGRAM 2015-2016.
___________________
Signature and date
___________________________
PROF.ARNAB CHAKRABORTY
Certificate
THIS IS TO CERTIFY THAT SANDIP KUMAR OF
Bengal College of engineering and technology HAS
SUCCESSFULLY COMPLETED THE PROJECT
ON hotel management system
THE GUIDANCE OF PROF. ARNAB CHAKRABORTY
USING ORACLE 10g FROM GLOBSYN
FINISHING SCHOOL IN SUMMER TRAINING
PROGRAM 2015-2016.
___________________
Signature and date
___________________________
PROF.ARNAB CHAKRABORTY
CONCLUSION
The HOTEL MANAGEMENT SYSTEM is a step in the direction to ease the
structure of ticket booking and reservation system. Some of the advantages
that it enjoys over Manual System are:
Data retrieval process becomes easy when it is needed, if we use computer
management instead of manually.
Storage capacity of the computer is also excellent.
Updating of data is easy in computerized system
. Data consistency is required for neat and proper management that is
achieved by computer easily.
Time is precious and speed is the order of today. Our software supports this
statement
. With the help of software, data redundancy reduces as compared to manual.