namespace Strata.SqlTools.Query; public class FilterCondition { public FilterOperator Operator { get; set; } public IEnumerable? Values { get; set; } // This is not hereditary to Values; it is used for combination with the next FilterCondition in the set. // Could be indexed in future to ensure accuracy if order-of-evaluation across siblings ever matters. public LogicalOperator LogicalOperator { get; set; } public bool IsValid() { return Values != null && Values.Any(); } }