1234567891011121314151617 |
- using Luticate2.Auth.Utils.Dbo.Fields;
-
- namespace Luticate2.Auth.Utils.Dbo.Pagination
- {
- public class LuOrderByFieldDbo
- {
- public LuFieldDbo Field { get; set; }
-
- public bool Asc { get; set; } = true;
-
- public override string ToString()
- {
- var asc = Asc ? "ASC" : "DESC";
- return $"{string.Join(".", Field)}:{asc}";
- }
- }
- }
|