namespace SIGCM2.Application.TiposDeIva.Dtos;

public sealed record HistorialCadenaDto(
    int Id,
    string Codigo,
    decimal Porcentaje,
    DateOnly VigenciaDesde,
    DateOnly? VigenciaHasta,
    int? PredecesorId,
    /// <summary>1-based index in the version chain (1 = root, N = current).</summary>
    int Version
);
