Add cancelOrder() and getWorkingHours() to order.puml

This commit is contained in:
makr912e 2023-11-03 17:02:51 +01:00 committed by Simon Bruder
parent 6d40559ca1
commit 4cf23a50a3
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -24,9 +24,12 @@ package catering.order {
class OrderController { class OrderController {
+ OrderController() + OrderController()
+ initializeCart() : Cart + initializeCart() : Cart
+ addProduct(product : Product, amount : int, cart: Cart) + addProductToCart(product : Product, amount : int, cart: Cart)
+ buy(cart : Cart, userAccount : UserAccount) : String + complete(cart : Cart, userAccount : UserAccount) : String
+ orders(model : Model) : String + getCompletedOrders(model : Model) : String
+ cancelOrder(order : Order) : boolean
+ getWorkingHours(employee : Employee) : Map<Day, Hours>
+ TODOOO()
} }
OrderController --> OrderManager : "-orderManager" OrderController --> OrderManager : "-orderManager"