Added option to add properties to rule (#66)
* Allow custom property or tags to be added on Rule Co-authored-by: Anurag Tripathi <anurag.tripathi@microsoft.com>pull/69/head
parent
b68861dfd5
commit
487da74797
|
@ -17,6 +17,14 @@ namespace RulesEngine.Models
|
|||
public class Rule
|
||||
{
|
||||
public string RuleName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the custom property or tags of the rule.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The properties of the rule.
|
||||
/// </value>
|
||||
public Dictionary<string, object> Properties { get; set; }
|
||||
public string Operator { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
|
||||
|
|
Loading…
Reference in New Issue