refactor(Envelope): make EnvelopeType nullable for only .net

This commit is contained in:
tekh 2025-08-19 15:36:28 +02:00
parent a09ea990ab
commit c27337a6f5

View File

@ -126,7 +126,11 @@ public class Envelope
public User User { get; set; } public User User { get; set; }
[ForeignKey("EnvelopeTypeId")] [ForeignKey("EnvelopeTypeId")]
public EnvelopeType EnvelopeType { get; set; } public virtual EnvelopeType
#if NET
?
#endif
EnvelopeType { get; set; }
#if NETFRAMEWORK #if NETFRAMEWORK
[NotMapped] [NotMapped]