2021-11-19 16:11:12 +01:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace zero.Routing;
|
|
|
|
|
|
|
|
|
|
public class Link
|
|
|
|
|
{
|
|
|
|
|
public string Area { get; set; }
|
|
|
|
|
|
|
|
|
|
public LinkTarget Target { get; set; }
|
|
|
|
|
|
|
|
|
|
public string UrlSuffix { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Title { get; set; }
|
|
|
|
|
|
2022-01-12 17:15:05 +01:00
|
|
|
public Dictionary<string, string> Values { get; set; } = new();
|
2021-11-19 16:11:12 +01:00
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// [Warning] This field is always empty when bound to the database.
|
|
|
|
|
/// It is only filled in the app-code for routing.
|
|
|
|
|
/// </summary>
|
|
|
|
|
[JsonIgnore]
|
|
|
|
|
public string Url { get; set; }
|
|
|
|
|
}
|