termObj.cs 775 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace CommonObj.model
  6. {
  7. public class termObj
  8. {
  9. [JsonProperty("id")]
  10. public string id { get; set; }
  11. [JsonProperty("status")]
  12. public string status { get; set; }
  13. [JsonProperty("startDate")]
  14. public string startDate { get; set; }
  15. [JsonProperty("endDate")]
  16. public string endDate { get; set; }
  17. [JsonProperty("randomDate")]
  18. public string randomDate { get; set; }
  19. [JsonProperty("moneyWinner")]
  20. public string moneyWinner { get; set; }
  21. public override string ToString()
  22. {
  23. return JsonConvert.SerializeObject(this);
  24. }
  25. }
  26. }