/* Mail Order System , Inventory Management - sample system Last updated: May 22, 2008 */ //Namespace for facade class. namespace InventoryManagement //Namespace for core of the system. namespace InventoryManagement.core class ProductSource { supplierCode; advertisedCostPerUnit; 1 -- * SupplierOrderLineItem; } class Product{ ourCode; description; picture; ourListPricePerunit; numberInInventory; numberToKeepInv; 1 --* ProductSource; } class Supplier { id; name; address; 1 -- * ProductSource; 1 -- * OrderToSupplier; 1 -- * ReceivedDelivery; } class ReceivedDelivery{ numberReceived; actualCostPerUnit; 1 -- * ReceivedLineItem; } class SupplierOrderLineItem{ numberOrdered; dateExpected; 1 -- * ReceivedLineItem; } class OrderToSupplier { poNumber; dateOrdered; 1-- * SupplierOrderLineItem; } class ReceivedLineItem { numberReceived; actualCostPerUnit; }