Class diagram
Ecommerce classes
Customer, Order, OrderLine and Product with their relationships.
- 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 makerWhen it helps
- Designing a shop backend
- Explaining why order lines exist
- A schema design review