UML object diagram for new target data model for business partners

This commit is contained in:
Michael Hoennig 2024-01-18 13:57:46 +01:00
parent 31141ad4c3
commit d03fb70465

View File

@ -4,46 +4,51 @@
classDiagram
direction TD
namespace Geschäftspartner {
namespace Partner {
class partner-MeierGmbH
class contact-MeierGmbH
class personDetails-MeierGmbH
class contactData-MeierGmbH
class person-MeierGmbH
class person-FrankMeier
class contact-FrankMeier
class contactData-FrankMeier
class role-MeierGmbH-FrankMeier
class person-SabineMeier
class contact-SabineMeier
class contactData-SabineMeier
class role-MeierGmbH-SabineMeier
class debitor-MeierGmbH
class contact-MeierGmbH-Buha
class contactData-MeierGmbH-Buha
class role-MeierGmbH-Buha
}
class partner-MeierGmbH {
+partnerNumber: 12345
+person
+contact
+details
}
partner-MeierGmbH o-- person-MeierGmbH
partner-MeierGmbH o-- contact-MeierGmbH
class person-MeierGmbH {
+personType: LEGAL
+tradeName: Meier GmbH
+familyName
+givenName
}
person-MeierGmbH *-- personDetails-MeierGmbH : optiona
class personDetails-MeierGmbH {
+personContact
+registrationOffice: AG Hamburg
+registrationNumber: ABC123434
+birthName
+birthPlace
+dateOfDeath
}
personDetails-MeierGmbH o-- contactData-MeierGmbH
class contact-MeierGmbH {
class contactData-MeierGmbH {
+postalAddress: Hauptstraße 5, 22345 Hamburg
+phoneNumbers: +49 40 12345-00
+emailAddresses: office@meier-gmbh.de
@ -62,23 +67,23 @@ classDiagram
+String defaultPrefix: mei
}
debitor-MeierGmbH o-- partner-MeierGmbH
debitor-MeierGmbH o-- role-MeierGmbH-Buha
debitor-MeierGmbH *-- role-MeierGmbH-Buha
class contact-MeierGmbH-Buha {
class contactData-MeierGmbH-Buha {
+postalAddress: Hauptstraße 5, 22345 Hamburg
+phoneNumbers: +49 40 12345-05
+emailAddresses: buha@meier-gmbh.de
}
class role-MeierGmbH-Buha {
+RelType relType ACCOUNTING
+Person relAnchor
+Person relHolder
+Contact contact
+RoleType RoleType ACCOUNTING
+Person anchor
+Person holder
+Contact roleContact
}
role-MeierGmbH-Buha o-- person-MeierGmbH : relAnchor
role-MeierGmbH-Buha o-- person-MeierGmbH : relHolder
role-MeierGmbH-Buha o-- contact-MeierGmbH-Buha
role-MeierGmbH-Buha o-- person-MeierGmbH : anchor
role-MeierGmbH-Buha o-- person-MeierGmbH : holder
role-MeierGmbH-Buha o-- contactData-MeierGmbH-Buha
class person-FrankMeier {
+ personType: NATURAL
@ -87,21 +92,21 @@ classDiagram
+ givenName: Frank
}
class contact-FrankMeier {
class contactData-FrankMeier {
+postalAddress
+phoneNumbers: +49 40 12345-22
+emailAddresses: frank.meier@meier-gmbh.de
}
class role-MeierGmbH-FrankMeier {
+RelType relType REPRESENTATIVE
+Person relAnchor
+Person relHolder
+Contact contact
+RoleType RoleType REPRESENTATIVE
+Person anchor
+Person holder
+Contact roleContact
}
role-MeierGmbH-FrankMeier o-- person-MeierGmbH : relAnchor
role-MeierGmbH-FrankMeier o-- person-FrankMeier : relHolder
role-MeierGmbH-FrankMeier o-- contact-FrankMeier
role-MeierGmbH-FrankMeier o-- person-MeierGmbH : anchor
role-MeierGmbH-FrankMeier o-- person-FrankMeier : holder
role-MeierGmbH-FrankMeier o-- contactData-FrankMeier
class person-SabineMeier {
+personType: NATURAL
@ -110,25 +115,25 @@ classDiagram
+givenName: Sabine
}
class contact-SabineMeier {
class contactData-SabineMeier {
+postalAddress
+phoneNumbers: +49 40 12345-22
+emailAddresses: sabine.meier@meier-gmbh.de
}
class role-MeierGmbH-SabineMeier {
+RelType relType OPERATIONAL
+Person relAnchor
+Person relHolder
+Contact contact
+RoleType RoleType OPERATIONAL
+Person anchor
+Person holder
+Contact roleContact
}
role-MeierGmbH-SabineMeier o-- person-MeierGmbH : relAnchor
role-MeierGmbH-SabineMeier o-- person-SabineMeier : relHolder
role-MeierGmbH-SabineMeier o-- contact-SabineMeier
role-MeierGmbH-SabineMeier o-- person-MeierGmbH : anchor
role-MeierGmbH-SabineMeier o-- person-SabineMeier : holder
role-MeierGmbH-SabineMeier o-- contactData-SabineMeier
namespace Enums {
class RelType {
class RoleType {
<<enumeration>>
UNKNOWN
REPRESENTATIVE