Sunteți pe pagina 1din 9

DATA FLOW DIAGRAM

CONTEXT LEVEL DIAGRAM

Register
Admin Hotel
0

Login E-hotel

User
Register
LEVEL 0 DFD OF ADMIN

Login
Admin
ID
1.4
1.0
Invalid LoginID Update Generalsetting
  Adminpanel
View user list
Modifies
1.1 Viewhotellist
1.2 1.3 ThewebsiteDet
User ails
Hotel Admin Pagedatabase
Controls
Maintenance
Setting
View, delete View, delete the
TheuserDetails hotel Details

 
User data base Hotel data base Admin data base
LEVEL 1 DFD OF HOTEL

Login
Hotel
ID
2.4
2.0
Invalid LoginID Update Dish
  Blog
View order
Add, Modifies,
2.1 Viewprofile
delete
2.2 2.3
Order Thedish
Controls Hotel profile Setting Dishdatabase

View, delete
View, update the
Theorder hotel profile
 
Order data base Hotel data base Hotel data base
LEVEL 2 DFD OF USER

Login ID
User

3.0
Invalid LoginID

  Search
Select location

Delivery
3.2 3.3
3.1 Detail
SelectDish
Hotel Menucord Order

 
View View hotel Order
dish
Thehotel
 
Hoteldatabase Dishdatabase Order data base
User
Pass
word ENTITY RELATIONSHIP
name Ph.No

User
UID
Mail ID name
ID
Pass
word

1 M
Admin Activate User Mail ID

1 1
Ph.No
PIN
Address
Register code

P.Name
Product P.Name pries
ID

Review M P.type
P.type

M Order Dhish
hotel
View
Descripti Bill
Meterial
on Order id amount
Price
TABLE DESIGN

Table Name : ADMIN


Primary key : ADMIN_ID
Table Description : This table is used to store the Admin Details in the system.

Field name Data type Constraints Description

ADMIN_ID Int (11) Primary Key The unique id

USER_NAME Varchar (20) - The unique username

PASS_WORD Varchar (20) - Password

EMAIL Varchar (20) - Email-id

PHONE Int (10) - Phone number


TableName : HOTEL
PrimaryKey : HOTEL_ID
TableDescription : This table is used to store the hotel Details in the system.

Field name Data type Constraints Description


HOTEL_ID Int (11) Primary Key The unique id
HOTL_NAME Varchar (20) - Hotel name
YOUR_NAME Varchar (20) - Your name
HOTEL_LOGO Varchar (50) - Hotel Logo
EMAIL Varchar (30) - Unique Email Id
PASSWORD Varchar (10) - Password
HOTEL_SPECIAL Varchar (20) - Hotel Special
ADDRESS Text (140) - Address
CITY Text (20) - City
CODE Int (10) - Code
MOBIL_NUM Int (10) - Mobile Number
OPEN_TIME Int (05) - Open Time
CLOSE_TIME Int (05) - Close Time
TableName : HOTEL MENUCORD
Primarykey : MENUCARD_ID
TableDescription : This table is used to stores the commend details.

Field name Data type Constraints Description


DISH_ID Int (11) Primary Key Dish Id
DISH_NAME Varchar (25) - Dish name

TableName : USER
PrimaryKey : USER_ID
TableDescription : This table is used to store the Users Details in the system.

Field name Data type Constraints Description


MENUCARD_ID Int (11) Primary Key Menu Id
HOTEL_ID Text (12) Foreign Key Hotel Id
DISH_ID Varchar (20) Foreign Key Dish id
NAME Varchar (20) - Name
DETAIL Varchar (15) - Dish Detail
PRICE Int (10) - Dish Id

S-ar putea să vă placă și