O cenário
A fleet maintenance garage needs to track vehicles, customers, work orders, assigned mechanics, services and parts used, and invoicing.
O que há neste desenho
Entenda as decisões por trás dele.
01
Model WorkOrder as an aggregate root with composition to ServiceItem and PartItem
02
Use interface Billable for items that contribute to invoice total
03
Represent work order status as an enumeration
When designing a garage management system or service workflow tracking vehicle repairs and billing.