namespace Coldairarrow.Util { /// <summary> /// Paging query base class /// </summary> public
class PageInput { private string _sortType { get; set; } = "asc"; /// <summary>
/// Current page number /// </summary> public int PageIndex { get; set; } = 1; /// <summary>
/// Pages per row /// </summary> public int PageRows { get; set; } = int.MaxValue; ///
<summary> /// Sort column /// </summary> public string SortField { get; set; } = "Id";
/// <summary> /// Sort type /// </summary> public string SortType { get => _sortType;
set => _sortType = (value ?? string.Empty).ToLower().Contains("desc") ? "desc" :
"asc"; } } }

Technology
©2019-2020 Toolsou All rights reserved,
Unity3D Input Key system ( Essence )2020 year 6 month 26 day C# Class library GUID Help class Vue el-select obtain label value ElementUI In the select Of label value python obtain excel A column or row of data ( Essence )2020 year 8 month 2 day TypeScript The use of generics about Bellman-Ford Personal understanding of algorithms Result Encapsulation of return result information Maximum security risk of cloud computing : Unclear safety responsibility Golang Array bisection , Array split , Array grouping