newsWebLotteryObj.cs 838 B

12345678910111213141516171819202122232425262728293031323334353637
  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 newsWebLotteryObj
  10. {
  11. [JsonProperty("id")]
  12. public string id { get; set; }
  13. [JsonProperty("sysdate")]
  14. public string sysdate { get; set; }
  15. [JsonProperty("numberMorning")]
  16. public string numberMorning { get; set; }
  17. [JsonProperty("numberEvening")]
  18. public string numberEvening { get; set; }
  19. [JsonProperty("win4Morning")]
  20. public string win4Morning { get; set; }
  21. [JsonProperty("win4Evening")]
  22. public string win4Evening { get; set; }
  23. public override string ToString()
  24. {
  25. return JsonConvert.SerializeObject(this);
  26. }
  27. }
  28. }