namespace Domain.Dtos.Sales
{
    public class SalesFiscalDocumentDto
    {
        public int Id { get; set; }
        public int SalesDocumentId { get; set; }
        public int FiscalStatus { get; set; }
        public string Environment { get; set; } = string.Empty;
        public short? PointOfSale { get; set; }
        public int? VoucherType { get; set; }
        public string? VoucherLetter { get; set; }
        public int? VoucherNumber { get; set; }
        public string? Cae { get; set; }
        public DateTime? CaeExpirationDate { get; set; }
        public string? RequestFingerprint { get; set; }
        public bool IsFinal { get; set; }
        public string? ArcaRequestPayloadJson { get; set; }
        public string? ArcaResponsePayloadJson { get; set; }
        public string? ErrorsJson { get; set; }
        public string? EventsJson { get; set; }
        public string? ObservationsJson { get; set; }
        public DateTime? AttemptedAtUtc { get; set; }
        public DateTime? CompletedAtUtc { get; set; }
        public bool ReconciledAfterTimeout { get; set; }
        public DateTime Createdat { get; set; }
        public DateTime? Modifiedat { get; set; }
        public List<SalesFiscalDocumentAssociationDto> Associations { get; set; } = new();
    }
}
