This is one of the building blocks of Domain Model Pattern and they are composed of entities and value objects. The main goal of aggregates is to protect the data consistency and enforce boundaries between different
The goal of aggregates is to protect the consistency of data by enforcing the boundary consistency. They are composed of
Aggregates validate all incoming modifications and ensuring that changes do not contradict its business rules. Modifications only happen within aggregates and