知识卡片

普通读书笔记卡 · 1971.o.1.b.4.d.1.c.1.a.3.a

客户身份衔接既有编号

理解等级:中级

原书假设的货运公司已有客户库,首次销售接触时给 Customer 分配编号,且全公司使用。新系统若沿用该编号,客户实体可跨系统保持身份连续;用税号等看似自然的标识前,应先问领域专家,尤其国际公司可能不适用单一税号。原书本阶段拟手工录入编号,这只是案例实施设定。参见[[标识符须对应业务身份]]。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Domain-Driven Design: Tackling Complexity in the Heart of Software》第51章《原书第07章|Distinguishing Entities and Value Objects》(源文件:_epub-src/0321125215_ch07lev1sec3.html) - 结论依据:原文从 Customer 的领域身份出发,否定未经验证的税号选择,并通过与业务人员讨论发现已有客户编号及跨系统连续性。 - 原始内容:Tax ID might be appropriate in some cases, but an international company could not use that. ... This ID is already used throughout the company; using the number in our software will establish continuity of identity between those systems. It will initially be a manual entry.