swt23w23/src/main/asciidoc/models/design/order.puml

36 lines
775 B
Plaintext
Raw Normal View History

2023-11-02 06:33:27 +01:00
@startuml
'maybe for mathis kral since he did videoshop:order-limit'
'maybe for eren since he did videoshop:clickable-cart-item'
'maybe for erik since he did videoshop:cart-remove'
skinparam linetype ortho
skinparam groupInheritance 2
package Spring {
interface Model
}
package Salespoint {
class Cart
class Cash
class Order
class Product
class Quantity
class UserAccount
enum OrderStatus
}
package catering.catalog {
class Product
}
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
}
}
@enduml