importe en venta hecho
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace compabetov2.database.modelos
|
||||
{
|
||||
public class DetalleImporte
|
||||
{
|
||||
public int fkImporte;
|
||||
public int catidad;
|
||||
public decimal precioImporte;
|
||||
|
||||
public DetalleImporte(int fkImporte, int cantidad, decimal precioImporte)
|
||||
{
|
||||
this.fkImporte = fkImporte;
|
||||
this.catidad = cantidad;
|
||||
this.precioImporte = precioImporte;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
using compabetov2.Ventas;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace compabetov2.database.modelos
|
||||
{
|
||||
internal class ImporteModel
|
||||
{
|
||||
public int idImporte;
|
||||
|
||||
public string tipo;
|
||||
public decimal precioImporte;
|
||||
public string img;
|
||||
|
||||
public ImporteModel(int idImporte, string tipo, decimal precioImporte, string img) {
|
||||
this.idImporte = idImporte;
|
||||
this.tipo = tipo;
|
||||
this.img = img;
|
||||
this.precioImporte = precioImporte;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -12,12 +12,15 @@ namespace compabetov2.database.modelos
|
||||
public string fecha;
|
||||
public decimal total;
|
||||
public string responzable;
|
||||
public int importe;
|
||||
|
||||
public VentaModel(decimal total = 0, int id = -1, string fecha = "", string responzable = "") {
|
||||
public VentaModel(decimal total = 0, int id = -1, string fecha = "", string responzable = "", int importe = 0)
|
||||
{
|
||||
this.id = id;
|
||||
this.fecha = fecha;
|
||||
this.total = total;
|
||||
this.responzable = responzable;
|
||||
this.importe = importe;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user