using ElectionSystem.Api.Modules.Organization.Domain; namespace ElectionSystem.Api.Components.Pages.Admin; public sealed class RegionTreeNode(Guid id, string code, string name, AdministrativeRegionLevel level, bool active) { public Guid Id { get; } = id; public string Code { get; } = code; public string Name { get; } = name; public AdministrativeRegionLevel Level { get; } = level; public bool Active { get; } = active; public bool Expanded { get; set; } public List? Children { get; set; } }