UsersBak.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Flyinsono.DBCopy.Tool.Entities
  7. {
  8. internal class UsersBak
  9. {
  10. public string _id { get; set; }
  11. public DateTime CreateTime { get; set; }
  12. public DateTime UpdateTime { get; set; }
  13. public bool IsDeleted { get; set; }
  14. public string Name { get; set; }
  15. public string Password { get; set; }
  16. public string LastName { get; set; }
  17. public string FirstName { get; set; }
  18. public string FullName { get; set; }
  19. public string Phone { get; set; }
  20. public string Email { get; set; }
  21. public AdminInfo CreateAdmin { get; set; }
  22. /// <summary>
  23. /// Terminals assigned to user
  24. /// </summary>
  25. public IList<UserTerminalInfo> Terminals { get; set; }
  26. /// <summary>
  27. /// Applications assigned to user
  28. /// </summary>
  29. public IList<AdminInfo> Features { get; set; }
  30. public IList<OrganizationInfo> Organizations { get; set; }
  31. public IList<PushFailedMessage> PushFailedMessages { get; private set; }
  32. public IList<PushFailedSystemMessage> PushFailedSystemMessages { get; private set; }
  33. public IList<AdminInfo> Owners { get; private set; }
  34. public byte[] SmallHeadImage { get; set; }
  35. public string HeadImage { get; set; }
  36. public bool IsActive { get; set; }
  37. public string NickName { get; set; }
  38. public GenderType GenderType { get; set; }
  39. public string Region { get; set; }
  40. public string HospitalId { get; set; }
  41. public string Hospital { get; set; }
  42. public string Department { get; set; }
  43. public string CertificateId { get; set; }
  44. public UserTypes UserType { get; set; }
  45. public UserPermissions UserPermission { get; set; }
  46. public int Rank { get; set; }
  47. public string Introduction { get; set; }
  48. public string Unionid { get; set; }
  49. /// <summary>
  50. /// Gets or sets the Openid of this user.
  51. /// </summary>
  52. public string Openid { get; set; }
  53. public AdminInfo ChargeGroupInfo { get; set; }
  54. /// <summary>
  55. /// direct server name
  56. /// </summary>
  57. public string DirectServer { get; set; }
  58. public string ElectronSignUrl { get; set; }
  59. /// <summary>
  60. /// 登录认证类型
  61. /// </summary>
  62. public LoginAuthType AuthType { get; set; }
  63. /// <summary>
  64. /// 排序后的专家列表
  65. /// </summary>
  66. /// <value></value>
  67. public IList<ExpertSortInfo> SortedExperts { get; set; } = new List<ExpertSortInfo>();
  68. /// <summary>
  69. /// 排班信息
  70. /// </summary>
  71. /// <value></value>
  72. public IList<ShiftInfo> Shifts { get; set; } = new List<ShiftInfo>();
  73. /// <summary>
  74. /// 开启上传记录通知
  75. /// </summary>
  76. public bool OpenUploadRecordNotify { get; set; }
  77. }
  78. }