50 lines
1.3 KiB
C#
50 lines
1.3 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.DTOs;
|
|
|
|
/// <summary>
|
|
/// Data Transfer Object representing certificate information for an envelope.
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public class EnvelopeCertificateDto
|
|
{
|
|
/// <summary>
|
|
/// Gets the unique identifier of the certificate.
|
|
/// </summary>
|
|
public int Id { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the envelope ID associated with the certificate.
|
|
/// </summary>
|
|
public int EnvelopeId { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the UUID of the envelope.
|
|
/// </summary>
|
|
public string EnvelopeUuid { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets the subject of the envelope.
|
|
/// </summary>
|
|
public string EnvelopeSubject { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets the ID of the creator of the envelope.
|
|
/// </summary>
|
|
public int CreatorId { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the name of the creator.
|
|
/// </summary>
|
|
public string CreatorName { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets the email address of the creator.
|
|
/// </summary>
|
|
public string CreatorEmail { get; init; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Gets the current status of the envelope.
|
|
/// </summary>
|
|
public int EnvelopeStatus { get; init; }
|
|
} |