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:
@@ -0,0 +1,8 @@
|
|||||||
|
namespace EnvelopeGenerator.ReceiverUI.Models.Constants
|
||||||
|
{
|
||||||
|
public enum SenderAppType
|
||||||
|
{
|
||||||
|
LegacyFormApp = 0,
|
||||||
|
ReceiverUIBlazorApp = 1
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,4 +1,6 @@
|
|||||||
namespace EnvelopeGenerator.ReceiverUI.Models;
|
using EnvelopeGenerator.ReceiverUI.Models.Constants;
|
||||||
|
|
||||||
|
namespace EnvelopeGenerator.ReceiverUI.Models;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Represents a signature position on a PDF page.
|
/// Represents a signature position on a PDF page.
|
||||||
@@ -19,4 +21,5 @@ public class SignatureDto
|
|||||||
/// <summary>1-based page number.</summary>
|
/// <summary>1-based page number.</summary>
|
||||||
public int Page { get; set; }
|
public int Page { get; set; }
|
||||||
|
|
||||||
|
public SenderAppType SenderAppType { get; set; }
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user