Files
xModels/Dtos/XPageResponse.cs
T
2024-01-25 04:37:38 +03:30

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; }
}
}