swt23w23/src/main/tex/final-presentation/figures/puml/order.puml

42 lines
991 B
Plaintext
Raw Normal View History

' 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