Data

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

DATA DICTIONARY

Table Customer
This table contains customer details
Column Name

Data Type

Cust_id

Int

Field
Size
12

Description

Cust_name

Varchar

24

Cust_address

Varchar

50

Customer address = Street +


(Apartment) +City + Zip

Cust_cpnum

Int

12

Customer contact number

Primary key. ID number of the


customer
Customers name = first name + last
name + (middle initial)

Table Employee
This table contains employee information with their log in username and password
Column Name

Data Type

Admin_user

Varchar

Field
Size
24

Description

Admin_pass

Varchar

24

Admin password

Admin_name

Varchar

24

Admin name = first name + (middle


name) + last name

Admin_timein

Int

Date = year + month + day + hours


+ minutes

Admin_timeout

Int

Date = year + month + day + hours


+ minutes

Admin username = [A-Z|a-z|@||-]

Table Manager
This table contains manager log in username and password
Column Name

Data Type

Man_user

Varchar

Field
Size
24

Description

Man_pass

Varchar

24

Admin password

Man_name

Varchar

24

Manager name = first name +


(middle name) + last name

Admin username = [A-Z|a-z|@||-]

Table Order
This table contains customer order details
Column Name

Data Type

Order_id

int

Field
Size
12

Description

Order_name

varchar

24

Primary key. ID number of the item to


be order
Name of the item

Order_quantity

Int

Quantity of item

Order_amount

int

Amount of item

Order date

Int

Date = year + month + day + hours


+ minutes

Table Product
This table contains product details
Column Name

Data Type

Prod_id

Int

Field
Size
12

Description

Prod_name

Varchar

24

Prod_type

Varchar

24

Product type = [chair|tables|furniture|


foam|mirrors]

Prod_color

Varchar

12

Product color = [red|blue|green]

Prod_quantity

Int

Product quantity

Prod_amount

int

Product Amount

Primary key. ID number of the product


to be sold
Product name

Table Stock
This table contains stock items details
Column Name

Data Type

Stock_id

Int

Field
Size
12

Description

Stock_name

Varchar

24

Primary key. ID number of the stock


items
Stock item name

Stock_quantity

Int

Stock item quantity on hand

Stock_amount

Int

Stock item amount

Stock_color

Varchar

12

Stock item color

Stock_type

Varchar

24

Stock item type

Table Supplier
This table contains supplier details
Column Name

Data Type

Sup_id

Int

Field
Size
12

Sup_name

Varchar

24

Description
Primary key. ID number of the
delivery man/supplier
Delivery man name = first name +
(middle name) + last name

Table Item Order


This table contains ordered item

Column Name

Data Type

Item_id

Int

Field
Size
12

Description

Item_name

Varchar

24

Item_date

Int

Date = year + month + day + hours


+ minutes

Item_quantity

Int

Quantity of the ordered item

Item_amount

int

Item ordered cost

Primary key. ID number of the


ordered item
Item ordered name

You might also like