From 44209899eca00b8c472b1d9ddeb238202c92b6c7 Mon Sep 17 00:00:00 2001 From: Marcella Date: Fri, 4 Jul 2025 07:43:15 -0300 Subject: [PATCH 1/2] Adicionado as Classes e Interfaces --- case-study/suits/model/suits-markdown.md | 72 ++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 case-study/suits/model/suits-markdown.md diff --git a/case-study/suits/model/suits-markdown.md b/case-study/suits/model/suits-markdown.md new file mode 100644 index 0000000..9631ef7 --- /dev/null +++ b/case-study/suits/model/suits-markdown.md @@ -0,0 +1,72 @@ +```mermaid + +classDiagram + class Person { + -name String + -surname String + -gender String + -job TypeJob + } + + class Attorney{ + + } + + class COO{ + + } + + class Firm{ + -name String + -foundation LocalDate + +listEmployes () String + +info() String + } + + class Law{ + -insuranceQuote String + -govApprovement String + +info() String + + } + + class NamePartner{ + + } + + class Secretary{ + +organizing() void + +prepare(String doc) void + } + + class Tech { + -nonDisclosure String + -ipAdress String + +info() String + } + + class TypeJob{ + <> + } + class I_Lawyer{ + <> + +representClients() void + +research() void + +analysis(String doc) void + +fileDocument(String type) void + } + + class I_OperatingOfficer{ + <> + +supportExecutives() void + +developPolicies() void + +coordinate() void + } + + class I_Partner{ + <> + +decisionMaking() void + +profitRevenue() void + } + + From 1f893e0736c0b1603ae21aefc20173651852580b Mon Sep 17 00:00:00 2001 From: Marcella Date: Mon, 7 Jul 2025 15:44:17 -0300 Subject: [PATCH 2/2] =?UTF-8?q?Adicionado=20os=20Relacionamentos,=20multip?= =?UTF-8?q?licidade=20e=20reorganizado=20o=20c=C3=B3digo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- case-study/suits/model/suits-markdown.md | 88 +++++++++++++++--------- 1 file changed, 54 insertions(+), 34 deletions(-) diff --git a/case-study/suits/model/suits-markdown.md b/case-study/suits/model/suits-markdown.md index 9631ef7..a0e1f05 100644 --- a/case-study/suits/model/suits-markdown.md +++ b/case-study/suits/model/suits-markdown.md @@ -1,6 +1,30 @@ ```mermaid classDiagram + Direction TB + class I_Lawyer{ + <> + +representClients() void + +research() void + +analysis(String doc) void + +fileDocument(String type) void + } + + class I_OperatingOfficer{ + <> + +supportExecutives() void + +developPolicies() void + +coordinate() void + } + + class I_Partner{ + <> + +decisionMaking() void + +profitRevenue() void + } + class TypeJob{ + <> + } class Person { -name String -surname String @@ -8,14 +32,6 @@ classDiagram -job TypeJob } - class Attorney{ - - } - - class COO{ - - } - class Firm{ -name String -foundation LocalDate @@ -28,6 +44,18 @@ classDiagram -govApprovement String +info() String + } + class Tech { + -nonDisclosure String + -ipAdress String + +info() String + } + class Attorney{ + -legalNumber int + } + + class COO{ + } class NamePartner{ @@ -39,34 +67,26 @@ classDiagram +prepare(String doc) void } - class Tech { - -nonDisclosure String - -ipAdress String - +info() String - } + TypeJob <|-- Attorney + TypeJob <|-- Secretary + + Firm <|-- Law + Firm <|-- Tech + + I_Lawyer <.. Attorney + I_OperatingOfficer <.. COO + I_Partner <.. COO + I_Partner <.. NamePartner + + Secretary <|-- COO + Attorney <|-- NamePartner + + Person "1" -- "*" Firm : -employeers ArrayList < Person> + Person -- TypeJob + + - class TypeJob{ - <> - } - class I_Lawyer{ - <> - +representClients() void - +research() void - +analysis(String doc) void - +fileDocument(String type) void - } - class I_OperatingOfficer{ - <> - +supportExecutives() void - +developPolicies() void - +coordinate() void - } - class I_Partner{ - <> - +decisionMaking() void - +profitRevenue() void - }