using DocumentService.Application.Common.DTOs; namespace DocumentService.Client.Models.Results; /// /// Combined result of a PDF validation followed by a Swiss QR Code extraction. /// Both operations are always executed; is null when /// the document fails validation. /// /// /// Extracted Swiss QR Code data, or null if the PDF was invalid or did not /// contain a recognisable Swiss QR Code. /// /// /// PDF validation result. Always populated regardless of whether extraction succeeded. /// Use /// to determine whether the extraction was attempted. /// public record SwissQrCodeResult( SwissQrCodeExtractionResult? QrCode, PdfValidationResult Validation);