Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In an online shopping system the main entities for online shopping are Customer, Web User, Account, Shopping Cart, Product, Order, Payment, etc. and relationships between

In an online shopping system the main entities for online shopping are Customer, Web User, Account, Shopping Cart, Product, Order, Payment, etc. and relationships between them. Each customer has unique id and is linked to exactly one account. Account owns the shopping cart and orders. Customer could register as a web user to be able to buy items online. Customers are not required to be a web user because purchases could also be made by phone or by ordering from catalogs. Web users have a login name which also serves as a unique id. Web user could be in several states - new, active, temporary blocked, or banned, and be linked to a shopping cart. Shopping cart belongs to the account. Account owns customer orders. Customers may have no orders. Customer orders are sorted and unique. Each order could refer to several payments, possibly none. Every payment has a unique id and is related to exactly one account. Each order has a current order status. Both order and shopping cart have line items linked to a specific product. Each line item is related to exactly one product. A product could be associated with many line items or no item at all. 1. Draw a Domain class diagram for the scenario 2. Draw the use case diagram for the scenario. 3. After you have finished, implement your diagram in Draw.io

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Rules In Database Systems Third International Workshop Rids 97 Sk Vde Sweden June 26 28 1997 Proceedings Lncs 1312

Authors: Andreas Geppert ,Mikael Berndtsson

1997th Edition

3540635165, 978-3540635161

More Books

Students also viewed these Databases questions

Question

Describe how facial expressions influence our feelings.

Answered: 1 week ago