You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.8 KiB

  1. using Newtonsoft.Json;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Text;
  5. namespace HKLib.Dto
  6. {
  7. public class UserDto
  8. {
  9. public String Num { get; set; }
  10. /// <summary>
  11. /// 机构
  12. /// </summary>
  13. public string OrgId { get; set; }
  14. /// <summary>
  15. /// 姓名
  16. /// </summary>
  17. public string Name { get; set; }
  18. /// <summary>
  19. /// 手机号
  20. /// </summary>
  21. public string Phone { get; set; }
  22. /// <summary>
  23. /// 卡号
  24. /// </summary>
  25. public string CardNo { get; set; }
  26. }
  27. public class UserListDto
  28. {
  29. [JsonProperty("num")]
  30. public string Num { get; set; }
  31. [JsonProperty("realName")]
  32. public string Name { get; set; }
  33. /// <summary>
  34. /// 手机号
  35. /// </summary>
  36. [JsonProperty("phone")]
  37. public string Phone { get; set; }
  38. /// <summary>
  39. /// 机构信息
  40. /// </summary>
  41. [JsonProperty("memberTagInfo")]
  42. public List<MemberTagInfoDto> OrgInfo { get; set; }
  43. /// <summary>
  44. /// 卡集合
  45. /// </summary>
  46. [JsonProperty("memberCardInfo")]
  47. public List<CardInfo> Cards { get; set; }
  48. }
  49. public class MemberTagInfoDto
  50. {
  51. [JsonProperty("id")]
  52. public string Id { get; set; }
  53. /// <summary>
  54. /// 机构名称
  55. /// </summary>
  56. [JsonProperty("name")]
  57. public string Name { get; set; }
  58. }
  59. public class CardInfo
  60. {
  61. /// <summary>
  62. /// 卡号
  63. /// </summary>
  64. [JsonProperty("cardNum")]
  65. public string CardNum { get; set; }
  66. /// <summary>
  67. /// 卡状态 0.禁用 1.正常 2.挂失 3.作废
  68. /// </summary>
  69. [JsonProperty("state")]
  70. public int State { get; set; }
  71. }
  72. }