32 lines
834 B
C#
32 lines
834 B
C#
namespace EnvelopeGenerator.Application.Pdf.PSPDFKitModels;
|
|
|
|
internal class InstantData
|
|
{
|
|
public List<Annotation>? Annotations { get; set; }
|
|
|
|
public IEnumerable<List<Annotation>>? AnnotationsByReceiver
|
|
{
|
|
get
|
|
{
|
|
return Annotations?
|
|
.Where(a => a.HasStructuredID)
|
|
.GroupBy(a => a.ReceiverId)
|
|
.Select(g => g.ToList());
|
|
}
|
|
}
|
|
|
|
public IEnumerable<List<Annotation>>? UnstructuredAnnotations
|
|
{
|
|
get
|
|
{
|
|
return Annotations?
|
|
.Where(a => !a.HasStructuredID)
|
|
.GroupBy(a => a.ReceiverId)
|
|
.Select(g => g.ToList());
|
|
}
|
|
}
|
|
|
|
public Dictionary<string, Attachment>? Attachments { get; set; }
|
|
|
|
public List<FormFieldValue>? FormFieldValues { get; set; }
|
|
} |