Domain-Model (EN)
ConceptA model of core entities and business rules of an application, independent of technical details
Architecture
A domain model typically shows the relationships between core entities of the business domain:
classDiagram class Kunde { +kundenId: String +name: String +email: String +bestellungen(): Bestellung[] } class Bestellung { +bestellId: String +datum: Date +status: Status +positionen(): Position[] } class Position { +menge: Integer +einzelPreis: Double } class Produkt { +produktId: String +name: String +preis: Double } Kunde "1" -- "0..*" Bestellung : hat Bestellung "1" -- "1..*" Position : enthält Position "*" -- "1" Produkt : referenziert In Context
- Typically used together with DDD (Domain-Driven Design)
- Related to: Entity, Value Object, Repository, Aggregate
- Example use: E-commerce system with customers, orders and products