Add configurable menu structure and purchasing area

This commit is contained in:
2026-06-05 07:03:08 +02:00
parent bed1f5f0ba
commit 6f094fcac6
15 changed files with 710 additions and 101 deletions
@@ -0,0 +1,26 @@
namespace TrafagSalesExporter.Models;
public class NavigationMenuItem
{
public int Id { get; set; }
public string Key { get; set; } = string.Empty;
public string? ParentKey { get; set; }
public string TitleDe { get; set; } = string.Empty;
public string TitleEn { get; set; } = string.Empty;
public string Icon { get; set; } = string.Empty;
public string Href { get; set; } = string.Empty;
public string ItemType { get; set; } = NavigationMenuItemTypes.Link;
public string Match { get; set; } = "Prefix";
public string RequiredPolicy { get; set; } = string.Empty;
public bool IsVisible { get; set; } = true;
public bool IsExpanded { get; set; }
public bool IsSystem { get; set; } = true;
public int SortOrder { get; set; }
}
public static class NavigationMenuItemTypes
{
public const string Group = "Group";
public const string Link = "Link";
public const string Action = "Action";
}