添加项目文件。

This commit is contained in:
Zel
2025-01-22 23:31:03 +08:00
parent 1b8ba6771f
commit 2ae76476fb
894 changed files with 774558 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
namespace TightWiki.Models.DataModels
{
public class PageToken
{
public int PageId { get; set; }
public string Token { get; set; } = string.Empty;
public string DoubleMetaphone { get; set; } = string.Empty;
public double Weight { get; set; }
public override bool Equals(object? obj)
{
return obj is PageToken other
&& PageId == other.PageId
&& string.Equals(Token, other.Token, StringComparison.OrdinalIgnoreCase);
}
public override int GetHashCode()
{
return HashCode.Combine(PageId, Token.ToLower());
}
}
}