我刚刚开始学习数据建模,并希望您对我设计逻辑模型和物理模型的方式有所了解。
问题。
1)一个人可以拥有多个地块
2)地块可由多人拥有
3)人员可以拥有各种类型的土地所有权
--------- Owner ---------
| Land |<--------------->| Person |
--------- Owned by ---------
| |
V V
----------------------------------
| Ownership Type (sole/joint ) |
----------------------------------
土地架构
----------------------------------------
Plot no: | Area sq.meters
----------------------------------------
A1 | 100
A2 | 200
人物架构
----------------------------------------
Person Id | Name
----------------------------------------
1 | Tom
2 | Harry
3 | Jones
所有权类型架构(鞋底/关节)
----------------------------------------
Type | Description<br>
----------------------------------------
Sole | Single owner<br>
Joint - 1 | Joint owner ( first name in the sale deed)
Joint - 2 | Joint owner ( 2nd name in the sale deed)
Joint - 3 | Joint owner ( 3rd name in the sale deed)
Person_Land_Ownership Schema
--------------------------------------------------------
Peson Id | Plot no: | Ownership Type
-------------------------------------------------------
1 | A1 | Sole
2 | A2 | Joint - 1
3 | A2 | Joint - 2
请就上述建模方法提供意见/批评/建议。
答案 0 :(得分:0)
使用抽象。个人延伸抽象的合法政党。一个组织也是如此。
个人:派对
组织:派对
资产属于Party
派对有很多资产