cuenta a la mitad
This commit is contained in:
@@ -14,13 +14,15 @@ namespace compabetov2.database.modelos
|
||||
public string fecha;
|
||||
public string estado;
|
||||
public string descripcion;
|
||||
public string cliente;
|
||||
|
||||
public Cuenta(decimal total = 0, string fecha = "", string estado = "", string descripcion = "", int id = -1) {
|
||||
public Cuenta(decimal total = 0, string fecha = "", string estado = "", string descripcion = "", string cliente = "",int id = -1) {
|
||||
this.id = id;
|
||||
this.total = total;
|
||||
this.fecha = fecha;
|
||||
this.estado = estado;
|
||||
this.descripcion = descripcion;
|
||||
this.cliente = cliente;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,13 +11,14 @@ namespace compabetov2.database.modelos
|
||||
public int idCuenta;
|
||||
public Producto producto;
|
||||
public int cantidad;
|
||||
public string nombreProducto;
|
||||
|
||||
|
||||
public DetalleCuentaModel(Producto producto, int cantidad, int idCuenta =-1)
|
||||
public DetalleCuentaModel(Producto producto, int cantidad, int idCuenta =-1, string nombreProducto = "")
|
||||
{
|
||||
this.idCuenta = idCuenta;
|
||||
this.producto = producto;
|
||||
this.cantidad = cantidad;
|
||||
this.nombreProducto = nombreProducto;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user