Skip to content
Preview of the Ecommerce classes template

Class diagram

Ecommerce classes

Customer, Order, OrderLine and Product with their relationships.

Start blank
Category
Technical
Diagram type
Class diagram
Elements
4
Connectors
3

What it is for

The classic model that every shop ends up with. OrderLine exists because price must be captured at the time of sale, not read from Product later — a detail worth arguing about early.

More about the class diagram maker

When it helps

  • Designing a shop backend
  • Explaining why order lines exist
  • A schema design review