apiServiceObj.cs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  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 apiServiceObj
  11. {
  12. [JsonProperty("ws_id")]
  13. public string ws_id { get; set; }
  14. [JsonProperty("ws_name")]
  15. public string ws_name { get; set; }
  16. [JsonProperty("ws_code")]
  17. public string ws_code { get; set; }
  18. [JsonProperty("wsdl")]
  19. public string wsdl { get; set; }
  20. [JsonProperty("msg_template")]
  21. public string msg_template { get; set; }
  22. [JsonProperty("error_tag")]
  23. public string error_tag { get; set; }
  24. [JsonProperty("isActive")]
  25. public string isActive { get; set; }
  26. public override string ToString()
  27. {
  28. return JsonConvert.SerializeObject(this);
  29. }
  30. }
  31. public class apiServiceObjList : Response
  32. {
  33. [JsonProperty("rowsOnPage")]
  34. public string rowsOnPage { get; set; }
  35. [JsonProperty("seqPage")]
  36. public string seqPage { get; set; }
  37. [JsonProperty("totalPage")]
  38. public string totalPage { get; set; }
  39. [JsonProperty("apiServiceObjList")]
  40. public apiServiceObj[] list { get; set; }
  41. public override string ToString()
  42. {
  43. return JsonConvert.SerializeObject(this);
  44. }
  45. }
  46. }