lotoImportData.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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 lotoImportData
  9. {
  10. [JsonProperty("winnerId")]
  11. public string winnerId { get; set; }
  12. [JsonProperty("msisdn")]
  13. public string msisdn { get; set; }
  14. [JsonProperty("money")]
  15. public string money { get; set; }
  16. [JsonProperty("randomId")]
  17. public string randomId { get; set; }
  18. [JsonProperty("betId")]
  19. public string betId { get; set; }
  20. [JsonProperty("winnerCode")]
  21. public string winnerCode { get; set; }
  22. public override string ToString()
  23. {
  24. return JsonConvert.SerializeObject(this);
  25. }
  26. }
  27. public class lotoImportDataList
  28. {
  29. [JsonProperty("exportId")]
  30. public string exportId { get; set; }
  31. [JsonProperty("data")]
  32. public lotoImportData[] data { get; set; }
  33. public override string ToString()
  34. {
  35. return JsonConvert.SerializeObject(this);
  36. }
  37. }
  38. }