systemUserObj.cs 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. using CommonObj.model;
  6. using Newtonsoft.Json;
  7. namespace ResfullApi.Models
  8. {
  9. public class userWebCmsObj
  10. {
  11. [JsonProperty("id")]
  12. public string id { get; set; }
  13. [JsonProperty("username")]
  14. public string username { get; set; }
  15. [JsonProperty("password")]
  16. public string password { get; set; }
  17. [JsonProperty("role")]
  18. public string role { get; set; }
  19. [JsonProperty("countryCode")]
  20. public string countryCode { get; set; }
  21. [JsonProperty("isLock")]
  22. public string isLock { get; set; }
  23. [JsonProperty("totalFalse")]
  24. public string totalFalse { get; set; }
  25. [JsonProperty("timeLock")]
  26. public string timeLock { get; set; }
  27. [JsonProperty("note")]
  28. public string note { get; set; }
  29. public override string ToString()
  30. {
  31. return JsonConvert.SerializeObject(this);
  32. }
  33. }
  34. public class userWebCmsObjList : Response
  35. {
  36. [JsonProperty("rowsOnPage")]
  37. public string rowsOnPage { get; set; }
  38. [JsonProperty("seqPage")]
  39. public string seqPage { get; set; }
  40. [JsonProperty("totalPage")]
  41. public string totalPage { get; set; }
  42. [JsonProperty("list")]
  43. public userWebCmsObj[] list { get; set; }
  44. public override string ToString()
  45. {
  46. return JsonConvert.SerializeObject(this);
  47. }
  48. }
  49. public class functionWebCmsObj
  50. {
  51. [JsonProperty("id")]
  52. public string id { get; set; }
  53. [JsonProperty("role")]
  54. public string role { get; set; }
  55. [JsonProperty("name")]
  56. public string name { get; set; }
  57. [JsonProperty("link")]
  58. public string link { get; set; }
  59. [JsonProperty("note")]
  60. public string note { get; set; }
  61. public override string ToString()
  62. {
  63. return JsonConvert.SerializeObject(this);
  64. }
  65. }
  66. public class functionWebCmsObjList : Response
  67. {
  68. [JsonProperty("rowsOnPage")]
  69. public string rowsOnPage { get; set; }
  70. [JsonProperty("seqPage")]
  71. public string seqPage { get; set; }
  72. [JsonProperty("totalPage")]
  73. public string totalPage { get; set; }
  74. [JsonProperty("list")]
  75. public functionWebCmsObj[] list { get; set; }
  76. public override string ToString()
  77. {
  78. return JsonConvert.SerializeObject(this);
  79. }
  80. }
  81. }