refactor(EnvelopeDocumentDto): ByteDta-Eigenschaft hinzugefügt

This commit is contained in:
Developer 02 2024-10-18 10:21:01 +02:00
parent 826844cf46
commit 084a9b7db4
2 changed files with 3 additions and 2 deletions

View File

@ -7,6 +7,7 @@ namespace EnvelopeGenerator.Application.DTOs
int Id, int Id,
int EnvelopeId, int EnvelopeId,
DateTime AddedWhen, DateTime AddedWhen,
IEnumerable<DocumentReceiverElementDto>? Elements byte[]? ByteData = null,
IEnumerable<DocumentReceiverElementDto>? Elements = null
) : IUnique<int>; ) : IUnique<int>;
} }

View File

@ -32,7 +32,7 @@ namespace EnvelopeGenerator.Domain.Entities
public required string FilenameOriginal { get; set; } public required string FilenameOriginal { get; set; }
[Column("BYTE_DATA", TypeName = "varbinary(max)")] [Column("BYTE_DATA", TypeName = "varbinary(max)")]
public byte[]? ByteDta { get; init; } public byte[]? ByteData { get; init; }
public IEnumerable<DocumentReceiverElement>? Elements { get; set; } public IEnumerable<DocumentReceiverElement>? Elements { get; set; }
} }