Files
Hosting-Backoffice/architecture/data-model-v0.2-direction.md
2026-05-18 04:37:23 +00:00

1.4 KiB

Data Model v0.2 — Korrekturrichtung

Zweck

Dieses Dokument beschreibt die Richtung für das überarbeitete Datenmodell v0.2.

Hauptänderungen gegenüber v0.1

  • organisation_id wird entfernt bzw. nicht standardmäßig verwendet
  • tenant_id wird zentrale Mandantenreferenz
  • anbieter-spezifische Felder werden entfernt
  • External References werden eingeführt
  • Kunde wird in Customer / Party / Address / ContactPoint aufgeteilt
  • Billing wird eigene Domäne
  • Core wird fachlich verkleinert

Zentrale Tabellenbereiche

Core

  • tenants
  • users
  • roles
  • permissions
  • module_registry
  • audit_logs
  • settings
  • external_references
  • secrets_references

Customer Module

  • customers
  • parties
  • addresses
  • contact_points
  • customer_contacts

Contract Module

  • contracts
  • contract_items
  • contract_status_history

Product Module

  • products
  • product_prices
  • product_tax_metadata

Domain Module

  • domains
  • domain_status_history
  • registrar_accounts

Hosting Module

  • hosting_packages
  • servers
  • hosting_assignments
  • hosting_status_history

Billing Module

  • invoice_references
  • payment_references
  • billing_accounts
  • payment_methods

Ticket Module

  • tickets
  • ticket_messages
  • ticket_notes
  • ticket_status_history

Document Module

  • documents
  • document_hashes
  • document_links

Wichtig

Dieses Dokument ist noch kein vollständiges ER-Modell.

Nächster Schritt:

  • ER-Modell mit Beziehungen und Kardinalitäten erstellen.