28 lines
710 B
C#
28 lines
710 B
C#
namespace EnvelopeGenerator.Application.Documents.Queries.Read;
|
|
|
|
/// <summary>
|
|
/// Represents the response for reading a document.
|
|
/// </summary>
|
|
public class ReadDocumentResponse
|
|
{
|
|
/// <summary>
|
|
/// The unique identifier of the document.
|
|
/// </summary>
|
|
public int Guid { get; init; }
|
|
|
|
/// <summary>
|
|
/// The identifier of the associated envelope.
|
|
/// </summary>
|
|
public int EnvelopeId { get; init; }
|
|
|
|
/// <summary>
|
|
/// The date and time when the document was added.
|
|
/// </summary>
|
|
public DateTime AddedWhen { get; init; }
|
|
|
|
/// <summary>
|
|
/// The binary data of the document, if available.
|
|
/// </summary>
|
|
public byte[]? ByteData { get; init; }
|
|
}
|