原书出处
Domain-Driven Design Tackling Complexity in the Heart of Software
51 原书第07章|Distinguishing Entities and Value Objects
, internal, automatically generated identifier will suffice. Delivery History This is a tricky one.
Delivery Histories are not interchangeable, so they are ENTITIES. But a Delivery History has a one-to-one relationship with its Cargo, so it doesn't really have an identity of its own. Its identity is borrowed from the Cargo that owns it.
This will become clearer when we model the AGGREGATES. Delivery Specification Although it represent
原书定位详情
来源:a19c7933-4eda-4176-aebd-30fe7e1ad292
正文位置:extracted/Domain-Driven Design Tackling Complexity in the Heart of Software/_epub-src/0321125215_ch07lev1sec3.html
EPUB SHA-256:3e81897e8809ae8135b32e0563f9858b3020c5f5128531655f6d8e3a21c679ce