public InvoiceItem(int refinvoice, int tipo, int referencia) { this.gestor = new GestorInvoiceItem(); this.idinvoiceitem = gestor.getLastId() + 1; this.refinvoice = refinvoice; this.tipo = tipo; this.referencia = referencia; }
public InvoiceItem() { this.gestor = new GestorInvoiceItem(); }