Add SenderAppType enum and integrate into SignatureDto

A new `SenderAppType` enum was introduced in the
`EnvelopeGenerator.ReceiverUI.Models.Constants` namespace, with
values `LegacyFormApp` and `ReceiverUIBlazorApp`.

The `SignatureDto` class was updated to include a new property of
type `SenderAppType`, enabling the specification of the sender
application type for a signature.

Additionally, a `using` directive for the
`EnvelopeGenerator.ReceiverUI.Models.Constants` namespace was added
to `SignatureDto.cs` to support the use of the new enum.
This commit is contained in:
2026-06-06 21:23:43 +02:00
parent e6f12f0c68
commit 6d6e14fcb7
2 changed files with 12 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
namespace EnvelopeGenerator.ReceiverUI.Models.Constants
{
public enum SenderAppType
{
LegacyFormApp = 0,
ReceiverUIBlazorApp = 1
}
}

View File

@@ -1,4 +1,6 @@
namespace EnvelopeGenerator.ReceiverUI.Models;
using EnvelopeGenerator.ReceiverUI.Models.Constants;
namespace EnvelopeGenerator.ReceiverUI.Models;
/// <summary>
/// Represents a signature position on a PDF page.
@@ -19,4 +21,5 @@ public class SignatureDto
/// <summary>1-based page number.</summary>
public int Page { get; set; }
public SenderAppType SenderAppType { get; set; }
}