A serializable object for the Kendo Grid Filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class CompositeFilterDescriptor | |
{ | |
[JsonProperty("logic")] | |
public string Logic { get; set; } | |
[JsonProperty("filters")] | |
public ICollection<CompositeFilterDescriptor> Filters { get; set; } | |
[JsonProperty("field")] | |
public string Field { get; set; } | |
[JsonProperty("operator")] | |
public string Operator { get; set; } | |
[JsonProperty("value")] | |
public object Value { get; set; } | |
[JsonProperty("ignoreCase")] | |
public bool? IgnoreCase { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Page | |
{ | |
public int Skip { get; set; } | |
public int Take { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class RequestDto | |
{ | |
public CompositeFilterDescriptor Filters { get; set; } | |
public Page Page { get; set; } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment