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,14 +1,13 @@
using DigitalData.Core.Abstractions;
using DigitalData.UserManager.Application.DTOs.User;
using DigitalData.UserManager.Application.DTOs.User;
using EnvelopeGenerator.Application.DTOs.Receiver;
using static EnvelopeGenerator.CommonServices.Constants;
using static EnvelopeGenerator.Domain.Constants;
namespace EnvelopeGenerator.Application.DTOs.EnvelopeHistory;
/// <summary>
/// Data Transfer Object representing the history of an envelope, including status, sender, receiver, and related metadata.
/// </summary>
public record EnvelopeHistoryDto : IUnique<long>
public record EnvelopeHistoryDto
{
/// <summary>
/// Unique identifier for the envelope history entry.
@@ -23,7 +22,7 @@ public record EnvelopeHistoryDto : IUnique<long>
/// <summary>
/// Reference string for the user related to this history entry.
/// </summary>
public string UserReference { get; set; }
public required string UserReference { get; set; }
/// <summary>
/// Status code of the envelope at this history point.
@@ -66,8 +65,5 @@ public record EnvelopeHistoryDto : IUnique<long>
public string? Comment { get; set; }
/// <inheritdoc/>
public override int GetHashCode()
{
return Id.GetHashCode();
}
};
public override int GetHashCode() => Id.GetHashCode();
};