Class ShoppingList

java.lang.Object
ntnu.idatt2016.v233.SmartMat.entity.group.ShoppingList

@Entity(name="shopping_list") public class ShoppingList extends Object
This class represents a shopping list
Version:
1.3
Author:
Stian Lyng, Anders, Birk
  • Constructor Details

    • ShoppingList

      public ShoppingList()
  • Method Details

    • addProduct

      public void addProduct(Product product)
      Adds a product to the shopping list
      Parameters:
      product - the product to add to the shopping list