← 返回卡片

原书出处

Domain-Driven Design Tackling Complexity in the Heart of Software

51 原书第07章|Distinguishing Entities and Value Objects

核验版本的摘录快照 · 导入于 2026-11-14T03:12:56.392Z

ng on. They reflect real-world events, which are not usually interchangeable, so they are ENTITIES.

Each Carrier Movement will be identified by a code obtained from a shipping schedule. Another discussion with a domain expert reveals that Handling Events can be uniquely identified by the combination of Cargo ID, completion time, and type.

For example, the same Cargo cannot be both loaded and unloaded at the same time. Location Two place

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源: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