mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Add cancelOrder() and getWorkingHours() to order.puml
This commit is contained in:
parent
6d40559ca1
commit
4cf23a50a3
|
@ -24,9 +24,12 @@ package catering.order {
|
|||
class OrderController {
|
||||
+ OrderController()
|
||||
+ initializeCart() : Cart
|
||||
+ addProduct(product : Product, amount : int, cart: Cart)
|
||||
+ buy(cart : Cart, userAccount : UserAccount) : String
|
||||
+ orders(model : Model) : String
|
||||
+ addProductToCart(product : Product, amount : int, cart: Cart)
|
||||
+ complete(cart : Cart, userAccount : UserAccount) : String
|
||||
+ getCompletedOrders(model : Model) : String
|
||||
+ cancelOrder(order : Order) : boolean
|
||||
+ getWorkingHours(employee : Employee) : Map<Day, Hours>
|
||||
+ TODOOO()
|
||||
}
|
||||
|
||||
OrderController --> OrderManager : "-orderManager"
|
||||
|
|
Loading…
Reference in a new issue