This commit is contained in:
Michael Robles
2024-02-02 21:30:00 -07:00
parent 76bc57c080
commit c401f0a5d4
8 changed files with 7 additions and 5 deletions
+3 -1
View File
@@ -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;
}
}
}