Initial Commit ...
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace xModels.Dtos {
|
||||
/// <summary>
|
||||
/// Result of a Requested Page of Data based on Cursor ...
|
||||
/// this only be Used in GraphQL ...
|
||||
/// </summary>
|
||||
/// <typeparam name="T"></typeparam>
|
||||
public class XPageResponse<T> {
|
||||
public List<T> Nodes { get; set; }
|
||||
public int TotalCount { get; set; }
|
||||
public bool HasNextPage { get; set; }
|
||||
public bool HasPreviousPage { get; set; }
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user