db-migration #10

Merged
hsh-michaelhoennig merged 74 commits from db-migration into master 2024-01-23 15:11:24 +01:00
Showing only changes of commit d03fb70465 - Show all commits

View File

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