using DigitalData.EmailProfilerDispatcher.Abstraction.Attributes; using DigitalData.UserManager.Application.DTOs.User; using EnvelopeGenerator.Application.Envelopes.Queries; using EnvelopeGenerator.Domain.Entities; using Microsoft.AspNetCore.Mvc; namespace EnvelopeGenerator.Application.Dto; /// /// /// [ApiExplorerSettings(IgnoreApi = true)] public record EnvelopeDto { /// /// /// public int Id { get; set; } /// /// /// public int UserId { get; set; } /// /// /// public required EnvelopeStatus Status { get; set; } /// /// Default value is string.Empty /// public string StatusName { get; set; } = string.Empty; /// /// Default value is string.Empty /// public string Uuid { get; set; } = string.Empty; /// /// Default value is string.Empty /// [TemplatePlaceholder("[MESSAGE]")] public string Message { get; set; } = string.Empty; /// /// /// public DateTime AddedWhen { get; set; } /// /// /// public DateTime? ChangedWhen { get; set; } /// /// Default value is string.Empty /// [TemplatePlaceholder("[DOCUMENT_TITLE]")] public string Title { get; set; } = string.Empty; /// /// /// public int? ContractType { get; set; } /// /// Default value is 'de-DE' /// public string Language { get; set; } = "de-DE"; /// /// /// public int? EnvelopeTypeId { get; set; } /// /// /// public int? CertificationType { get; set; } /// /// /// public bool? UseAccessCode { get; set; } /// /// /// public bool TFAEnabled { get; init; } /// /// /// public UserReadDto? User { get; set; } /// /// /// public EnvelopeType? EnvelopeType { get; set; } /// /// /// public string? EnvelopeTypeTitle { get; set; } /// /// /// public bool IsAlreadySent { get; set; } /// /// /// public byte[]? DocResult { get; init; } /// /// /// public IEnumerable? Documents { get; set; } }