From 084a9b7db4fd1cd24d144e4cf861e04046fe1fa9 Mon Sep 17 00:00:00 2001 From: Developer 02 Date: Fri, 18 Oct 2024 10:21:01 +0200 Subject: [PATCH] =?UTF-8?q?refactor(EnvelopeDocumentDto):=20ByteDta-Eigens?= =?UTF-8?q?chaft=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- EnvelopeGenerator.Application/DTOs/EnvelopeDocumentDto.cs | 3 ++- EnvelopeGenerator.Domain/Entities/EnvelopeDocument.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/EnvelopeGenerator.Application/DTOs/EnvelopeDocumentDto.cs b/EnvelopeGenerator.Application/DTOs/EnvelopeDocumentDto.cs index 340b3a88..a9422f02 100644 --- a/EnvelopeGenerator.Application/DTOs/EnvelopeDocumentDto.cs +++ b/EnvelopeGenerator.Application/DTOs/EnvelopeDocumentDto.cs @@ -7,6 +7,7 @@ namespace EnvelopeGenerator.Application.DTOs int Id, int EnvelopeId, DateTime AddedWhen, - IEnumerable? Elements + byte[]? ByteData = null, + IEnumerable? Elements = null ) : IUnique; } \ No newline at end of file diff --git a/EnvelopeGenerator.Domain/Entities/EnvelopeDocument.cs b/EnvelopeGenerator.Domain/Entities/EnvelopeDocument.cs index 175d0115..85d9ce77 100644 --- a/EnvelopeGenerator.Domain/Entities/EnvelopeDocument.cs +++ b/EnvelopeGenerator.Domain/Entities/EnvelopeDocument.cs @@ -32,7 +32,7 @@ namespace EnvelopeGenerator.Domain.Entities public required string FilenameOriginal { get; set; } [Column("BYTE_DATA", TypeName = "varbinary(max)")] - public byte[]? ByteDta { get; init; } + public byte[]? ByteData { get; init; } public IEnumerable? Elements { get; set; } }