← 返回卡片

原书出处

Learning Domain-Driven Design

06 应对复杂业务逻辑

First Edition · 核验版本的摘录快照 · 导入于 2026-11-14T06:04:05.295Z

An entity is the opposite of a value object. It requires an explicit identification field to distinguish between the different instances of the entity. A trivial example of an entity is a person. Consider the following class: class Person { public Name Name { get; set; } public Person(Name name) { this.Name = name; }

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

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Learning Domain-Driven Design/_epub-src/OEBPS/ch06.html

EPUB SHA-256:da8d47219d6910f6431498e98b9fadfbdadc1cb0e3004bae825392a2c6abc846