mirror of
https://github.com/Radarr/Radarr
synced 2024-12-26 17:59:14 +00:00
20 lines
482 B
C#
20 lines
482 B
C#
using System.Collections.Generic;
|
|
|
|
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
|
|
}
|
|
}
|