Sie sind auf Seite 1von 6

Data Dictionary

Table Name: Registration

Primary key:-reg_id
Description:- This Table is store the user information

Field Name Data Type Size Constraint Description


Reg_id Numeric 4 Primary key To store the
reg_id
U_id Numeric 5 Foreign key References of
the User_id
from
usertype_mst
Name Varchar 50 NOT NULL To store the
name
Cont_no varchar 10 NOT NULL To store the
cont no
Address varchar 50 NOT NULL To store the
address
City varchar 15 NOT NULL To store the
state
State varchar 15 Foreign key To store the
city
Pin-code varchar 10 NOT NULL To store the pin
code
Email varchar 30 NOT NULL To store the
email
Table Name:Order

Primary key:-loc
Foreign key:-area_id
Description: - This Table is store location information cities wise

Field Name Data Type Size Constraints Description

U_id Int 6 Primary key To store user id

U_password Varchar 20 Not null To store


password
Menu_type Varchar 10 Not null To store menu
type
pickup_add Varchar 2 50 NOT NULL To store pickup
address
location varchar 2 50 NOT NULL To store the
_add location address
Table Name:- menu
Primary key:-menu
Description:- This Table is which type of food user want to eat.

Field Name Data Type Size Constraints Description

Menu_name Varchar 10 Primary Key To store the data


that which type of
food user have
taken.
Table Name: Feedback_Form

Primary key:- u_id


Description:- This Table to store feedback information

Field Name Data Type Size Constraints Description

U_id int 4 Primary key To store the id

Name varchar 50 NOT NULL To store the name

Email varchar 50 NOT NULL To store the email

Feed back varchar 2 max NOT NULL To store the feed back
Table Name: city_area

Primary key:- city


Description:- This Table to store city & area information

Field Name Data Type Size Constraints Description

City Varchar 15 Primary Key To store city name.

Area Varchar 30 Not null To store area.

Pincode Int 6 Not null To store city postal


code.
state varchar 15 Foreign key To store state
name.
Table Name: Payment

Primary key:- u_id


Description:- This Table to store payment information

Field Name Data Type Size Constraints Description

U_id int 4 Primary key To store the id

Name varchar 50 NOT NULL To store the name

payment toggle 50 NOT NULL To select payment type

Total_payment Int 10 NOT NULL To store total payment

Order_cnl_chg Int 10 Not null To store cancellation


charge.

Das könnte Ihnen auch gefallen