using System; using System.Collections.Generic; using System.Linq.Expressions; namespace NzbDrone.Core.Datastore { public class PagingSpec { public int Page { get; set; } public int PageSize { get; set; } public int TotalRecords { get; set; } public string SortKey { get; set; } public SortDirection SortDirection { get; set; } public List Records { get; set; } public List>> FilterExpressions { get; set; } public PagingSpec() { FilterExpressions = new List>>(); } } public enum SortDirection { Default, Ascending, Descending } }