Updated namespaces to align with the new DigitalData.Core structure, replacing `DigitalData.Core.Abstractions` with `DigitalData.Core.Application.Interfaces` and `DigitalData.Core.Client.Interface`. Removed the `IUnique<int>` interface from several DTOs, simplifying their design and altering the handling of entity identification. Updated project files to reflect new dependency versions for improved compatibility and features. Cleaned up using directives to remove obsolete references, enhancing code maintainability.
31 lines
647 B
C#
31 lines
647 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.DTOs
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public record EmailTemplateDto
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public int Id{ get; init; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public required string Name { get; init; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public required string Body { get; set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public required string Subject { get; set; }
|
|
};
|
|
} |