Files
ZelWiki/ZelWiki.Models/DataModels/RelatedPage.cs
2025-02-20 15:20:28 +08:00

27 lines
729 B
C#

namespace ZelWiki.Models.DataModels
{
public partial class RelatedPage
{
public int Id { get; set; }
public string Name { get; set; } = string.Empty;
public string Navigation { get; set; } = string.Empty;
public string Description { get; set; } = string.Empty;
public int Matches { get; set; }
public int PaginationPageSize { get; set; }
public int PaginationPageCount { get; set; }
public string Title
{
get
{
if (Name.Contains("::"))
{
return Name.Substring(Name.IndexOf("::") + 2).Trim();
}
return Name;
}
}
}
}