Slide 17
Slide 17 text
Доменные сущности
1) Entity - an object that is not defined by its attributes, but rather by a thread of continuity and
its identity
2) Value Object - An object that contains attributes but has no conceptual identity. Should be
treated as Immutable.
3) Aggregate - A collection of objects that are bound together by a root entity, otherwise known
as an aggregate root.
4) Service - implements domain logic when it can’t be done in object.
5) Repository - is an abstraction over persistence store, returning entities or aggregate roots,
meeting some criteria
6) Factory - methods for creating domain objects.
7) Domain events