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.
50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using Microsoft.AspNetCore.Mvc;
|
|
|
|
namespace EnvelopeGenerator.Application.DTOs;
|
|
|
|
/// <summary>
|
|
/// Data Transfer Object representing the status of a document for a specific receiver.
|
|
/// </summary>
|
|
[ApiExplorerSettings(IgnoreApi = true)]
|
|
public class DocumentStatusDto
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the unique identifier of the document status entry.
|
|
/// </summary>
|
|
public int Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ID of the associated envelope.
|
|
/// </summary>
|
|
public int EnvelopeId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the ID of the receiver associated with this status.
|
|
/// </summary>
|
|
public int ReceiverId { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the current status code.
|
|
/// </summary>
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the timestamp when the status was changed.
|
|
/// </summary>
|
|
public DateTime? StatusChangedWhen { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the timestamp when this record was added.
|
|
/// </summary>
|
|
public DateTime AddedWhen { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the timestamp when this record was last changed.
|
|
/// </summary>
|
|
public DateTime? ChangedWhen { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the display value associated with the status.
|
|
/// </summary>
|
|
public string? Value { get; set; }
|
|
} |