paramObj.cs 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. namespace CommonObj.model
  7. {
  8. public class paramObj
  9. {
  10. [JsonProperty("id")]
  11. public string id { get; set; }
  12. [JsonProperty("code")]
  13. public string code { get; set; }
  14. [JsonProperty("values")]
  15. public string values { get; set; }
  16. [JsonProperty("note")]
  17. public string note { get; set; }
  18. [JsonProperty("status")]
  19. public string status { get; set; }
  20. [JsonProperty("codeGroup")]
  21. public string codeGroup { get; set; }
  22. [JsonProperty("display0")]
  23. public string display0 { get; set; }
  24. [JsonProperty("display1")]
  25. public string display1 { get; set; }
  26. [JsonProperty("display2")]
  27. public string display2 { get; set; }
  28. [JsonProperty("display3")]
  29. public string display3 { get; set; }
  30. [JsonProperty("display4")]
  31. public string display4 { get; set; }
  32. [JsonProperty("display5")]
  33. public string display5 { get; set; }
  34. [JsonProperty("gameId")]
  35. public string gameId { get; set; }
  36. [JsonProperty("channel")]
  37. public string channel { get; set; }
  38. public override string ToString()
  39. {
  40. return JsonConvert.SerializeObject(this);
  41. }
  42. }
  43. public class paramObjList : Response
  44. {
  45. [JsonProperty("rowsOnPage")]
  46. public string rowsOnPage { get; set; }
  47. [JsonProperty("seqPage")]
  48. public string seqPage { get; set; }
  49. [JsonProperty("totalPage")]
  50. public string totalPage { get; set; }
  51. [JsonProperty("paramObjList")]
  52. public paramObj[] list { get; set; }
  53. public override string ToString()
  54. {
  55. return JsonConvert.SerializeObject(this);
  56. }
  57. }
  58. }