31 lines
952 B
C#
31 lines
952 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.Common.Dto.EnvelopeReceiverReadOnly;
|
|
|
|
/// <summary>
|
|
/// Data Transfer Object for updating a read-only envelope receiver.
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public class EnvelopeReceiverReadOnlyUpdateDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier of the envelope receiver.
|
|
/// </summary>
|
|
public long Id { get; init; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the date when the envelope receiver becomes valid.
|
|
/// </summary>
|
|
public DateTime DateValid { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the name of the user who made the change.
|
|
/// Default value is unknown.
|
|
/// </summary>
|
|
public string ChangedWho { get; set; } = "Unknown";
|
|
|
|
/// <summary>
|
|
/// Gets or sets the date and time when the change was made.
|
|
/// </summary>
|
|
public DateTime ChangedWhen { get; set; } = DateTime.Now;
|
|
} |