Remove EnvelopeSigningType enum and update envelope logic

Removed EnvelopeSigningType enum and related normalization logic. Added a ReadOnly property to Envelope that uses EnvelopeTypeId to determine read-only status. Envelope type handling now relies on EnvelopeTypeId (int?) instead of the enum.
This commit is contained in:
2026-01-19 16:50:02 +01:00
parent 293044bec3
commit 7495e062a9
3 changed files with 5 additions and 26 deletions

View File

@@ -1,14 +0,0 @@
namespace EnvelopeGenerator.Domain.Constants
{
public enum EnvelopeSigningType
{
WetSignature = 1,
ReadAndSign = 2
}
public static class EnvelopeSigningTypeExtensions
{
public static EnvelopeSigningType Normalize(this EnvelopeSigningType value) =>
value == EnvelopeSigningType.ReadAndSign ? EnvelopeSigningType.ReadAndSign : EnvelopeSigningType.WetSignature;
}
}