rename Domain.Interfaces.ISignature as IDocReceiverElement

This commit is contained in:
2026-06-09 22:56:55 +02:00
parent cb6dea319b
commit 9b606a0d3b
4 changed files with 4 additions and 4 deletions

View File

@@ -9,7 +9,7 @@ namespace EnvelopeGenerator.Application.Common.Dto;
/// Data Transfer Object representing a positioned element assigned to a document receiver.
/// </summary>
[ApiExplorerSettings(IgnoreApi = true)]
public class SignatureDto : ISignature
public class SignatureDto : IDocReceiverElement
{
/// <summary>
/// Gets or sets the unique identifier of the element.

View File

@@ -11,7 +11,7 @@ using System.Collections.Generic;
namespace EnvelopeGenerator.Domain.Entities
{
[Table("TBSIG_DOCUMENT_RECEIVER_ELEMENT", Schema = "dbo")]
public class DocReceiverElement : ISignature, IHasReceiver, IHasAddedWhen, IUpdateAuditable
public class DocReceiverElement : IDocReceiverElement, IHasReceiver, IHasAddedWhen, IUpdateAuditable
{
public DocReceiverElement()
{

View File

@@ -1,6 +1,6 @@
namespace EnvelopeGenerator.Domain.Interfaces
{
public interface ISignature
public interface IDocReceiverElement
{
int Page { get; set; }

View File

@@ -103,7 +103,7 @@ namespace EnvelopeGenerator.PdfEditor
#endregion
public Pdf<TInputStream, TOutputStream> Background<TSignature>(IEnumerable<TSignature> signatures, double widthPx = 1.9500000000000002, double heightPx = 2.52)
where TSignature : ISignature
where TSignature : IDocReceiverElement
{
foreach (var signature in signatures)
Page(signature.Page, page =>