apiServiceObj.cs 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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("success_code")]
  25. public string success_code { get; set; }
  26. [JsonProperty("isActive")]
  27. public string isActive { get; set; }
  28. public override string ToString()
  29. {
  30. return JsonConvert.SerializeObject(this);
  31. }
  32. }
  33. public class apiServiceObjList : Response
  34. {
  35. [JsonProperty("rowsOnPage")]
  36. public string rowsOnPage { get; set; }
  37. [JsonProperty("seqPage")]
  38. public string seqPage { get; set; }
  39. [JsonProperty("totalPage")]
  40. public string totalPage { get; set; }
  41. [JsonProperty("apiServiceObjList")]
  42. public apiServiceObj[] list { get; set; }
  43. public override string ToString()
  44. {
  45. return JsonConvert.SerializeObject(this);
  46. }
  47. }
  48. }