Updated `PdfSignOptionsDto` and `PdfSignatureCheckItemDto` to use `DocumentElementId` (long) instead of `UUID` (string). Modified `PdfDigitalSignatureService` to reflect this change, including updates to `SignatureReasonMetaRegex`, `BuildReasonWithMeta`, and `ParseReasonMeta`. Adjusted method signatures, return values, and property assignments to ensure consistent use of `DocumentElementId`. These changes align with a shift in the application's data model to use numeric identifiers for document elements.
55 lines
1.1 KiB
C#
55 lines
1.1 KiB
C#
using EnvelopeGenerator.Application.Common.Enums;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Dto;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public sealed record PdfSignOptionsDto
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public long DocumentElementId { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Name { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Reason { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Location { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Email { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string Phone { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public string ApplicationName { get; set; } = null!;
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public PdfSignatureCertificationLevel CertificationLevel { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public PdfSignatureAppearanceDto? Appearance { get; set; }
|
|
}
|