lksObjRandomResponse.cs 910 B

1234567891011121314151617181920212223242526272829303132333435
  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. // {"users":"50940227941","serviceId":"30","listNumber":"1$12$23%65$23$23","money":"30","times":"3"}
  10. public class lksObjRandomResponse
  11. {
  12. [JsonProperty("id")]
  13. public string id { get; set; }
  14. [JsonProperty("status")]
  15. public string status { get; set; }
  16. [JsonProperty("randomStr")]
  17. public string randomStr { get; set; }
  18. [JsonProperty("dateStart")]
  19. public string dateStart { get; set; }
  20. [JsonProperty("dateEnd")]
  21. public string dateEnd { get; set; }
  22. [JsonProperty("sysdate")]
  23. public string sysdate { get; set; }
  24. public override string ToString()
  25. {
  26. return JsonConvert.SerializeObject(this);
  27. }
  28. }
  29. }