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.
27 lines
748 B
C#
27 lines
748 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.DTOs.Receiver;
|
|
|
|
/// <summary>
|
|
/// Data Transfer Object for updating a receiver's information.
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public class ReceiverUpdateDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier of the receiver.
|
|
/// </summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the TOTP (Time-based One-Time Password) secret key.
|
|
/// Optional.
|
|
/// </summary>
|
|
public string? TotpSecretkey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the deadline for two-factor authentication registration.
|
|
/// Optional.
|
|
/// </summary>
|
|
public DateTime? TfaRegDeadline { get; set; }
|
|
} |