guardado hecho hasta ordenes de compra
This commit is contained in:
@@ -4,6 +4,29 @@ namespace Entidades
|
||||
public class DetalleOrdenDeCompra: Detalle<Producto>
|
||||
{
|
||||
public int IdOrdenDeCompra { get; set; }
|
||||
public Presupuesto presupuesto { get; set; }
|
||||
public double MontoCU { get; set; }
|
||||
|
||||
public int IdPresupuesto
|
||||
{
|
||||
get
|
||||
{
|
||||
return presupuesto.Id;
|
||||
}
|
||||
}
|
||||
public string NombreProducto
|
||||
{
|
||||
get
|
||||
{
|
||||
return Producto.Nombre;
|
||||
}
|
||||
}
|
||||
public double SubTotal
|
||||
{
|
||||
get
|
||||
{
|
||||
return MontoCU * Cantidad;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user