mirror of
https://github.com/st-tu-dresden-praktikum/swt23w23
synced 2024-07-19 21:04:36 +02:00
Update inventory design to match dual catalog
This commit is contained in:
parent
ed3f6c59f2
commit
09767cb9d2
|
@ -18,7 +18,8 @@ package Salespoint {
|
|||
|
||||
package catering {
|
||||
package catalog {
|
||||
interface CateringCatalog
|
||||
interface ConsumableCatalog
|
||||
interface RentableCatalog
|
||||
}
|
||||
|
||||
package inventory {
|
||||
|
@ -31,6 +32,8 @@ package catering {
|
|||
+ add(form : InventoryMutateForm, result : Errors) : String
|
||||
+ delete(pid : Product) : String
|
||||
}
|
||||
InventoryController --> "1" catering.catalog.ConsumableCatalog : "-consumableCatalog"
|
||||
InventoryController --> "1" catering.catalog.RentableCatalog : "-rentableCatalog"
|
||||
InventoryController ..> InventoryMutateForm
|
||||
InventoryController .u.> Salespoint.Product
|
||||
InventoryController -u-> "1" Salespoint.UniqueInventory : "-inventory"
|
||||
|
@ -43,7 +46,8 @@ package catering {
|
|||
+ InventoryInitializer(inventory : UniqueInventory, catalog : CateringCatalog)
|
||||
+ initialize() : void
|
||||
}
|
||||
InventoryInitializer --> "1" catering.catalog.CateringCatalog : "-cateringCatalog"
|
||||
InventoryInitializer --> "1" catering.catalog.ConsumableCatalog : "-consumableCatalog"
|
||||
InventoryInitializer --> "1" catering.catalog.RentableCatalog : "-rentableCatalog"
|
||||
InventoryInitializer .u.|> Salespoint.DataInitializer
|
||||
InventoryInitializer .u.> Salespoint.Quantity
|
||||
InventoryInitializer -u-> "1" Salespoint.UniqueInventory : "-inventory"
|
||||
|
|
BIN
src/main/asciidoc/models/design/inventory.svg
(Stored with Git LFS)
BIN
src/main/asciidoc/models/design/inventory.svg
(Stored with Git LFS)
Binary file not shown.
Loading…
Reference in a new issue