namespace EnvelopeGenerator.Application.Pdf.PSPDFKitModels; internal class InstantData { public List? Annotations { get; set; } public IEnumerable>? AnnotationsByReceiver { get { return Annotations? .Where(a => a.HasStructuredID) .GroupBy(a => a.ReceiverId) .Select(g => g.ToList()); } } public IEnumerable>? UnstructuredAnnotations { get { return Annotations? .Where(a => !a.HasStructuredID) .GroupBy(a => a.ReceiverId) .Select(g => g.ToList()); } } public Dictionary? Attachments { get; set; } public List? FormFieldValues { get; set; } }