namespace RolemasterDb.ImportTool.Parsing;

public sealed class ParsedCriticalTable(
    string slug,
    string displayName,
    string family,
    string sourceDocument,
    string? notes,
    IReadOnlyList<ParsedCriticalGroup> groups,
    IReadOnlyList<ParsedCriticalColumn> columns,
    IReadOnlyList<ParsedCriticalRollBand> rollBands,
    IReadOnlyList<ParsedCriticalResult> results)
{
    public string Slug { get; } = slug;
    public string DisplayName { get; } = displayName;
    public string Family { get; } = family;
    public string SourceDocument { get; } = sourceDocument;
    public string? Notes { get; } = notes;
    public IReadOnlyList<ParsedCriticalGroup> Groups { get; } = groups;
    public IReadOnlyList<ParsedCriticalColumn> Columns { get; } = columns;
    public IReadOnlyList<ParsedCriticalRollBand> RollBands { get; } = rollBands;
    public IReadOnlyList<ParsedCriticalResult> Results { get; } = results;
}
