using DigitalData.Core.Abstractions;
using Microsoft.AspNetCore.Mvc;
namespace EnvelopeGenerator.Application.DTOs;
///
/// Data Transfer Object representing the status of a document for a specific receiver.
///
[ApiExplorerSettings(IgnoreApi = true)]
public class DocumentStatusDto : IUnique
{
///
/// Gets or sets the unique identifier of the document status entry.
///
public int Id { get; set; }
///
/// Gets or sets the ID of the associated envelope.
///
public int EnvelopeId { get; set; }
///
/// Gets or sets the ID of the receiver associated with this status.
///
public int ReceiverId { get; set; }
///
/// Gets or sets the current status code.
///
public int Status { get; set; }
///
/// Gets or sets the timestamp when the status was changed.
///
public DateTime? StatusChangedWhen { get; set; }
///
/// Gets or sets the timestamp when this record was added.
///
public DateTime AddedWhen { get; set; }
///
/// Gets or sets the timestamp when this record was last changed.
///
public DateTime? ChangedWhen { get; set; }
///
/// Gets or sets the display value associated with the status.
///
public string? Value { get; set; }
}