Lotto.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using System.Text.Json.Serialization;
  2. namespace economy.Models.Lotto
  3. {
  4. public class Response
  5. {
  6. // 요청 결과
  7. [JsonPropertyName("returnValue")]
  8. public string ReturnValue { get; set; }
  9. // 총 판매금액
  10. [JsonPropertyName("totSellamnt")]
  11. public long TotalSellAmount { get; set; }
  12. // 추첨일
  13. [JsonPropertyName("drwNoDate")]
  14. public DateOnly DrawDate { get; set; }
  15. // 1게임당 당첨금액
  16. [JsonPropertyName("firstWinamnt")]
  17. public long FirstWinAmount { get; set; }
  18. // 1등 당첨인원
  19. [JsonPropertyName("firstPrzwnerCo")]
  20. public int FirstPrizeWinnerCount { get; set; }
  21. // 1등 총 당첨금액
  22. [JsonPropertyName("firstAccumamnt")]
  23. public long FirstAccumulatedAmount { get; set; }
  24. // 회차
  25. [JsonPropertyName("drwNo")]
  26. public int DrawNumber { get; set; }
  27. // 번호 1
  28. [JsonPropertyName("drwtNo1")]
  29. public int DrawnNumber1 { get; set; }
  30. // 번호 2
  31. [JsonPropertyName("drwtNo2")]
  32. public int DrawnNumber2 { get; set; }
  33. // 번호 3
  34. [JsonPropertyName("drwtNo3")]
  35. public int DrawnNumber3 { get; set; }
  36. // 번호 4
  37. [JsonPropertyName("drwtNo4")]
  38. public int DrawnNumber4 { get; set; }
  39. // 번호 5
  40. [JsonPropertyName("drwtNo5")]
  41. public int DrawnNumber5 { get; set; }
  42. // 번호 6
  43. [JsonPropertyName("drwtNo6")]
  44. public int DrawnNumber6 { get; set; }
  45. // 보너스 번호
  46. [JsonPropertyName("bnusNo")]
  47. public int BonusNumber { get; set; }
  48. }
  49. }