0% found this document useful (0 votes)
135 views7 pages

Online Canteen Management Data Dictionary

This document outlines the data dictionary for an online canteen management system for a college. It defines 10 tables with fields and data types to store information. The tables include Admin, Shopkeeper Registration, Product Upload, Offers, Student Registration, Book Orders, Payments, Feedback, Ratings, and Contact. Each table lists the fields, data types like integer or varchar, and any constraints like primary keys or foreign keys.

Uploaded by

Kishan 543
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)
135 views7 pages

Online Canteen Management Data Dictionary

This document outlines the data dictionary for an online canteen management system for a college. It defines 10 tables with fields and data types to store information. The tables include Admin, Shopkeeper Registration, Product Upload, Offers, Student Registration, Book Orders, Payments, Feedback, Ratings, and Contact. Each table lists the fields, data types like integer or varchar, and any constraints like primary keys or foreign keys.

Uploaded by

Kishan 543
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/ 7

Online Canteen Management


For Collage

Prepared By:

220SBECE30505
19BECE30543

PAGE 1

Data Dictionary (System Database)

1. Admin:

Field Data type Constraints

Username Varchar(50)

Password Varchar(10)

2. Shopkeeper_Reg:

Field Data type Constraints

S_id Integer(10) Primary key

Shop_name Varchar(50) Not null

Owner_name Varchar(20) Not null

Address Varchar(50) Not null

City Varchar (50) Not null

PAGE 2

3. Product upload:
Field Data type Constraints

P_id Integer(10) Primary key

S_id Integer(10) Foreign key

Product_name Varchar(20) Not null

Qty Varchar(10) Not null

Description Varchar(100) Not null

Price Integer(10) Not null

Photo Varchar(50) Not null

4. Offer:
Field Data type Constraints
Offer_Id Integer(10) Primary key

S_id Integer(10) Foreign key

P_id Integer(10) Foreign key

Constraints Varchar(50) Check

Offer_detail Varchar(50) Not null

TO_date Varchar(15) Not null

Percentage Varchar(50) Not null

PAGE 3

5. Student_Reg:
Field Data type Constraints
St_id Integer(10) Primary key

Name Varchar(50) Not null

Address Varchar(50) Not null

Mobile_no Integer(10) Not null

Email Varchar(50) Not null

College_name Varchar(50) Not null

Department Varchar(20) Not null

Username Varchar(50) Not null

Password Varchar(50) Not null

City Varchar(20) Not null

State Varchar(20) Not null

Gender Varchar(10) Not null

Photo Varchar(50) Not null

PAGE 4

6. Book_order:
Field Data type Constraints

Order_id Varchar(20) Primary key

P_id Integer(10) Foreign key

S_id Integer(10) Foreign key

Qty Varchar(20) Not null

Price Integer(10) Not null

St_id Integer(10) Not null

Date Varchar(15) Not null

Time Varchar(15) Not null

Status Varchar(20) Not null

7. Payment:
Field Data type Constraints

Pay_id Integer(10) Primary key

St_id Integer(10) Foreign key

Payment_mtd Varchar(10) Not null

Type Varchar(20) Not null

Order_id Varchar(20) Not null

Date Varchar(15) Not null

Time Varchar(15) Not null

PAGE 5

8. Feedback:
Field Data type Constraints

F_id Integer(10) Primary key

Name Varchar(50) Not null

Email Varchar(50) Not null

Mobile_no Integer(10) Not null

Type Varchar(20) Not null

Feedback Varchar(50) Not null

Date Varchar(15) Not null

Time Varchar(15) Not null

9. Rating:
Field Data type Constraints

R_id Integer(10) Primary key

St_id Integer(10) Foreign key

S_id Integer(10) Foreign key

P_id Integer(10) Foreign key

Rate Varchar(10) Not null

Description Varchar(500) Not null

Date Varchar(15) Not null

Time Varchar(15) Not null

PAGE 6

10. Contact
Field Data type Constraints

C_id Integer(10) Primary key

Name Varchar(30) Not null

Mobile_no Integer(10) Not null

Email Varchar(30) Not null

Contact_detail Varchar(500) Not null

PAGE 7

You might also like