Domain-Driven Design - Value Objects
In Domain-Driven Design a Value Object is an identityless object that represents a property, for example, a name, address, or a date.
Characteristics
- Value Objects are immutable.
- Value Objects don’t have an identity, but they are identified by their value.
- Value Objects can have validation.