refactor(EnvelopeReceiver): remove not-mapped attribute

This commit is contained in:
tekh 2025-08-21 12:44:01 +02:00
parent e877000b14
commit ac70aaa527

View File

@ -35,9 +35,10 @@ public class Envelope
UseAccessCode = false; UseAccessCode = false;
Documents = Enumerable.Empty<EnvelopeDocument>().ToList(); Documents = Enumerable.Empty<EnvelopeDocument>().ToList();
History = Enumerable.Empty<EnvelopeHistory>().ToList(); History = Enumerable.Empty<EnvelopeHistory>().ToList();
Receivers = Enumerable.Empty<EnvelopeReceiver>().ToList();
#endif #endif
} }
[Key] [Key]
[DatabaseGenerated(DatabaseGeneratedOption.Identity)] [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
[Column("GUID")] [Column("GUID")]
@ -159,9 +160,11 @@ public class Envelope
public List<EnvelopeHistory> History { get; set; } public List<EnvelopeHistory> History { get; set; }
// TODO: * Check the Form App and remove the default value public List<EnvelopeReceiver>
[NotMapped] #if NET
public List<EnvelopeReceiver> Receivers { get; set; } = Enumerable.Empty<EnvelopeReceiver>().ToList(); ?
#endif
Receivers { get; set; }
//#if NETFRAMEWORK //#if NETFRAMEWORK
/// <summary> /// <summary>