16 lines
473 B
C#
16 lines
473 B
C#
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; }
|
|
}
|
|
|
|
} |