2025-05-15 19:24:12 -03:00
|
|
|
|
namespace Domain.Dtos
|
2025-05-13 12:08:38 -03:00
|
|
|
|
{
|
|
|
|
|
|
public class QuoteItemDto
|
|
|
|
|
|
{
|
2025-05-29 19:21:57 -03:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Identificador único del ítem dentro del presupuesto.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
2025-05-13 12:08:38 -03:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Descripción del producto o servicio cotizado.
|
|
|
|
|
|
/// </summary>
|
2025-05-29 19:21:57 -03:00
|
|
|
|
public string Description { get; set; } = string.Empty;
|
2025-05-13 12:08:38 -03:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Cantidad de unidades cotizadas.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int Quantity { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Precio unitario sin incluir impuestos.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public decimal UnitPrice { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Subtotal (Quantity × UnitPrice).
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public decimal Subtotal { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Importe de impuestos aplicados al ítem.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public decimal TaxAmount { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Total del ítem (Subtotal + TaxAmount).
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public decimal Total { get; set; }
|
2026-03-22 18:05:56 -03:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Indica si el renglón fue aprobado durante el proceso de autorización.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public bool Approved { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Cantidad aprobada para el renglón. Puede diferir de la cantidad originalmente cotizada.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public int? ApprovedQuantity { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Precio unitario aprobado para el renglón.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public decimal? ApprovedUnitPrice { get; set; }
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Importe total aprobado para el renglón.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public decimal? ApprovedAmount { get; set; }
|
2025-05-13 12:08:38 -03:00
|
|
|
|
}
|
|
|
|
|
|
}
|