mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Improve proposal on multiProduct
This commit is contained in:
parent
cace8cda4a
commit
3d56b0d575
|
@ -27,19 +27,17 @@ package catering.catalog {
|
||||||
+ getPrice()
|
+ getPrice()
|
||||||
}
|
}
|
||||||
|
|
||||||
class customProduct
|
|
||||||
class Employee {
|
class Employee {
|
||||||
+ getMaxHours()
|
+ getMaxHours()
|
||||||
+ getSalaryPerHour()
|
+ getSalaryPerHour()
|
||||||
}
|
}
|
||||||
note "this could work" as myNote
|
note "this could work" as myNote
|
||||||
|
|
||||||
MultiProduct --|> Salespoint.Product
|
MultiProduct -up-|> Salespoint.Product
|
||||||
MultiProduct "1" o-- "*" customProduct
|
MultiProduct "1" o-- "*" Employee
|
||||||
|
MultiProduct "1" o-- "*" Consumable
|
||||||
|
MultiProduct "1" o-- "*" Rentable
|
||||||
|
|
||||||
customProduct ..> Consumable
|
|
||||||
customProduct ..> Rentable
|
|
||||||
customProduct ..> Employee
|
|
||||||
myNote .- Employee
|
myNote .- Employee
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +58,7 @@ package catering.order {
|
||||||
OrderController ..> Cash
|
OrderController ..> Cash
|
||||||
OrderController ..> Quantity
|
OrderController ..> Quantity
|
||||||
OrderController ..> Cart
|
OrderController ..> Cart
|
||||||
OrderController ..> catering.catalog.multiProduct
|
OrderController ...> catering.catalog.MultiProduct
|
||||||
}
|
}
|
||||||
|
|
||||||
@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