dotnet-dynamic-query/PoweredSoft.DynamicQuery/QueryCriteria.cs

18 lines
585 B
C#
Raw Normal View History

2018-10-17 22:14:21 -04:00
using PoweredSoft.DynamicQuery.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace PoweredSoft.DynamicQuery
{
public class QueryCriteria : IQueryCriteria
{
public int? Page { get; set; }
public int? PageSize { get; set; }
public List<ISort> Sorts { get; set; } = new List<ISort>();
public List<IFilter> Filters { get; set; } = new List<IFilter>();
public List<IGroup> Groups { get; set; } = new List<IGroup>();
public List<IAggregate> Aggregates { get; set; } = new List<IAggregate>();
}
}