2024-03-29 11:57:54 +08:00

22 lines
478 B
C#

using System;
namespace AIProofread
{
public class DocumentText
{
public string Hash { get; set; }
public string Text { get; set; }
public DocumentText() { }
public DocumentText(string text)
{
this.Text = text;
}
public DocumentText(byte[] hash, string text)
{
this.Hash = BitConverter.ToString(hash).ToLower().Replace("-", "");
this.Text = text;
}
}
}