using Microsoft.AspNetCore.Mvc;
namespace EnvelopeGenerator.Application.Dto;
///
/// Data Transfer Object representing a document within an envelope, including optional binary data and form elements.
///
[ApiExplorerSettings(IgnoreApi = true)]
public class EnvelopeDocumentDto
{
///
/// Gets or sets the unique identifier of the document.
///
public int Id { get; set; }
///
/// Gets or sets the envelope ID to which the document belongs.
///
public int EnvelopeId { get; set; }
///
/// Gets or sets the date and time when the document was added.
///
public DateTime AddedWhen { get; set; }
///
/// Gets or sets the binary data of the document, if available.
///
public byte[]? ByteData { get; set; }
///
/// Gets or sets the collection of elements associated with the document for receiver interactions, if any.
///
public IEnumerable? Elements { get; set; }
}