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; } }