2013-05-02 08:50:34 +03:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using System.Linq;
|
|
|
|
using System.Text;
|
2013-05-13 09:12:19 +03:00
|
|
|
using NzbDrone.Core.Datastore;
|
2013-05-02 08:50:34 +03:00
|
|
|
|
|
|
|
namespace NzbDrone.Api
|
|
|
|
{
|
|
|
|
public class PagingResource<TModel>
|
|
|
|
{
|
|
|
|
public int Page { get; set; }
|
2013-05-13 09:12:19 +03:00
|
|
|
public int PageSize { get; set; }
|
2013-05-02 08:50:34 +03:00
|
|
|
public string SortKey { get; set; }
|
2013-05-13 09:12:19 +03:00
|
|
|
public SortDirection SortDirection { get; set; }
|
2013-05-02 08:50:34 +03:00
|
|
|
public int TotalRecords { get; set; }
|
|
|
|
public List<TModel> Records { get; set; }
|
|
|
|
}
|
|
|
|
}
|