Add automatic AreaCity catalog bootstrap and region tree management
This commit is contained in:
1 parent
e39c265f66
commit
6d2b042d46
10 files changed
+42870
-5
No files matched your search
@@ -0,0 +1,3 @@
|
||||
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<RegionTreeNode>? Children { get; set; } }
|
||||
Reference in new issue
Block a user