0% found this document useful (0 votes)
64 views1 page

ERD - Ecommerce Database

The document describes an entity relationship diagram (ERD) showing the relationships between various database tables related to customers, suppliers, products, orders, and payments. The ERD includes tables for customers, suppliers, products, orders, line items, reviews, product suppliers, delivery partners, payments, payment status, and product types. Relationships define foreign keys that link records between tables such as customers to orders, products to orders, and suppliers to product suppliers.

Uploaded by

frank malley
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)
64 views1 page

ERD - Ecommerce Database

The document describes an entity relationship diagram (ERD) showing the relationships between various database tables related to customers, suppliers, products, orders, and payments. The ERD includes tables for customers, suppliers, products, orders, line items, reviews, product suppliers, delivery partners, payments, payment status, and product types. Relationships define foreign keys that link records between tables such as customers to orders, products to orders, and suppliers to product suppliers.

Uploaded by

frank malley
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/ 1

Supplier

Customer
Reviews SupplierID (PK) ProductSupplier
CustID (PK)
SupplierName
CustFName ReviewID (PK) ProductSupplierID (PK)
SupplierType
CustLName CustID (FK) ProductID (FK)
SupplierPrimaryContact
CustDOB ProductID (FK) SupplierID (FK)
SpplierSecondaryContact
CustomerEmail Review Text ProductQuantity
SupplierEmail
CustomerPhoneNumber CreateTimeStamp CreateTimeStamp
CreateTimeStamp
CreateTimeStamp CreateUI CreateUI
CreateUI
CreateUI LastUpdateTimeStamp LastUpdateTimeStamp
LastUpdateTimeStamp
LastUpdateTimeStamp LastUpdateUI LastUpdateUI Product_Type
LastUpdateUI
LastUpdateUI ProductTypeID (PK)
Address
Address ProductTypeName
City
City ProductTypeDescription
State
State CreateTimeStamp
Country
Country CreateUI
ZipCode
ZipCode LastUpdateTimeStamp
LastUpdateUI
Product

LineItems ProductID (PK)


PriveHistory
Order LineItemID (PK) ProductTypeID (FK)
OrderID (FK) ProductName PriceHistoryID (PK)
OrderID (PK)
ProductID (FK) ProductDescription ProductID (FK)
PaymentID (FK)
Quantity Price CreateTimeStamp
CustID (FK)
CreateTimeStamp CreateTimeStamp CreateUI
OrderDate
CreateUI CreateUI LastUpdateTimeStamp
OrderTime
LastUpdateTimeStamp LastUpdateTimeStamp LastUpdateUI
CreateTimeStamp
LastUpdateUI LastUpdateUI Price
CreateUI
PricingTimestamp
LastUpdateTimeStamp
LastUpdateUI
PaymentStatus

Delivery_Partner Payment PaymentStatusID (PK)


Payment_Type
Order__Delivery_Status PaymentStatusName
DeliveryPartnerID (PK) PaymentID (PK)
PaymentTypeID (PK)
OrderStatusID (PK) DeliveryPartnerName PaymentTypeID (FK) CreateTimeStamp
PaymentTypeName
OrderStatusName DeliveryPartnerPrimaryContact PaymentStatusID (FK) CreateUI
PaymentTypeStatus
DeliveryPartnerID (FK) DeliveryPartnerSecondayContact PaymentAmount LastUpdateTimeStamp
PaymentMode
OrderID (FK) DeliveryPartnerEmail CreateTimeStamp LastUpdateUI
CreateTimeStamp
CreateTimeStamp CreateTimeStamp CreateUI
CreateUI
CreateUI CreateUI LastUpdateTimeStamp
LastUpdateTimeStamp
LastUpadateTimeStamp LastUpdateTimeStamp LastUpdateUI
LastUpdateUI
LastUpdateUI LastUpdateUI

You might also like