using DigitalData.EmailProfilerDispatcher.Abstraction.Attributes; using DigitalData.UserManager.Application.DTOs.User; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.Application.DTOs { public record EnvelopeDto() { public int Id { get; set; } public int UserId { get; set; } public int Status { get; set; } public string Uuid { get; set; } [TemplatePlaceholder("[MESSAGE]")] public string Message { get; set; } public DateTime? ExpiresWhen { get; set; } public DateTime? ExpiresWarningWhen { get; set; } public DateTime AddedWhen { get; set; } public DateTime? ChangedWhen { get; set; } [TemplatePlaceholder("[DOCUMENT_TITLE]")] public string Title { get; set; } public int? ContractType { get; set; } public string Language { get; set; } public bool? SendReminderEmails { get; set; } public int? FirstReminderDays { get; set; } public int? ReminderIntervalDays { get; set; } public int? EnvelopeTypeId { get; set; } public int? CertificationType { get; set; } public bool? UseAccessCode { get; set; } public int? FinalEmailToCreator { get; set; } public int? FinalEmailToReceivers { get; set; } public int? ExpiresWhenDays { get; set; } public int? ExpiresWarningWhenDays { get; set; } public bool DmzMoved { get; set; } public UserReadDto? User { get; set; } public EnvelopeType? EnvelopeType { get; set; } public string? EnvelopeTypeTitle { get; set; } public bool IsAlreadySent { get; set; } public string? StatusTranslated { get; set; } public string? ContractTypeTranslated { get; set; } public IEnumerable? Documents { get; set; } } }