feat(ReceiverVM): Handles the combination of the envelope and receiver for common services and submodules as a view model.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user