Class Product

java.lang.Object
com.jahnreil_stratpoint.model.Product

public class Product extends Object
The Product model contain attributes such as id, name, description, brand etc... Product must be constructed with complete args
  • Constructor Details

    • Product

      public Product(int id, String name, String description, String brand, String manufacturer, BigDecimal price, BigDecimal discount, int quantity, Measurement measurement)
      Instantiates a new Product.
      Parameters:
      id - the id
      name - the name
      description - the description
      brand - the brand
      manufacturer - the manufacturer
      price - the price
      discount - the discount
      quantity - the quantity
      measurement - the measurement