Refactor: Aktualisierung von APIs und Anwendungsschichten zur Umsetzung von Änderungen im Bereich

This commit is contained in:
Developer 02
2025-05-28 12:55:11 +02:00
parent c1d46b446a
commit 3c60f31050
91 changed files with 1712 additions and 535 deletions

View File

@@ -1,33 +1,67 @@
using DigitalData.Core.Abstractions;
using DigitalData.EmailProfilerDispatcher.Abstraction.Attributes;
using DigitalData.EmailProfilerDispatcher.Abstraction.Attributes;
using Microsoft.AspNetCore.Mvc;
namespace EnvelopeGenerator.Application.DTOs.EnvelopeReceiver
namespace EnvelopeGenerator.Application.DTOs.EnvelopeReceiver;
/// <summary>
///
/// </summary>
[ApiExplorerSettings(IgnoreApi = true)]
public record EnvelopeReceiverBasicDto
{
[ApiExplorerSettings(IgnoreApi = true)]
public record EnvelopeReceiverBasicDto() : IUnique<(int Envelope, int Receiver)>
{
public (int Envelope, int Receiver) Id => (Envelope: EnvelopeId, Receiver: ReceiverId);
/// <summary>
///
/// </summary>
public (int Envelope, int Receiver) Id => (Envelope: EnvelopeId, Receiver: ReceiverId);
public int EnvelopeId { get; init; }
/// <summary>
///
/// </summary>
public int EnvelopeId { get; init; }
public int ReceiverId { get; init; }
/// <summary>
///
/// </summary>
public int ReceiverId { get; init; }
public int Sequence { get; init; }
/// <summary>
///
/// </summary>
public int Sequence { get; init; }
[TemplatePlaceholder("[NAME_RECEIVER]")]
public string? Name { get; init; }
/// <summary>
///
/// </summary>
[TemplatePlaceholder("[NAME_RECEIVER]")]
public string? Name { get; init; }
public string? JobTitle { get; init; }
/// <summary>
///
/// </summary>
public string? JobTitle { get; init; }
public string? CompanyName { get; init; }
/// <summary>
///
/// </summary>
public string? CompanyName { get; init; }
public string? PrivateMessage { get; init; }
/// <summary>
///
/// </summary>
public string? PrivateMessage { get; init; }
public DateTime AddedWhen { get; init; }
/// <summary>
///
/// </summary>
public DateTime AddedWhen { get; init; }
public DateTime? ChangedWhen { get; init; }
/// <summary>
///
/// </summary>
public DateTime? ChangedWhen { get; init; }
public bool HasPhoneNumber { get; init; }
}
/// <summary>
///
/// </summary>
public bool HasPhoneNumber { get; init; }
}