// src/Elecciones.Core/DTOs/CatalogoDto.cs
using System.Text.Json.Serialization;

namespace Elecciones.Core.DTOs;

public class CatalogoDto
{
    [JsonPropertyName("version")]
    public int Version { get; set; }

    [JsonPropertyName("categoriaId")]
    public int CategoriaId { get; set; }

    [JsonPropertyName("ambitos")]
    public List<AmbitoDto> Ambitos { get; set; } = [];

    [JsonPropertyName("niveles")]
    public List<NivelDto> Niveles { get; set; } = [];
}