Class Products
java.lang.Object
br.com.pethub.model.Products
This class represents a Product in the application.
It contains fields that represent different properties of a product, such as id, product, price, stock_qty, and a reference to a Suppliers object.
It also contains getter and setter methods for these fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
double
getPrice()
int
void
setId
(int id) void
setPrice
(double price) void
setProduct
(String product) void
setStock_qty
(int stock_qty) void
setSuppliers
(Suppliers suppliers)
-
Constructor Details
-
Products
public Products()
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getProduct
-
setProduct
-
getPrice
public double getPrice() -
setPrice
public void setPrice(double price) -
getStock_qty
public int getStock_qty() -
setStock_qty
public void setStock_qty(int stock_qty) -
getSuppliers
-
setSuppliers
-