feat: terminados 4 de 7 forms
This commit is contained in:
@@ -8,18 +8,6 @@ namespace Entidades
|
||||
public Producto Producto { get; set; }
|
||||
public long CantidadDeProductos { get; set; }
|
||||
public bool Habilitado { get; set; }
|
||||
public string NombreProducto
|
||||
{
|
||||
get { return Producto?.Nombre ?? string.Empty; }
|
||||
}
|
||||
public double PrecioUnitario
|
||||
{
|
||||
get { return Producto?.Precio ?? 0; }
|
||||
}
|
||||
public double Subtotal
|
||||
{
|
||||
get { return PrecioUnitario * CantidadDeProductos; }
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user