2024-01-17 18:25:35 +01:00
|
|
|
# Beispiel: juristische Person (GmbH)
|
|
|
|
|
2024-01-15 16:58:07 +01:00
|
|
|
```mermaid
|
2024-01-16 18:44:01 +01:00
|
|
|
classDiagram
|
2024-01-17 18:25:35 +01:00
|
|
|
direction TD
|
2024-01-15 16:58:07 +01:00
|
|
|
|
2024-01-20 13:09:41 +01:00
|
|
|
namespace Hostsharing {
|
|
|
|
class person-HostsharingEG
|
|
|
|
}
|
|
|
|
|
2024-01-18 13:57:46 +01:00
|
|
|
namespace Partner {
|
2024-01-20 13:09:41 +01:00
|
|
|
class partner-MeierGmbH
|
|
|
|
class role-MeierGmbH
|
|
|
|
class personDetails-MeierGmbH
|
|
|
|
class contactData-MeierGmbH
|
|
|
|
class person-MeierGmbH
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Representatives {
|
|
|
|
class person-FrankMeier
|
|
|
|
class contactData-FrankMeier
|
|
|
|
class role-MeierGmbH-FrankMeier
|
|
|
|
}
|
|
|
|
|
|
|
|
namespace Debitors {
|
2024-01-17 18:25:35 +01:00
|
|
|
class debitor-MeierGmbH
|
2024-01-18 13:57:46 +01:00
|
|
|
class contactData-MeierGmbH-Buha
|
2024-01-17 18:25:35 +01:00
|
|
|
class role-MeierGmbH-Buha
|
|
|
|
}
|
|
|
|
|
2024-01-20 13:09:41 +01:00
|
|
|
namespace Operations {
|
|
|
|
class person-SabineMeier
|
|
|
|
class contactData-SabineMeier
|
|
|
|
class role-MeierGmbH-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]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
class person-HostsharingEG {
|
|
|
|
+personType: LEGAL
|
|
|
|
+tradeName: Hostsahring eG
|
|
|
|
+familyName
|
|
|
|
+givenName
|
|
|
|
}
|
|
|
|
|
2024-01-16 18:44:01 +01:00
|
|
|
class partner-MeierGmbH {
|
2024-01-20 13:09:41 +01:00
|
|
|
+Numeric partnerNumber: 12345
|
|
|
|
+Role partnerRole
|
2024-01-16 18:44:01 +01:00
|
|
|
}
|
2024-01-20 13:09:41 +01:00
|
|
|
partner-MeierGmbH o-- role-MeierGmbH
|
2024-01-15 16:58:07 +01:00
|
|
|
|
2024-01-17 18:25:35 +01:00
|
|
|
class person-MeierGmbH {
|
|
|
|
+personType: LEGAL
|
|
|
|
+tradeName: Meier GmbH
|
|
|
|
+familyName
|
|
|
|
+givenName
|
2024-01-18 13:57:46 +01:00
|
|
|
}
|
2024-01-20 13:09:41 +01:00
|
|
|
person-MeierGmbH *-- personDetails-MeierGmbH
|
2024-01-18 13:57:46 +01:00
|
|
|
|
|
|
|
class personDetails-MeierGmbH {
|
2024-01-17 18:25:35 +01:00
|
|
|
+registrationOffice: AG Hamburg
|
|
|
|
+registrationNumber: ABC123434
|
2024-01-16 18:44:01 +01:00
|
|
|
+birthName
|
2024-01-17 18:25:35 +01:00
|
|
|
+birthPlace
|
2024-01-16 18:44:01 +01:00
|
|
|
+dateOfDeath
|
|
|
|
}
|
|
|
|
|
2024-01-18 13:57:46 +01:00
|
|
|
class contactData-MeierGmbH {
|
2024-01-16 18:44:01 +01:00
|
|
|
+postalAddress: Hauptstraße 5, 22345 Hamburg
|
|
|
|
+phoneNumbers: +49 40 12345-00
|
|
|
|
+emailAddresses: office@meier-gmbh.de
|
|
|
|
}
|
|
|
|
|
2024-01-20 13:09:41 +01:00
|
|
|
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 ---
|
|
|
|
|
2024-01-16 18:44:01 +01:00
|
|
|
class debitor-MeierGmbH {
|
|
|
|
+Partner partner
|
2024-01-17 18:25:35 +01:00
|
|
|
+Numeric[2] debitorNumberSuffix: 00
|
|
|
|
+Role billingRole
|
2024-01-16 18:44:01 +01:00
|
|
|
+boolean billable: true
|
|
|
|
+String vatId: ID123456789
|
|
|
|
+String vatCountryCode: DE
|
|
|
|
+boolean vatBusiness: true
|
|
|
|
+boolean vatReverseCharge: false
|
|
|
|
+BankAccount refundBankAccount
|
|
|
|
+String defaultPrefix: mei
|
|
|
|
}
|
|
|
|
debitor-MeierGmbH o-- partner-MeierGmbH
|
2024-01-18 13:57:46 +01:00
|
|
|
debitor-MeierGmbH *-- role-MeierGmbH-Buha
|
2024-01-17 18:25:35 +01:00
|
|
|
|
2024-01-18 13:57:46 +01:00
|
|
|
class contactData-MeierGmbH-Buha {
|
2024-01-16 18:44:01 +01:00
|
|
|
+postalAddress: Hauptstraße 5, 22345 Hamburg
|
|
|
|
+phoneNumbers: +49 40 12345-05
|
|
|
|
+emailAddresses: buha@meier-gmbh.de
|
|
|
|
}
|
|
|
|
|
2024-01-17 18:25:35 +01:00
|
|
|
class role-MeierGmbH-Buha {
|
2024-01-18 13:57:46 +01:00
|
|
|
+RoleType RoleType ACCOUNTING
|
|
|
|
+Person anchor
|
|
|
|
+Person holder
|
|
|
|
+Contact roleContact
|
2024-01-17 18:25:35 +01:00
|
|
|
}
|
2024-01-18 13:57:46 +01:00
|
|
|
role-MeierGmbH-Buha o-- person-MeierGmbH : anchor
|
|
|
|
role-MeierGmbH-Buha o-- person-MeierGmbH : holder
|
|
|
|
role-MeierGmbH-Buha o-- contactData-MeierGmbH-Buha
|
2024-01-17 18:25:35 +01:00
|
|
|
|
2024-01-20 13:09:41 +01:00
|
|
|
%% --- Representatives ---
|
|
|
|
|
2024-01-16 18:44:01 +01:00
|
|
|
class person-FrankMeier {
|
|
|
|
+ personType: NATURAL
|
|
|
|
+ tradeName
|
|
|
|
+ familyName: Meier
|
|
|
|
+ givenName: Frank
|
|
|
|
}
|
|
|
|
|
2024-01-18 13:57:46 +01:00
|
|
|
class contactData-FrankMeier {
|
2024-01-16 18:44:01 +01:00
|
|
|
+postalAddress
|
|
|
|
+phoneNumbers: +49 40 12345-22
|
2024-01-17 18:25:35 +01:00
|
|
|
+emailAddresses: frank.meier@meier-gmbh.de
|
2024-01-16 18:44:01 +01:00
|
|
|
}
|
|
|
|
|
2024-01-17 18:25:35 +01:00
|
|
|
class role-MeierGmbH-FrankMeier {
|
2024-01-18 13:57:46 +01:00
|
|
|
+RoleType RoleType REPRESENTATIVE
|
|
|
|
+Person anchor
|
|
|
|
+Person holder
|
|
|
|
+Contact roleContact
|
2024-01-16 18:44:01 +01:00
|
|
|
}
|
2024-01-18 13:57:46 +01:00
|
|
|
role-MeierGmbH-FrankMeier o-- person-MeierGmbH : anchor
|
|
|
|
role-MeierGmbH-FrankMeier o-- person-FrankMeier : holder
|
|
|
|
role-MeierGmbH-FrankMeier o-- contactData-FrankMeier
|
2024-01-16 18:44:01 +01:00
|
|
|
|
2024-01-20 13:09:41 +01:00
|
|
|
%% --- Operations ---
|
|
|
|
|
2024-01-16 18:44:01 +01:00
|
|
|
class person-SabineMeier {
|
|
|
|
+personType: NATURAL
|
|
|
|
+tradeName
|
|
|
|
+familyName: Meier
|
|
|
|
+givenName: Sabine
|
|
|
|
}
|
|
|
|
|
2024-01-18 13:57:46 +01:00
|
|
|
class contactData-SabineMeier {
|
2024-01-16 18:44:01 +01:00
|
|
|
+postalAddress
|
|
|
|
+phoneNumbers: +49 40 12345-22
|
|
|
|
+emailAddresses: sabine.meier@meier-gmbh.de
|
|
|
|
}
|
|
|
|
|
2024-01-17 18:25:35 +01:00
|
|
|
class role-MeierGmbH-SabineMeier {
|
2024-01-18 13:57:46 +01:00
|
|
|
+RoleType RoleType OPERATIONAL
|
|
|
|
+Person anchor
|
|
|
|
+Person holder
|
|
|
|
+Contact roleContact
|
2024-01-16 18:44:01 +01:00
|
|
|
}
|
2024-01-18 13:57:46 +01:00
|
|
|
role-MeierGmbH-SabineMeier o-- person-MeierGmbH : anchor
|
|
|
|
role-MeierGmbH-SabineMeier o-- person-SabineMeier : holder
|
|
|
|
role-MeierGmbH-SabineMeier o-- contactData-SabineMeier
|
2024-01-16 18:44:01 +01:00
|
|
|
|
2024-01-15 16:58:07 +01:00
|
|
|
```
|