Class ItemSale
java.lang.Object
br.com.pethub.model.ItemSale
This class represents an ItemSale in the application.
It contains fields that represent different properties of an item sale, such as id, sale, product, qty, and subtotal.
It also contains getter and setter methods for these fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getId()
int
getQty()
getSale()
void
setId
(int id) void
setProduct
(Products product) void
setQty
(int qty) void
void
setSubtotal
(Double subtotal)
-
Constructor Details
-
ItemSale
public ItemSale()
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getSale
-
setSale
-
getProduct
-
setProduct
-
getQty
public int getQty() -
setQty
public void setQty(int qty) -
getSubtotal
-
setSubtotal
-