From e51d918ccb992a6136e84e63633f5b2f5c7a95ac Mon Sep 17 00:00:00 2001 From: Felix Chan You Yuan Date: Sat, 23 Mar 2024 22:10:24 +0800 Subject: [PATCH] Update PUML Add Condo, HDB, and Landed classes implementing House interface The PUML diagram needs to include representations of different types of houses to accurately reflect the system's architecture. Added Condo, HDB, and Landed classes to the PUML diagram. These classes implement the House interface, providing a clear structure for different types of housing entities in the system. This approach ensures that the PUML diagram comprehensively represents the system's architecture, making it easier for developers to understand and maintain. --- docs/diagrams/ModelClassDiagram.puml | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/docs/diagrams/ModelClassDiagram.puml b/docs/diagrams/ModelClassDiagram.puml index 29ab889e31d..d4122ad6333 100644 --- a/docs/diagrams/ModelClassDiagram.puml +++ b/docs/diagrams/ModelClassDiagram.puml @@ -26,8 +26,12 @@ Class Block Class Buyer extends Person Class Seller extends Person Class House -Class Landed extends House -Class NonLanded extends House +'Class Landed extends House +'Class NonLanded extends House +Class Condo implements House +Class HDB implements House +Class Landed implements House +Class Budget Class I #FFFFFF } @@ -53,11 +57,11 @@ Person *--> "*" Tag House *--> PostalCode House *--> UnitNumber House *--> Street -Seller *--> House -NonLanded *--> Block -NonLanded *--> Level - - +Seller *--> "1..*" House : sells +Buyer *--> "*" House : buy +Buyer --> Budget +'NonLanded *--> Block +'NonLanded *--> Level Person -[hidden]up--> I