namespace ILoan.Tools.Domain.Enums; /// /// The comparison to apply to the rule value. /// [Description("The comparison to apply to the rule value")] public enum RuleComparison { /// /// The rule should contain a value. /// [Display(Name = "contains")] Contains, /// /// The rule should not contain a value. /// [Display(Name = "does not contain")] DoesNotContain, /// /// The rule should start with a value. /// [Display(Name = "starts with")] StartsWith, /// /// The rule should not start with a value. /// [Display(Name = "does not start with")] DoesNotStartWith, /// /// The rule should be lower than a value. /// [Display(Name = "lower than")] LowerThan, /// /// The rule should be lower than or equal to a value. /// [Display(Name = "lower than or equal to")] LowerThanOrEqualTo, /// /// The rule should be greater than a value. /// [Display(Name = "greater than")] GreaterThan, /// /// The rule should be greater than or equal to a value. /// [Display(Name = "greater than or equal to")] GreaterThanOrEqualTo, /// /// The rule should be equal to a value. /// [Display(Name = "is")] Is, /// /// The rule should not be equal to a value. /// [Display(Name = "is not")] IsNot, /// /// The rule value should be similar to a value. /// [Display(Name = "similar to")] SimilarTo }