last ...
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
namespace xModels.Base
|
||||
{
|
||||
public class XBaseValueContainer<T>
|
||||
{
|
||||
public T Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,14 +0,0 @@
|
||||
namespace xModels.Dtos {
|
||||
/// <summary>
|
||||
/// Request a Page of Data based on Cursor ...
|
||||
/// this only be Used in GraphQL ...
|
||||
/// </summary>
|
||||
public class XPageRequest {
|
||||
public int? First { get; set; }
|
||||
public int? Last { get; set; }
|
||||
public string After { get; set; } = "";
|
||||
public string Before { get; set; } = "";
|
||||
public string SortBy { get; set; } = "";
|
||||
public bool DescendingSort { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,16 +0,0 @@
|
||||
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