java.lang.Object
ntnu.idatt2016.v233.SmartMat.entity.product.Category

@Entity(name="category") public class Category extends Object
Category is an entity class representing a product category
Version:
1.1
Author:
Pedro, Birk
  • Constructor Details

    • Category

      public Category()
  • Method Details

    • addProduct

      public void addProduct(Product product)
      adds a product to the category
      Parameters:
      product - adds a product to the list of products in this category