Fragment

DDD - Value objects

These are objects that have structural equality, thus are interchangeable when attributes contain the same values. For instance, money or addresses always follow the same structure, but might be bound to multiple domains.

Whenever we cannot infer equality by structure, we probably have DDD - Entities in our hands, since those are defined by inherent identity.

Resources to understand this better:
(Khorikov, 2016)