Improve proposal on multiProduct

This commit is contained in:
makr912e 2023-11-03 11:13:08 +01:00 committed by Simon Bruder
parent cace8cda4a
commit 3d56b0d575
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 7 additions and 9 deletions

View file

@ -27,19 +27,17 @@ package catering.catalog {
+ getPrice()
}
class customProduct
class Employee {
+ getMaxHours()
+ getSalaryPerHour()
}
note "this could work" as myNote
MultiProduct --|> Salespoint.Product
MultiProduct "1" o-- "*" customProduct
MultiProduct -up-|> Salespoint.Product
MultiProduct "1" o-- "*" Employee
MultiProduct "1" o-- "*" Consumable
MultiProduct "1" o-- "*" Rentable
customProduct ..> Consumable
customProduct ..> Rentable
customProduct ..> Employee
myNote .- Employee
}
@ -60,7 +58,7 @@ package catering.order {
OrderController ..> Cash
OrderController ..> Quantity
OrderController ..> Cart
OrderController ..> catering.catalog.multiProduct
OrderController ...> catering.catalog.MultiProduct
}
@enduml

BIN
src/main/asciidoc/models/design/order.svg (Stored with Git LFS)

Binary file not shown.