namespace Domain.Dtos.Sales
{
    public class SalesDocumentDetailDto
    {
        public int Id { get; set; }
        public int SalesDocumentId { get; set; }
        public int LineNumber { get; set; }
        public string OriginType { get; set; } = string.Empty;
        public int? OriginId { get; set; }
        public int? QuoteDetailId { get; set; }
        public int? ProductId { get; set; }
        public string Description { get; set; } = string.Empty;
        public decimal Quantity { get; set; }
        public decimal? AuthorizedUnitPrice { get; set; }
        public decimal? AuthorizedAmount { get; set; }
        public decimal? BilledPercentage { get; set; }
        public decimal UnitPrice { get; set; }
        public decimal NetAmount { get; set; }
        public decimal TaxAmount { get; set; }
        public decimal TotalAmount { get; set; }
        public string? OriginSnapshotJson { get; set; }
        public DateTime Createdat { get; set; }
        public DateTime? Modifiedat { get; set; }
    }
}
