You are on page 1of 2

Data Dictionary for Order Management System

Customer Table – This table stores customer details

Y CustomerID INTEGER 10 Unique customer identifier


FullName INTEGER 10 Defines the name of the customer
DeliveryAddress VARCHAR2 20 Stores the cutomer delivery address
Email VARCHAR2 20 Stores the email of the customer

Product Table – Stores details about a product

Y ProductID INTEGER 10 Unique product identifier like serial


number
ProductName VARCHAR2 10 Defines the name of the Product
Description VARCHAR2 20 Provides more details of the Product
UnitPrice INTEGER 7 Stores the price of the product

Order Table – Stores details about a Customer’s order

Y OrderID INTEGER 6 Used to uniquely identify a particular


order
OrderDate DATE - Defines the date the order was made
CustomerID VARCHAR2 20 Uniquely identifies the customer who
made the order from the customer table
TotalCost INTEGER 7 Stores the total cost the order would
amount to.
Order Line– Stores details about an Order Line

Y OrderID INTEGER 6 Used to reference the orders table to


uniquely identify an order
Y ProductID INTEGER 10 Defines Product in the order
Qty INTEGER 5 Defines the quantity of the orders
Toppings INTEGER 7 Stores details about the toppings of the
product
OtherInfo VARCHAR 2 25 Stores any additional information about
an order line

You might also like