Optionen `save`, `dir` und `fileName` zum `ReadDocument`-Befehl hinzugefügt. Wenn `save` aktiviert ist, wird das PDF an dem angegebenen oder dem Standardpfad gespeichert. Ermöglicht dem Benutzer mehr Kontrolle über Speicherort und Dateinamen.
23 lines
578 B
C#
23 lines
578 B
C#
namespace EnvelopeGenerator.Application.Documents.Queries.Read;
|
|
|
|
/// <summary>
|
|
/// Represents the response for reading a document.
|
|
/// </summary>
|
|
public class ReadDocumentResponseBase
|
|
{
|
|
/// <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; }
|
|
}
|