namespace EnvelopeGenerator.Application.Common.Dto;
///
/// Data Transfer Object representing a document within an envelope, including optional binary data and form elements.
///
public record DocumentDto : DocumentDetailsDto
{
///
///
///
public DocumentDto() { }
///
///
///
///
///
public DocumentDto(byte[] byteData, DocumentDetailsDto details) : base(details)
{
ByteData = byteData;
}
///
/// Gets or sets the binary data of the document, if available.
///
public byte[]? ByteData { get; init; }
}