diff --git a/src/main/asciidoc/models/design/order.puml b/src/main/asciidoc/models/design/order.puml index b9fe866..09a057e 100644 --- a/src/main/asciidoc/models/design/order.puml +++ b/src/main/asciidoc/models/design/order.puml @@ -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 \ No newline at end of file diff --git a/src/main/asciidoc/models/design/order.svg b/src/main/asciidoc/models/design/order.svg index 69b82fc..8a29a72 100644 --- a/src/main/asciidoc/models/design/order.svg +++ b/src/main/asciidoc/models/design/order.svg @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:2f08154fc3a849e23992ca9c032e314cda300aca41b916db6fefcbf7c7b2499b -size 36331 +oid sha256:be8fac61bb6bf01af4bc0b7d04e86e2c3f7737b89b1e0e7a3ab9442b367388a8 +size 32015