You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

LuOrderByFieldDbo.cs 394B

1234567891011121314151617
  1. using Luticate2.Auth.Utils.Dbo.Fields;
  2. namespace Luticate2.Auth.Utils.Dbo.Pagination
  3. {
  4. public class LuOrderByFieldDbo
  5. {
  6. public LuFieldDbo Field { get; set; }
  7. public bool Asc { get; set; } = true;
  8. public override string ToString()
  9. {
  10. var asc = Asc ? "ASC" : "DESC";
  11. return $"{string.Join(".", Field)}:{asc}";
  12. }
  13. }
  14. }