Skip to content

Domain Model

The domain model shows entities, value objects, aggregates, and their relationships. It is the authoritative source for class structure in the domain layer.

Class Diagram

This is a minimal illustrative example (Task / Task Title / User) showing the expected level of detail — replace it with your actual domain's aggregates.

Aggregate Boundaries

Aggregates define transactional consistency boundaries. Never load or modify two aggregates in the same transaction (except via sagas/events).

Aggregate Root Owns References by ID only
Task Task Title User (via "created by")
TODO: Root Name TODO: Child Entity, TODO: Value Object TODO: Other Root

State Transitions

Task Status (see the Class Diagram above), as a minimal illustrative example:

Error line 4 in file: /tmp/tmpmzi51pa3.puml
Some diagram description contains errors