Class Sales
java.lang.Object
br.com.pethub.model.Sales
This class represents a Sale in the application.
It contains fields that represent different properties of a sale, such as id, customer, sale_date, total_sale, and note.
It also contains getter and setter methods for these fields.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()getNote()doublevoidsetCustomer(Customers customer) voidsetId(int id) voidvoidsetSale_date(String sale_date) voidsetTotal_sale(double total_sale)
-
Constructor Details
-
Sales
public Sales()
-
-
Method Details
-
getId
public int getId() -
setId
public void setId(int id) -
getCustomer
-
setCustomer
-
getSale_date
-
setSale_date
-
getTotal_sale
public double getTotal_sale() -
setTotal_sale
public void setTotal_sale(double total_sale) -
getNote
-
setNote
-