Class DB.IngredientRecipe
java.lang.Object
team75.model.DB.IngredientRecipe
- Enclosing class:
DB
One ingredient entry in a menu item's recipe, mapping an inventory
ingredient to the quantity consumed per order of that menu item.
- Author:
- Raghu
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ingredientId
public final int ingredientId -
quantity
public final double quantity
-
-
Constructor Details
-
IngredientRecipe
public IngredientRecipe(int ingredientId, double quantity) - Parameters:
ingredientId- ID of the ingredient in the inventory tablequantity- amount of the ingredient consumed per order
-
-
Method Details
-
toString
-