We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 025223d commit 66ae458Copy full SHA for 66ae458
src/KSFramework/Pagination/OrderingRequestOptions.cs
@@ -0,0 +1,8 @@
1
+namespace KSFramework.Pagination;
2
+
3
+public class OrderingRequestOptions
4
+ : PaginationRequestOptions
5
+{
6
+ public string OrderByPropertyName { get; set; } = "Id";
7
+ public bool Desc { get; set; } = false;
8
+}
src/KSFramework/Pagination/PaginationRequestOptions.cs
@@ -0,0 +1,7 @@
+public class PaginationRequestOptions
+ public int PageIndex { get; set; } = 1;
+ public int PageSize { get; set; } = 20;
src/KSFramework/Pagination/SearchRequestOptions.cs
+public class SearchRequestOptions
+ : OrderingRequestOptions
+ public string SearchTerm { get; set; } = string.Empty;
0 commit comments