namespace RolemasterDb.App.Domain;

public sealed class CriticalBranch
{
    public int Id { get; set; }
    public int CriticalResultId { get; set; }
    public string BranchKind { get; set; } = "conditional";
    public string? ConditionKey { get; set; }
    public string ConditionText { get; set; } = string.Empty;
    public string ConditionJson { get; set; } = "{}";
    public string RawText { get; set; } = string.Empty;
    public string DescriptionText { get; set; } = string.Empty;
    public string? RawAffixText { get; set; }
    public string ParsedJson { get; set; } = "{}";
    public int SortOrder { get; set; }
    public CriticalResult CriticalResult { get; set; } = null!;
    public List<CriticalEffect> Effects { get; set; } = [];
}
