IAccount.cs 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. using Vinno.vCloud.Protocol.Infrastructures;
  2. namespace vCloud.Server.Infrastructures
  3. {
  4. internal interface IAccount
  5. {
  6. /// <summary>
  7. /// Gets the DynamicId of this account.
  8. /// </summary>
  9. string DynamicId { get; set; }
  10. /// <summary>
  11. /// Gets the account Id, could this could be user id.
  12. /// </summary>
  13. string AccountId { get;}
  14. /// <summary>
  15. /// Gets the account's type of this account.
  16. /// </summary>
  17. AccountType AccountType { get; }
  18. /// <summary>
  19. /// Gets the Name of this this Account, this could be the UserName.
  20. /// </summary>
  21. string Name { get; }
  22. /// <summary>
  23. /// Gets the NickName of this this Account.
  24. /// </summary>
  25. string NickName { get; set; }
  26. /// <summary>
  27. /// Gets the Name of this this Account, this could be the UserName.
  28. /// </summary>
  29. string FullName { get; set; }
  30. /// <summary>
  31. /// Gets the PhoneNumber of this this Account.
  32. /// </summary>
  33. string PhoneNumber { get; set; }
  34. /// <summary>
  35. /// Gets the Email of this this Account.
  36. /// </summary>
  37. string Email { get; set; }
  38. /// <summary>
  39. /// Gets or sets the Password of this Account, this could be the UserPassword.
  40. /// </summary>
  41. string Password { get; set; }
  42. byte[] SmallHeadImage { get; set; }
  43. UserTypes UserType { get; }
  44. string Unionid { get; set; }
  45. /// <summary>
  46. /// Gets or sets the Openid of this account.
  47. /// </summary>
  48. string Openid { get; set; }
  49. }
  50. }