Professional Documents
Culture Documents
Online Ordering System
Online Ordering System
Entity Attribute
Relationship
Finding Entities
A courier company has a number of branches. Every branch offers
different products. Many employees and deliveryman are included
in every branches. Customers choose products and can make a
order for it to the employee. The employee accept order and
deliver the product via deliveryman to the customer. The company
needs to make a system for online ordering system. There will be
three typse of users (employee, customer, deliveryman). For
registration, each user should enter their name, address, phone
number. Employee and deliveryman should include their route
name of branch. For products there should have attributes like
productID, name, quantity and price. For each order there will be
orderID, orderdate.
Order Customer
Entity and Relationships
Employee accept Order
includes send
Deliveryman Delivered
Customer
to
Attributes
• Branch: branchID, branchName, location, contact.
• Employee: eID, eName, eContact, eAddress, eBranch.
• Deliveryman: dID, dName, dContact, dAddress, dBranch.
• Product: pID, pName, quantity, price.
• Customer: cName, cContact, address.
• Order: orderID, orderDate.
eName
ePhone eID orderID orderDate
includ send
es pID
branchID
pName
brach
Name Branch offers Product quantity
contact make
price
location
includ Delivered choose
es by
Delivered
Deliveryman Customer
dID to
dAddress
cName cAddress
dName
dContact
cContact
Thank You