mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-06-30 12:43:42 +02:00
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
|