QueryOrder.cs 849 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace WebAPIBase.NetCore.BusinessCore
  7. {
  8. public class QueryOrder
  9. {
  10. private string m_Name = "";
  11. private bool m_Sort = true;
  12. public string Name
  13. {
  14. get
  15. {
  16. return m_Name;
  17. }
  18. set
  19. {
  20. m_Name = value;
  21. }
  22. }
  23. public bool Sort
  24. {
  25. get
  26. {
  27. return m_Sort;
  28. }
  29. set
  30. {
  31. m_Sort = value;
  32. }
  33. }
  34. public QueryOrder()
  35. {
  36. }
  37. public QueryOrder(string name, bool sort)
  38. {
  39. m_Name = name;
  40. m_Sort = sort;
  41. }
  42. }
  43. }