cuentas
This commit is contained in:
@@ -11,12 +11,14 @@ namespace compabetov2.database.modelos
|
||||
public int idVenta;
|
||||
public int cantidad;
|
||||
public Producto producto;
|
||||
public decimal total;
|
||||
|
||||
public DetalleVentaModel(int cantidad, Producto producto, int id = -1)
|
||||
public DetalleVentaModel(int cantidad, Producto producto, int id = -1, decimal total = 0)
|
||||
{
|
||||
this.cantidad = cantidad;
|
||||
this.producto = producto;
|
||||
this.idVenta = id;
|
||||
this.total = total;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user