The Person type has been defined to have two properties with the names "name" and "age."
定义的Person类型有两个属性,名称分别为“name”和“age”。
But now that we have a named type for Person, we could further improve the schema in listing 5 by re-using the Person type within AccountOwner.
但现在我们拥有了一个Person命名类型,我们就可以在AccountOwner中重用Person类型以进一步改进清单5中的架构。
While the end goal of my evolving example is a data management system for storing employee data, I've really focused on developing my Person type.
我将演示的这个例子的最终目标是一个用于存储雇员数据的数据管理系统,我一直致力于开发我的Person类型。
Just in case you're joining the series now, Listing 1 is a recap of the Person type, which is the long-running example-in-progress for the series.
清单1回顾了Person类型,该类型在本系列文章中一直作为示例使用。
While I could model the notion of employment using a field in the Person type, that's a relational approach and doesn't fit well within the object-design scenario.
我会用Person类型中的一个字段来模拟雇佣的概念。这是一种关系方法,而且不太适合用于对象设计。
This version was an assimilative one. There were quite big discrepancies over the book's name, characters' name, person, type and number of words between the Chinese version and the Russian original.
这是一部归化式译作,书名、人名、人称、体裁、字数均与原作有较大的出入。
This version was an assimilative one. There were quite big discrepancies over the book's name, characters' name, person, type and number of words between the Chinese version and the Russian original.
这是一部归化式译作,书名、人名、人称、体裁、字数均与原作有较大的出入。
应用推荐