namespace Domain.Entities
{
public class EQuoteDetail
{
///
/// ID interno
///
public int Id { get; set; }
///
/// FK a encabezado de presupuesto
///
public int QuoteheaderId { get; set; }
///
/// ID del producto original
///
public int ProductId { get; set; }
///
/// Descripción modificable del producto (puede diferir del original)
///
public string? ProductDescription { get; set; }=String.Empty;
///
/// Cantidad
///
public int Quantity { get; set; }
///
/// Precio unitario original
///
public decimal Unitprice { get; set; }
///
/// ¿Aprobado? (0=No, 1=Si)
///
public bool Approved { get; set; }
///
/// Importe aprobado final
///
public decimal? Approvedamount { get; set; }
///
/// Fecha de creación del registro
///
public DateTime Createdat { get; set; }
///
/// Fecha de última modificación
///
public DateTime? Modifiedat { get; set; }
//public virtual EProduct Product { get; set; } = null!;
//public virtual EQuoteHeader PhSQuoteheader { get; set; } = null!;
}
}