db-migration #10
@ -4,31 +4,69 @@
|
|||||||
classDiagram
|
classDiagram
|
||||||
direction TD
|
direction TD
|
||||||
|
|
||||||
|
namespace Hostsharing {
|
||||||
|
class person-HostsharingEG
|
||||||
|
}
|
||||||
|
|
||||||
namespace Partner {
|
namespace Partner {
|
||||||
|
class partner-MeierGmbH
|
||||||
|
class role-MeierGmbH
|
||||||
|
class personDetails-MeierGmbH
|
||||||
|
class contactData-MeierGmbH
|
||||||
|
class person-MeierGmbH
|
||||||
|
}
|
||||||
|
|
||||||
class partner-MeierGmbH
|
namespace Representatives {
|
||||||
class personDetails-MeierGmbH
|
class person-FrankMeier
|
||||||
class contactData-MeierGmbH
|
class contactData-FrankMeier
|
||||||
class person-MeierGmbH
|
class role-MeierGmbH-FrankMeier
|
||||||
|
}
|
||||||
class person-FrankMeier
|
|
||||||
class contactData-FrankMeier
|
|
||||||
class role-MeierGmbH-FrankMeier
|
|
||||||
|
|
||||||
class person-SabineMeier
|
|
||||||
class contactData-SabineMeier
|
|
||||||
class role-MeierGmbH-SabineMeier
|
|
||||||
|
|
||||||
|
namespace Debitors {
|
||||||
class debitor-MeierGmbH
|
class debitor-MeierGmbH
|
||||||
class contactData-MeierGmbH-Buha
|
class contactData-MeierGmbH-Buha
|
||||||
class role-MeierGmbH-Buha
|
class role-MeierGmbH-Buha
|
||||||
}
|
}
|
||||||
|
|
||||||
class partner-MeierGmbH {
|
namespace Operations {
|
||||||
+partnerNumber: 12345
|
class person-SabineMeier
|
||||||
+person
|
class contactData-SabineMeier
|
||||||
|
class role-MeierGmbH-SabineMeier
|
||||||
}
|
}
|
||||||
partner-MeierGmbH o-- person-MeierGmbH
|
|
||||||
|
namespace Enums {
|
||||||
|
|
||||||
|
class RoleType {
|
||||||
|
<<enumeration>>
|
||||||
|
UNKNOWN
|
||||||
|
REPRESENTATIVE
|
||||||
|
ACCOUNTING
|
||||||
|
OPERATIONS
|
||||||
|
}
|
||||||
|
|
||||||
|
class PersonType {
|
||||||
|
<<enumeration>>
|
||||||
|
UNKNOWN: nur für Import
|
||||||
|
NATURAL_PERSON: natürliche Person
|
||||||
|
LEGAL_PERSON: z.B. GmbH, e.K., eG, e.V.
|
||||||
|
INCORORATED_FIRM: z.B. OHG, Partnerschaftsgesellschaft
|
||||||
|
UNINCORPORATED_FIRM: z.B. GbR, ARGE, Erbengemeinschaft
|
||||||
|
PUBLIC_INSTITUTION: KdöR, AöR [ohne Registergericht/Registernummer]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
class person-HostsharingEG {
|
||||||
|
+personType: LEGAL
|
||||||
|
+tradeName: Hostsahring eG
|
||||||
|
+familyName
|
||||||
|
+givenName
|
||||||
|
}
|
||||||
|
|
||||||
|
class partner-MeierGmbH {
|
||||||
|
+Numeric partnerNumber: 12345
|
||||||
|
+Role partnerRole
|
||||||
|
}
|
||||||
|
partner-MeierGmbH o-- role-MeierGmbH
|
||||||
|
|
||||||
class person-MeierGmbH {
|
class person-MeierGmbH {
|
||||||
+personType: LEGAL
|
+personType: LEGAL
|
||||||
@ -36,17 +74,15 @@ classDiagram
|
|||||||
+familyName
|
+familyName
|
||||||
+givenName
|
+givenName
|
||||||
}
|
}
|
||||||
person-MeierGmbH *-- personDetails-MeierGmbH : optiona
|
person-MeierGmbH *-- personDetails-MeierGmbH
|
||||||
|
|
||||||
class personDetails-MeierGmbH {
|
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 contactData-MeierGmbH {
|
class contactData-MeierGmbH {
|
||||||
+postalAddress: Hauptstraße 5, 22345 Hamburg
|
+postalAddress: Hauptstraße 5, 22345 Hamburg
|
||||||
@ -54,6 +90,18 @@ classDiagram
|
|||||||
+emailAddresses: office@meier-gmbh.de
|
+emailAddresses: office@meier-gmbh.de
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class role-MeierGmbH {
|
||||||
|
+RoleType RoleType PARTNER
|
||||||
|
+Person anchor
|
||||||
|
+Person holder
|
||||||
|
+Contact roleContact
|
||||||
|
}
|
||||||
|
role-MeierGmbH o-- person-HostsharingEG : anchor
|
||||||
|
role-MeierGmbH o-- person-MeierGmbH : holder
|
||||||
|
role-MeierGmbH o-- contactData-MeierGmbH
|
||||||
|
|
||||||
|
%% --- Debitors ---
|
||||||
|
|
||||||
class debitor-MeierGmbH {
|
class debitor-MeierGmbH {
|
||||||
+Partner partner
|
+Partner partner
|
||||||
+Numeric[2] debitorNumberSuffix: 00
|
+Numeric[2] debitorNumberSuffix: 00
|
||||||
@ -85,6 +133,8 @@ classDiagram
|
|||||||
role-MeierGmbH-Buha o-- person-MeierGmbH : holder
|
role-MeierGmbH-Buha o-- person-MeierGmbH : holder
|
||||||
role-MeierGmbH-Buha o-- contactData-MeierGmbH-Buha
|
role-MeierGmbH-Buha o-- contactData-MeierGmbH-Buha
|
||||||
|
|
||||||
|
%% --- Representatives ---
|
||||||
|
|
||||||
class person-FrankMeier {
|
class person-FrankMeier {
|
||||||
+ personType: NATURAL
|
+ personType: NATURAL
|
||||||
+ tradeName
|
+ tradeName
|
||||||
@ -108,6 +158,8 @@ classDiagram
|
|||||||
role-MeierGmbH-FrankMeier o-- person-FrankMeier : holder
|
role-MeierGmbH-FrankMeier o-- person-FrankMeier : holder
|
||||||
role-MeierGmbH-FrankMeier o-- contactData-FrankMeier
|
role-MeierGmbH-FrankMeier o-- contactData-FrankMeier
|
||||||
|
|
||||||
|
%% --- Operations ---
|
||||||
|
|
||||||
class person-SabineMeier {
|
class person-SabineMeier {
|
||||||
+personType: NATURAL
|
+personType: NATURAL
|
||||||
+tradeName
|
+tradeName
|
||||||
@ -131,25 +183,4 @@ classDiagram
|
|||||||
role-MeierGmbH-SabineMeier o-- person-SabineMeier : holder
|
role-MeierGmbH-SabineMeier o-- person-SabineMeier : holder
|
||||||
role-MeierGmbH-SabineMeier o-- contactData-SabineMeier
|
role-MeierGmbH-SabineMeier o-- contactData-SabineMeier
|
||||||
|
|
||||||
namespace Enums {
|
|
||||||
|
|
||||||
class RoleType {
|
|
||||||
<<enumeration>>
|
|
||||||
UNKNOWN
|
|
||||||
REPRESENTATIVE
|
|
||||||
ACCOUNTING
|
|
||||||
OPERATIONS
|
|
||||||
}
|
|
||||||
|
|
||||||
class PersonType {
|
|
||||||
<<enumeration>>
|
|
||||||
UNKNOWN: nur für Import
|
|
||||||
NATURAL_PERSON: natürliche Person
|
|
||||||
LEGAL_PERSON: z.B. GmbH, e.K., eG, e.V.
|
|
||||||
INCORORATED_FIRM: z.B. OHG, Partnerschaftsgesellschaft
|
|
||||||
UNINCORPORATED_FIRM: z.B. GbR, ARGE, Erbengemeinschaft
|
|
||||||
PUBLIC_INSTITUTION: KdöR, AöR [ohne Registergericht/Registernummer]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user