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.

UserDto.cs 1.7 KiB

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