blob: c0d3fb06e97d4001be80c79cd25962847d16b475 [file] [log] [blame]
using System.Collections.Generic;
namespace Casbin.Model
{
/// <summary>
/// Represents an expression in a section of the model.
/// For example: r = sub, obj, act
/// </summary>
public abstract class Assertion : IReadOnlyAssertion
{
public string Section { get; internal init; }
public string Key { get; internal init; }
public string Value { get; internal set; }
public IReadOnlyDictionary<string, int> Tokens { get; internal set; }
}
}