betProcessObj.cs 880 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using Newtonsoft.Json;
  6. namespace ApiProcess.Models.bet
  7. {
  8. public class betProcessObj
  9. {
  10. [JsonProperty("seq")]
  11. public string seq { get; set; }
  12. [JsonProperty("ip")]
  13. public string ip { get; set; }
  14. [JsonProperty("port")]
  15. public string port { get; set; }
  16. [JsonProperty("timeout")]
  17. public string timeout { get; set; }
  18. public override string ToString()
  19. {
  20. return JsonConvert.SerializeObject(this);
  21. }
  22. }
  23. public class betProcessObjList
  24. {
  25. [JsonProperty("listBetProcess")]
  26. public betProcessObj[] listBetProcess { get; set; }
  27. public override string ToString()
  28. {
  29. return JsonConvert.SerializeObject(this);
  30. }
  31. }
  32. }