newsWebLotteryResponse.cs 598 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Web;
  5. using Newtonsoft.Json;
  6. namespace ResfullApi.Models
  7. {
  8. [Serializable]
  9. public class newsWebLotteryResponse
  10. {
  11. [JsonProperty("status")]
  12. public string status { get; set; }
  13. [JsonProperty("message")]
  14. public string message { get; set; }
  15. [JsonProperty("listLottery")]
  16. public newsWebLotteryObj[] listLottery { get; set; }
  17. public override string ToString()
  18. {
  19. return JsonConvert.SerializeObject(this);
  20. }
  21. }
  22. }