usersObjProfileList.cs 895 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. // {"userId":"123","coin":"23","type":"1","tranCode":"ADD"}
  10. public class usersObjProfileList
  11. {
  12. [JsonProperty("status")]
  13. public string status { get; set; }
  14. [JsonProperty("message")]
  15. public string message { get; set; }
  16. [JsonProperty("rowsOnPage")]
  17. public string rowsOnPage { get; set; }
  18. [JsonProperty("seqPage")]
  19. public string seqPage { get; set; }
  20. [JsonProperty("totalPage")]
  21. public string totalPage { get; set; }
  22. [JsonProperty("listProfile")]
  23. public usersObjProfile[] listProfile { get; set; }
  24. public override string ToString()
  25. {
  26. return JsonConvert.SerializeObject(this);
  27. }
  28. }
  29. }