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,
java Four functional interfaces ( a key , simple )os Simple use of module Browser kernel ( understand ) Some East 14 Pay change 16 salary , Sincerity or routine ?HashMap Explain in detail It's unexpected Python Cherry tree (turtle The gorgeous style of Library )html Writing about cherry trees , Writing about cherry trees