add InstantData
This commit is contained in:
parent
5784cc7a97
commit
7233d2ce98
@ -0,0 +1,32 @@
|
||||
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; }
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user