Exemple #1
0
 public OrderProduct(Product product, int amount, float pricesale)
 {
     this.dao       = OrdersProductsDAO.getInstance();
     this.product   = product;
     this.amount    = amount;
     this.pricesale = pricesale;
 }
Exemple #2
0
 private OrderProduct()
 {
     this.dao = OrdersProductsDAO.getInstance();
 }