1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-03-03 18:15:37 +00:00
Lidarr/NzbDrone.Core/Datastore/PagingSpec.cs

21 lines
482 B
C#
Raw Normal View History

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