1 package org.hibernate.test.cid; 3 4 import java.math.BigDecimal ; 5 6 9 public class Product { 10 private String productId; 11 private String description; 12 private BigDecimal price; 13 private int numberAvailable; 14 private int numberOrdered; 15 18 public String getDescription() { 19 return description; 20 } 21 24 public void setDescription(String description) { 25 this.description = description; 26 } 27 30 public int getNumberAvailable() { 31 return numberAvailable; 32 } 33 36 public void setNumberAvailable(int numberAvailable) { 37 this.numberAvailable = numberAvailable; 38 } 39 42 public int getNumberOrdered() { 43 return numberOrdered; 44 } 45 48 public void setNumberOrdered(int numberOrdered) { 49 this.numberOrdered = numberOrdered; 50 } 51 54 public String getProductId() { 55 return productId; 56 } 57 60 public void setProductId(String productId) { 61 this.productId = productId; 62 } 63 66 public BigDecimal getPrice() { 67 return price; 68 } 69 72 public void setPrice(BigDecimal price) { 73 this.price = price; 74 } 75 } 76 | Popular Tags |