1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-23 02:05:27 +02:00
Sonarr/src/NzbDrone.Core/Datastore/PagingSpec.cs
Mark McDowall 27511769ae Episode activity goes through History now
Do not report exceptions on linux (culture is null and fails)
2013-10-06 11:06:39 -07:00

24 lines
604 B
C#

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
namespace NzbDrone.Core.Datastore
{
public class PagingSpec<TModel>
{
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<TModel> Records { get; set; }
public Expression<Func<TModel, bool>> FilterExpression { get; set; }
}
public enum SortDirection
{
Ascending,
Descending
}
}