usersObj.cs 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using ApiProcess.Models.bet;
  6. using CommonObj.model;
  7. using Newtonsoft.Json;
  8. namespace ApiProcess.Models.balance
  9. {
  10. public class usersObj
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("userName")]
  15. public string userName { get; set; }
  16. [JsonProperty("pasword")]
  17. public string pasword { get; set; }
  18. [JsonProperty("role")]
  19. public string role { get; set; }
  20. [JsonProperty("contryCode")]
  21. public string contryCode { get; set; }
  22. [JsonProperty("isLock")]
  23. public string isLock { get; set; }
  24. [JsonProperty("totalFalse")]
  25. public string totalFalse { get; set; }
  26. [JsonProperty("timeLock")]
  27. public string timeLock { get; set; }
  28. [JsonProperty("note")]
  29. public string note { get; set; }
  30. public override string ToString()
  31. {
  32. return JsonConvert.SerializeObject(this);
  33. }
  34. }
  35. public class usersObjList : Response
  36. {
  37. [JsonProperty("rowsOnPage")]
  38. public string rowsOnPage { get; set; }
  39. [JsonProperty("seqPage")]
  40. public string seqPage { get; set; }
  41. [JsonProperty("totalPage")]
  42. public string totalPage { get; set; }
  43. [JsonProperty("usersObjList")]
  44. public usersObj[] list { get; set; }
  45. public override string ToString()
  46. {
  47. return JsonConvert.SerializeObject(this);
  48. }
  49. }
  50. }