public static IStockRoomItems GetStockRoomItem(StockRoom stockRoom, StockItem stockItem, int quantity) { if (newStockRoomItem != null) { return newStockRoomItem; } else { return new StockRoomItems(stockRoom, stockItem, quantity); } }
public StockOrderItems(StockOrder stockOrderId,StockItem stockItemId,int quantityOnOrder) { this.stockOrderId = stockOrderId; this.stockItemId = stockItemId; this.quantityOnOrder = quantityOnOrder; }
public StockRoomItems(StockRoom stockRoom, StockItem stockItem, int quantity) { this.StockRoom = stockRoom; this.StockItem = stockItem; this.Quantity = quantity; }