package entity; /** * * @author Ninh */ public class Product { private String id, name, catId, image, discribe, status, addDate; private double price; private int quantity; public Product() { } public Product(String id, String name, String catId, String image, String discribe, String status, String addDate, double price, int quantity) { this.id = id; this.name = name; this.catId = catId; this.image = image; this.discribe = discribe; this.status = status; this.addDate = addDate; this.price = price; this.quantity = quantity; } public void setId(String id) { this.id = id; } public void setName(String name) { this.name = name; } public void setCatId(String catId) { this.catId = catId; } public void setImage(String image) { this.image = image; } public void setDiscribe(String discribe) { this.discribe = discribe; } public void setStatus(String status) { this.status = status; } public void setAddDate(String addDate) { this.addDate = addDate; } public void setPrice(double price) { this.price = price; } public void setQuantity(int quantity) { this.quantity = quantity; } }