Package com.jahnreil_stratpoint.model
Class Product
java.lang.Object
com.jahnreil_stratpoint.model.Product
The Product model contain attributes such as id, name, description, brand etc...
Product must be constructed with complete args
-
Constructor Summary
ConstructorDescriptionProduct
(int id, String name, String description, String brand, String manufacturer, BigDecimal price, BigDecimal discount, int quantity, Measurement measurement) Instantiates a new Product. -
Method Summary
-
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 idname
- the namedescription
- the descriptionbrand
- the brandmanufacturer
- the manufacturerprice
- the pricediscount
- the discountquantity
- the quantitymeasurement
- the measurement
-