Updated namespaces to align with the new DigitalData.Core structure, replacing `DigitalData.Core.Abstractions` with `DigitalData.Core.Application.Interfaces` and `DigitalData.Core.Client.Interface`. Removed the `IUnique<int>` interface from several DTOs, simplifying their design and altering the handling of entity identification. Updated project files to reflect new dependency versions for improved compatibility and features. Cleaned up using directives to remove obsolete references, enhancing code maintainability.
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; }
|
|
|
|
/// <summary>
|
|
/// Gets the subject of the envelope.
|
|
/// </summary>
|
|
public string EnvelopeSubject { get; init; }
|
|
|
|
/// <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; }
|
|
|
|
/// <summary>
|
|
/// Gets the email address of the creator.
|
|
/// </summary>
|
|
public string CreatorEmail { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets the current status of the envelope.
|
|
/// </summary>
|
|
public int EnvelopeStatus { get; init; }
|
|
} |