mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-06-28 02:43:41 +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>
42 lines
991 B
Plaintext
42 lines
991 B
Plaintext
' SPDX-License-Identifier: AGPL-3.0-or-later
|
|
' SPDX-FileCopyrightText: 2023-2024 swt23w23
|
|
@startuml
|
|
skinparam linetype ortho
|
|
skinparam groupInheritance 2
|
|
|
|
package order {
|
|
class OrderController
|
|
|
|
interface CustomOrderRepository {
|
|
+findOrdersByInterval(start: LocalDateTime, finish: LocalDateTime): Streamable<CustomOrder>
|
|
}
|
|
|
|
class CustomCart {
|
|
- start: LocalDateTime
|
|
- finish: LocalDateTime
|
|
}
|
|
|
|
class CustomOrder {
|
|
- start: LocalDateTime
|
|
- finish: LocalDateTime
|
|
}
|
|
|
|
enum OrderType
|
|
}
|
|
|
|
OrderController o--> CustomOrderRepository: -customOrderRepository
|
|
OrderController ..> Salespoint.Product
|
|
|
|
CustomCart o--> staff.Employee: -staff: Set
|
|
CustomCart o--> OrderType: -orderType
|
|
CustomCart .u.> Salespoint.Product
|
|
|
|
CustomOrder o--> staff.Employee: -staff: Set
|
|
CustomOrder o--> OrderType: -orderType
|
|
CustomOrder .u.> Salespoint.Product
|
|
|
|
catalog.Consumable --|> Salespoint.Product
|
|
catalog.Rentable --|> Salespoint.Product
|
|
|
|
@enduml
|