usersGiftSend.cs 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  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 usersGiftSend
  10. {
  11. [JsonProperty("seq")]
  12. public string seq { get; set; }
  13. [JsonProperty("giftSendId")]
  14. public string giftSendId { get; set; }
  15. [JsonProperty("usersSendId")]
  16. public string usersSendId { get; set; }
  17. [JsonProperty("usersSendName")]
  18. public string usersSendName { get; set; }
  19. [JsonProperty("usersRecevedId")]
  20. public string usersRecevedId { get; set; }
  21. [JsonProperty("usersRecevedName")]
  22. public string usersRecevedName { get; set; }
  23. [JsonProperty("dateSend")]
  24. public string dateSend { get; set; }
  25. [JsonProperty("giftId")]
  26. public string giftId { get; set; }
  27. [JsonProperty("code")]
  28. public string code { get; set; }
  29. [JsonProperty("name")]
  30. public string name { get; set; }
  31. [JsonProperty("chargMoney")]
  32. public string chargMoney { get; set; }
  33. [JsonProperty("chargeCode")]
  34. public string chargeCode { get; set; }
  35. [JsonProperty("coin")]
  36. public string coin { get; set; }
  37. [JsonProperty("status")]
  38. public string status { get; set; }
  39. public override string ToString()
  40. {
  41. return JsonConvert.SerializeObject(this);
  42. }
  43. }
  44. public class usersGiftSendList
  45. {
  46. [JsonProperty("status")]
  47. public string status { get; set; }
  48. [JsonProperty("message")]
  49. public string message { get; set; }
  50. public string rowsOnPage { get; set; }
  51. [JsonProperty("seqPage")]
  52. public string seqPage { get; set; }
  53. [JsonProperty("totalPage")]
  54. public string totalPage { get; set; }
  55. [JsonProperty("listGiftSend")]
  56. public usersGiftSend[] listGiftSend { get; set; }
  57. public override string ToString()
  58. {
  59. return JsonConvert.SerializeObject(this);
  60. }
  61. }
  62. }