ngamObj.cs 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  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 ngamObj
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("name")]
  15. public string name { get; set; }
  16. [JsonProperty("serviceId")]
  17. public string serviceId { get; set; }
  18. [JsonProperty("message")]
  19. public string message { get; set; }
  20. [JsonProperty("fromDate")]
  21. public string fromDate { get; set; }
  22. [JsonProperty("toDate")]
  23. public string toDate { get; set; }
  24. [JsonProperty("percent")]
  25. public string percent { get; set; }
  26. [JsonProperty("addType")]
  27. public string addType { get; set; }
  28. [JsonProperty("sysdate")]
  29. public string sysdate { get; set; }
  30. public override string ToString()
  31. {
  32. return JsonConvert.SerializeObject(this);
  33. }
  34. }
  35. public class ngamObjList : 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 ngamObj[] list { get; set; }
  45. public override string ToString()
  46. {
  47. return JsonConvert.SerializeObject(this);
  48. }
  49. }
  50. }