public Invoice(int refuser, int mes, int año, int pagada) { this.gestor = new GestorInvoices(); this.idinvoice = gestor.getLastId() + 1; this.refuser = refuser; this.mes = mes; this.año = año; this.pagada = pagada; }
public Invoice() { this.gestor = new GestorInvoices(); }