using System.Text.Json.Serialization; namespace EnvelopeGenerator.ReceiverUI.Models; public class EnvelopeDto { [JsonPropertyName("id")] public int Id { get; set; } [JsonPropertyName("uuid")] public string? Uuid { get; set; } [JsonPropertyName("title")] public string? Title { get; set; } [JsonPropertyName("status")] public int Status { get; set; } [JsonPropertyName("docResult")] public byte[]? DocResult { get; set; } [JsonPropertyName("envelopeReceivers")] public List EnvelopeReceivers { get; set; } = new(); } /// /// Simplified receiver model for envelope list display /// public class EnvelopeReceiverSimpleDto { [JsonPropertyName("name")] public string? Name { get; set; } [JsonPropertyName("email")] public string? Email { get; set; } [JsonPropertyName("signed")] public bool Signed { get; set; } }