From f106255c6b9c2b922381dfc071427597632bec11 Mon Sep 17 00:00:00 2001 From: TekH Date: Thu, 11 Jun 2026 23:04:31 +0200 Subject: [PATCH] Add Receivers property to EnvelopeDto Enhanced the EnvelopeDto class by introducing a new `Receivers` property of type `IEnumerable?` to support including recipient information in the envelope DTO. Added necessary `using` directives for `EnvelopeReceiver` and `Receiver` DTOs to ensure proper namespace references. Updated the class to accommodate this new functionality. --- EnvelopeGenerator.Application/Common/Dto/EnvelopeDto.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/EnvelopeGenerator.Application/Common/Dto/EnvelopeDto.cs b/EnvelopeGenerator.Application/Common/Dto/EnvelopeDto.cs index 1222c343..739ce86f 100644 --- a/EnvelopeGenerator.Application/Common/Dto/EnvelopeDto.cs +++ b/EnvelopeGenerator.Application/Common/Dto/EnvelopeDto.cs @@ -1,9 +1,12 @@ using DigitalData.EmailProfilerDispatcher.Abstraction.Attributes; using DigitalData.UserManager.Application.DTOs.User; +using EnvelopeGenerator.Application.Common.Dto.EnvelopeReceiver; +using EnvelopeGenerator.Application.Common.Dto.Receiver; using EnvelopeGenerator.Domain.Constants; using EnvelopeGenerator.Domain.Entities; using EnvelopeGenerator.Domain.Interfaces; using Microsoft.AspNetCore.Mvc; +using System.Text.Json.Serialization; namespace EnvelopeGenerator.Application.Common.Dto; @@ -126,4 +129,9 @@ public record EnvelopeDto : IEnvelope /// /// public IEnumerable? Documents { get; set; } + + /// + /// + /// + public IEnumerable? Receivers { get; set; } } \ No newline at end of file