Updated documentation to include details on the `TBSIG_EMAIL_TEMPLATE` table, its structure, and runtime behavior. Enhanced code by introducing the `IDocument` interface and adding properties/methods to support email templates and document signing workflows. Replaced `int` with the `EnvelopeStatus` enum for improved type safety. Removed unused `Signed` property from `EnvelopeReceiverDto`. Added extension methods for `IDocument` and `IDocReceiverElement` to verify signing status. Updated deployment and troubleshooting guides to highlight email template requirements.
34 lines
981 B
C#
34 lines
981 B
C#
using EnvelopeGenerator.Domain.Constants;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Dto.History;
|
|
|
|
/// <summary>
|
|
/// Data Transfer Object for creating a new envelope history record.
|
|
/// </summary>
|
|
public class HistoryCreateDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the identifier of the envelope.
|
|
/// </summary>
|
|
public int EnvelopeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the user reference associated with the action.
|
|
/// </summary>
|
|
public required string UserReference { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the status of the envelope at the time of the action.
|
|
/// </summary>
|
|
public EnvelopeStatus Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the date and time when the action occurred.
|
|
/// </summary>
|
|
public DateTime? ActionDate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets an optional comment related to the action.
|
|
/// </summary>
|
|
public string? Comment { get; set; }
|
|
} |