phronCare/Domain/Dtos/Sales/SalesFiscalDocumentDto.cs
leandro 5e894ddca5
All checks were successful
CI/CD Pipeline / Build and Deploy with Docker Compose (pull_request) Successful in 7m39s
feat(domain): add sales document domain contracts with coverage
- add sales document domain entities
- add coverage-oriented DTO contracts
- add sales document enums/constants
- prepare domain model for mixed coverage scenarios
- align domain contracts with future ARCA integration

closes #57
2026-05-07 00:33:34 -03:00

30 lines
1.3 KiB
C#

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();
}
}