0% found this document useful (0 votes)
9 views6 pages

Data Dictionary of Tiffin Services

The document is a comprehensive data dictionary outlining various entities such as User, Admin, Category, Sub-category, City, Area, State, Food Item, Tiffin Service Agency, Inquiry, Feedback/Rating, Order, Cart, and Contact. Each entity includes fields with their respective data types, constraints, and descriptions. This structured format provides essential information for database design and implementation.

Uploaded by

Prabhdeep kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views6 pages

Data Dictionary of Tiffin Services

The document is a comprehensive data dictionary outlining various entities such as User, Admin, Category, Sub-category, City, Area, State, Food Item, Tiffin Service Agency, Inquiry, Feedback/Rating, Order, Cart, and Contact. Each entity includes fields with their respective data types, constraints, and descriptions. This structured format provides essential information for database design and implementation.

Uploaded by

Prabhdeep kaur
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Data dictionary

• user

Sr.no Field name Data type Constraint description


Represents id of
1 Uid Int(12) Primary key
user
Represents first
2 Fname Varchar(20) None
name ofuser
Represents last
3 Lname Varchar(20) None
name ofuser
Represent email id
4 Email Varchar(100) None
of user
Represent gender
5 Gender Varchar(10) None
of user
Represent date of
6 Dob date None
birth ofuser
Represent contact of
7 contact Bigint(10) None
user
Represent address
8 Address Varchar(100) None
of user
Represent
9 password Varchar(12) None password of
user
Represent register
10 Reg_date date None
of use

• Admin

Sr.no Field name Data type Constraint Description


Represent register
1 Reg_Id Int(22) Primary key
id ofAdmin
Represent
2 UserName Varchar(20) None username of
Admin
Represent
3 Email Varchar(100) None
email ofAdmin
Represent password
4 Password Varchar(12) None
ofAdmin

• category

Sr.no Field name Data type Constraint Description


Represent id of
1 Cat_id Int(12) Primary key
category
Represent
2 Cat_name Varchar(20) None
name ofcategory
Represent
3 image none none image of
category
• Sub-category

Sr.no Field name Data type Constraint Description


Represent sub id
1 Sub_id Int(12) Primary key of sub-
category
Represent subcat
2 Subcat_name Varchar(20) None name of
sub-category
Represent cat id
3 Cat_id Int(12) Foreign key of sub-
category

• City

Sr.no Field name Data type Constraint Description


Represent city id of
1 City_id Int(12) Primary key
city
Represent city
2 City_name Varchar(20) None name of
city
Represent state id of
3 State_id Int(12) Foreign key
city
• Area

Sr.no Field name Data type Constraint Description


Represent area id of
1 Area_id Int(12) Primary key
area
Represent area name
2 Area_name Varchar(12) None
of area
Represent city id of
3 City_id Int(12) Foreign key
area
Represent state id of
4 State_id Int(12) Foreign key
area

• state

Sr.no Field name Data type Constraint Description


Represent state id of
1 State_id Int(12) Primary key
state
Represent state
2 State_name Varchar(12) None
name ofstate

• Food item

Sr.no Field name Data type Constraint Description


Represent food id of
1 Food_id Int(12) Primary key
fooditem
Represent name of
2 FName Varchar(12) None food
item
Represent price of
3 FPrice Float(100) none food
item
Represent price of
Represent food id of
1 Food_id Int(12) Primary key
fooditem
Represent name of
2 FName Varchar(12) None food
item
Represent price of
3 FPrice Float(100) none food
item
Represent price of
4 Fprice Float(100) None food
in subscription
Represent
5 Small_description varchar(100) None smalldescription of
food item
Represent image of
6 Image none None food
item
Represent cat id
7 Cat_id Int(12) Foreign key
of fooditem
Represent sub id of
8 Sub_id Int(12) Foreign key food
item
Represent tiffin id
9 Tiffin_service_id Int(12) Foreign key
offood item
Represent
10 Transcation_no Bigint(10) None transaction no
of food item

• Tiffin service agency

Sr.no Field name Data type Constraint Description


Represent tiffin id
1 Tiffin_id Int(12) None of tiffin
service agency
Represent
name of
2 Tiffin_agency_Name Varchar(12) None
tiffinservice
agency
Represent
3 Email Varchar(100) None email of tiffin
service agency
Represent contact
4 Contact Bigint(10) None of tiffinservice
agency
Represent address
5 Address Varchar(100) None of tiffin
service agency
Represent city id
6 City_id Int(12) Foreign key of tiffin
service agency
Represent state id
7 State_id Int(12) Foreign key of tiffinservice
agency
Represent area id
8 Area_id Int(12) Foreign key of tiffin
service agency
Represent owner
9 Owner_name Varchar(12) None name oftiffin
service agency
Represent image
10 Agency_Image none None of tiffin
service agency
8 Area_id Int(12) Foreign key of tiffin
service agency
Represent owner
9 Owner_name Varchar(12) None name oftiffin
service agency
Represent image
10 Agency_Image none None of tiffin
service agency
Represent Password
11 Password Varchar(12) None of tiffinservice
agency
Represent status
12 Status Varchar(100) None of tiffin
service agency

• Inquiry

Sr.no Field name Data type Constraint Description


Represent inq-id of
1 Inq_id Int(12) None
inquiry
Represent name of
2 Name Varchar(20) None
inquiry
Represent email of
3 Email Varchar(100) None
inquiry
Represent contact of
4 contact Bigint(10) None
inquiry
Represent
5 Message Varchar(100) None message of
inquiry
Represent date of
6 Date date None
inquiry

• Feedback/rating

Sr.no Field name Data type Constraint Description


Represent f-id
1 F_id Int(12) Primary key of
feedback/rating
Represent
2 Uname Varchar(20) None uname for
feedback/rating
Represent
3 Uemail Varchar(100) None email of
feedback/rating
Represent Food-
4 Food_quality Varchar(50) None quality of
feedback/rating
Represent
5 Cleanliness Varchar(50) None cleanliness of
feedback/rating
Represent
6 Accuracy Varchar(50) None Accuracy of
feedback/rating
Represent
overall-
7 Overall_experience Varchar(50) None
experience of
feedback/rating
Represent
8 Suggestion Varchar(50) None suggestion of
feedback/rating
feedback/rating
Represent
overall-
7 Overall_experience Varchar(50) None
experience of
feedback/rating
Represent
8 Suggestion Varchar(50) None suggestion of
feedback/rating

• order

Sr.no Field name Data type constraint Description


Represent o-id of
1 O_Id Int(12) None
order
Represent user id of
2 User_id Int(12) Foregin key
order
Represent product
3 Product_name Varchar(20) None
name of order
Represent price of
4 Price Float(100) None
order
Represent first name
5 Fname Varchar(12) None
of user
Represent last name
6 Lname Varchar(12) None
of user
Represent email id
7 Email Varchar(100) None
of user
Represent mobile
8 Mobile_number Bigint(10) None
number of user
Represent address
9 Address_type Varchar(100) None type of
user
Represent address
10 Address1 Varchar(100) None
of user
Represent city of
12 City Int(12) Foregin key
user
Represent pin of
13 Pin Int(8) None
user

• cart

Sr.no Field name Data type constraint Description

1 Id Int(12) None Represent id of cart

Represent product
2 product Varchar(50) None
of cart

Represent price of
3 price Float(100) None
food item

Represent quantity
4 quantity Varchar(100) None
of food item

Represent image of
5 img None None
food item

6 Agency_id Int(12) Foreign key Represent agency id

7 cid Int(12) None Represent cart id

Represent date of
8 date date None
order
Represent image of
5 img None None
food item

6 Agency_id Int(12) Foreign key Represent agency id

7 cid Int(12) None Represent cart id

Represent date of
8 date date None
order

• contact

Sr.no Field name Data type constraint Description


1 Cid Int(12) Primary key Represent contact id
Represent contact
2 Name Varchar(50) None
name
3 Email Varchar(100) None Represent email
4 Contact_no Bigint(10) None Represent number
Repre
sent
5 Msg Varchar(100) None small
descri
ption
6 Date date none Represent date

You might also like