ER Scenario
ER Scenario
Imagine an online store called "Tech Gadgets Galore" that sells various electronic devices.
Customers can browse the website, view product details, add items to their shopping cart,
and place orders.
The system needs to manage customer accounts, including information like name, email
address, and shipping details.
Products have attributes like product ID, name, description, price, stock quantity, and
category.
Orders track customer purchases, with details like order ID, order date, total amount, and
order status (e.g., placed, shipped, delivered). An Order contains many Products. Product
can be included in many Orders
Customers can pay for their orders using different payment methods, so a payment entity
might be needed to capture details like payment type (e.g., credit card, debit card) and
transaction ID.