mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-20 13:33:34 -07:00
Pagination for missing is alive!
This commit is contained in:
parent
c9b9d7b956
commit
b4242f9fb2
17 changed files with 235 additions and 22 deletions
18
NzbDrone.Core/Datastore/PagingSpec.cs
Normal file
18
NzbDrone.Core/Datastore/PagingSpec.cs
Normal file
|
@ -0,0 +1,18 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
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 ListSortDirection SortDirection { get; set; }
|
||||
public List<TModel> Records { get; set; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue