Aggregate Object

2019104object collaboration design aggregate is a pattern in domaindriven design ddd aggregate is a cluster of domain objects that can be treated as a single unitn example may be an order and its lineitems, these will be separate objects, but its useful to treat the order together with its line items as a single aggregate.