namespace SIGCM2.Application.Rubros.Dtos;

/// <summary>
/// Represents a single node in the N-ary Rubro tree returned by GetRubroTreeQuery.
/// </summary>
public sealed record RubroTreeNodeDto(
    int Id,
    string Nombre,
    int Orden,
    bool Activo,
    int? ParentId,
    int? TarifarioBaseId,
    bool TieneAvisos,
    IReadOnlyList<RubroTreeNodeDto> Hijos);
