feat(ReceiverVM): Handles the combination of the envelope and receiver for common services and submodules as a view model.

This commit is contained in:
2025-08-21 13:52:03 +02:00
parent 5fb4d03ee7
commit c7bf800cd5
3 changed files with 104 additions and 20 deletions

View File

@@ -41,26 +41,6 @@ public class Receiver
public DateTime? TfaRegDeadline { get; set; }
public List<EnvelopeReceiver> EnvelopeReceivers { get; set; }
#region Model of old serice
[NotMapped]
public DateTime SignedDate { get; set; } = DateTime.MinValue;
[NotMapped]
public Constants.ColorType ColorType { get; set; }
[NotMapped]
public string SignedDateDisplayValue =>
SignedDate == DateTime.MinValue ? "-" : SignedDate.ToString("G");
[NotMapped]
public Color Color => ColorType.ToColor();
public string GetSignature()
{
return EmailAddress.ToUpperInvariant().GetChecksum();
}
#endregion
}
#if NETFRAMEWORK