FilterRule.cs 577 B

1234567891011121314151617181920212223242526
  1. namespace LigerRM.Common
  2. {
  3. public class FilterRule
  4. {
  5. public FilterRule()
  6. {
  7. }
  8. public FilterRule(string field, object value)
  9. : this(field, value, "equal")
  10. {
  11. }
  12. public FilterRule(string field, object value, string op)
  13. {
  14. this.field = field;
  15. this.value = value;
  16. this.op = op;
  17. }
  18. public string field { get; set; }
  19. public object value { get; set; }
  20. public string op { get; set; }
  21. public string type { get; set; }
  22. }
  23. }