2013-06-19 01:01:08 +00:00
|
|
|
|
using System.Collections.Generic;
|
2013-05-02 05:50:34 +00:00
|
|
|
|
|
|
|
|
|
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; }
|
2013-05-07 07:22:19 +00:00
|
|
|
|
public SortDirection SortDirection { get; set; }
|
|
|
|
|
public List<TModel> Records { get; set; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public enum SortDirection
|
|
|
|
|
{
|
|
|
|
|
Ascending,
|
|
|
|
|
Descending
|
2013-05-02 05:50:34 +00:00
|
|
|
|
}
|
|
|
|
|
}
|