usersObjStatusResponse.cs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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 usersObjStatusResponse
  10. {
  11. // {"status":"1","id":"23","msisdn":"5091234","users":"23","pass":"23","serviceId":"23","dateregist":"01/01/2019 00:00:00","isactive":"1","channel":"web","best_coin":"0","cast_coin":"0"}
  12. [JsonProperty("status")]
  13. public string status { get; set; }
  14. [JsonProperty("message")]
  15. public string message { get; set; }
  16. [JsonProperty("id")]
  17. public string id { get; set; }
  18. [JsonProperty("msisdn")]
  19. public string msisdn { get; set; }
  20. [JsonProperty("users")]
  21. public string users { get; set; }
  22. [JsonProperty("pass")]
  23. public string pass { get; set; }
  24. [JsonProperty("serviceId")]
  25. public string serviceid { get; set; }
  26. [JsonProperty("dateregist")]
  27. public string dateregist { get; set; }
  28. [JsonProperty("isactive")]
  29. public string isactive { get; set; }
  30. [JsonProperty("channel")]
  31. public string channel { get; set; }
  32. [JsonProperty("bet_coin")]
  33. public string bet_coin { get; set; }
  34. [JsonProperty("cash_coin")]
  35. public string cash_coin { get; set; }
  36. [JsonProperty("role")]
  37. public string role { get; set; }
  38. [JsonProperty("ranking")]
  39. public string ranking { get; set; }
  40. [JsonProperty("language")]
  41. public string language { get; set; }
  42. public override string ToString()
  43. {
  44. return JsonConvert.SerializeObject(this);
  45. }
  46. }
  47. }