30 lines
1.1 KiB
C#
30 lines
1.1 KiB
C#
namespace PlotLine.Models.WritingSolver;
|
|
|
|
public sealed class WritingProblemCatalog
|
|
{
|
|
public int Version { get; set; }
|
|
public List<WritingProblemArea> Areas { get; set; } = [];
|
|
public List<WritingProblemArticle> Pages { get; set; } = [];
|
|
}
|
|
public sealed class WritingProblemArea
|
|
{
|
|
public string Id { get; set; } = "";
|
|
public string Title { get; set; } = "";
|
|
public string Description { get; set; } = "";
|
|
}
|
|
public sealed class WritingProblemArticle
|
|
{
|
|
public string Solution { get; set; } = "";
|
|
public string Area { get; set; } = "";
|
|
public string Title { get; set; } = "";
|
|
public string Description { get; set; } = "";
|
|
public string Recognition { get; set; } = "";
|
|
public string Cause { get; set; } = "";
|
|
public List<string> Inspect { get; set; } = [];
|
|
public string Model { get; set; } = "";
|
|
public string Distinction { get; set; } = "";
|
|
public List<string> SearchIntents { get; set; } = [];
|
|
public List<string> Related { get; set; } = [];
|
|
}
|
|
public sealed record WritingProblemBrowse(SolverGraph Graph, WritingProblemCatalog Catalog, WritingProblemArea? Area);
|