mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-06-28 02:23:42 +02:00
Co-authored-by: Denis Natusch <denis.natusch@mailbox.tu-dresden.de> Co-authored-by: Mathis Kral <mathis_tiberius.kral@mailbox.tu-dresden.de> Co-authored-by: Theo Reichert <theo.reichert@mailbox.tu-dresden.de>
57 lines
1.1 KiB
Plaintext
57 lines
1.1 KiB
Plaintext
' SPDX-License-Identifier: AGPL-3.0-or-later
|
|
' SPDX-FileCopyrightText: 2023-2024 swt23w23
|
|
@startuml
|
|
skinparam linetype ortho
|
|
|
|
package catering {
|
|
|
|
class Mitarbeiter
|
|
|
|
class Inventar
|
|
class Verbrauchsmaterial {
|
|
Einkaufspreis
|
|
UVP
|
|
Sonderpreis [0..1]
|
|
}
|
|
class Leihmaterial
|
|
|
|
abstract class Auftrag {
|
|
Start
|
|
Ende
|
|
}
|
|
|
|
enum AuftragsStatus {
|
|
GEPLANT
|
|
BEENDET
|
|
ABGESAGT
|
|
}
|
|
|
|
together {
|
|
class Eventcatering
|
|
class RentACook
|
|
class PartyService
|
|
class MobileBreakfast
|
|
}
|
|
class VollEventcatering
|
|
|
|
Inventar "1" o-l- "*" Verbrauchsmaterial
|
|
Inventar "1" o-l- "*" Leihmaterial
|
|
|
|
Auftrag <|-- Eventcatering
|
|
Auftrag <|-- RentACook
|
|
Auftrag <|-- PartyService
|
|
Auftrag <|-- MobileBreakfast
|
|
Eventcatering <|-- VollEventcatering
|
|
|
|
Auftrag "*" -- "1..*" Mitarbeiter : arbeitet an <
|
|
Auftrag "*" -r- "1" AuftragsStatus : hat Status >
|
|
|
|
AuftragsStatus -[hidden]- PartyService
|
|
|
|
VollEventcatering "*" -- "1..*" Leihmaterial : benutzt >
|
|
Eventcatering "*" -- "1..*" Verbrauchsmaterial : verbraucht >
|
|
PartyService "*" -- "1..*" Verbrauchsmaterial : verbraucht >
|
|
MobileBreakfast "*" -- "1..*" Verbrauchsmaterial : verbraucht >
|
|
|
|
@enduml
|