mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Remove multi-product proposal
This commit is contained in:
parent
3d56b0d575
commit
6d40559ca1
|
@ -19,27 +19,6 @@ package Salespoint {
|
||||||
enum OrderStatus
|
enum OrderStatus
|
||||||
}
|
}
|
||||||
|
|
||||||
package catering.catalog {
|
|
||||||
class Consumable
|
|
||||||
class Rentable
|
|
||||||
|
|
||||||
class MultiProduct {
|
|
||||||
+ getPrice()
|
|
||||||
}
|
|
||||||
|
|
||||||
class Employee {
|
|
||||||
+ getMaxHours()
|
|
||||||
+ getSalaryPerHour()
|
|
||||||
}
|
|
||||||
note "this could work" as myNote
|
|
||||||
|
|
||||||
MultiProduct -up-|> Salespoint.Product
|
|
||||||
MultiProduct "1" o-- "*" Employee
|
|
||||||
MultiProduct "1" o-- "*" Consumable
|
|
||||||
MultiProduct "1" o-- "*" Rentable
|
|
||||||
|
|
||||||
myNote .- Employee
|
|
||||||
}
|
|
||||||
|
|
||||||
package catering.order {
|
package catering.order {
|
||||||
class OrderController {
|
class OrderController {
|
||||||
|
@ -58,7 +37,7 @@ package catering.order {
|
||||||
OrderController ..> Cash
|
OrderController ..> Cash
|
||||||
OrderController ..> Quantity
|
OrderController ..> Quantity
|
||||||
OrderController ..> Cart
|
OrderController ..> Cart
|
||||||
OrderController ...> catering.catalog.MultiProduct
|
OrderController ...> Salespoint.Product
|
||||||
}
|
}
|
||||||
|
|
||||||
@enduml
|
@enduml
|
BIN
src/main/asciidoc/models/design/order.svg
(Stored with Git LFS)
BIN
src/main/asciidoc/models/design/order.svg
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue