3 Ways to Model Relationships in a Domain
Let’s assume we need a Domain Model and can’t create our application with basic CRUD actions and data containers. Let’s further assume we have a Box
Entity which can contain many Item
n. Item
is an Entity, too, because its attributes may change over time, so a Value Object won’t do.