mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-04 17:59:38 +02:00
36 lines
775 B
Plaintext
36 lines
775 B
Plaintext
![]() |
@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
|