objParams.cs 988 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 objParams : ResCommnon
  9. {
  10. [JsonProperty("paramList")]
  11. public objParam[] paramList { get; set; }
  12. public override string ToString()
  13. {
  14. return JsonConvert.SerializeObject(this);
  15. }
  16. public objParams()
  17. {
  18. }
  19. }
  20. public class objParam
  21. {
  22. [JsonProperty("id")]
  23. public string id { get; set; }
  24. [JsonProperty("codeGroup")]
  25. public string codeGroup { get; set; }
  26. [JsonProperty("code")]
  27. public string code { get; set; }
  28. [JsonProperty("values")]
  29. public string values { get; set; }
  30. [JsonProperty("display")]
  31. public string display { get; set; }
  32. [JsonProperty("channel")]
  33. public string channel { get; set; }
  34. }
  35. }