CurrentUser.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Threading.Tasks;
  5. namespace wispro.sp.web.Models
  6. {
  7. public class TagType
  8. {
  9. public string Key { get; set; }
  10. public string Label { get; set; }
  11. }
  12. public class GeographicType
  13. {
  14. public TagType Province { get; set; }
  15. public TagType City { get; set; }
  16. }
  17. public class CurrentUser
  18. {
  19. public string Name { get; set; }
  20. public string Avatar { get; set; }
  21. public int? Userid { get; set; }
  22. public NoticeType[] Notice { get; set; } = { };
  23. public string Email { get; set; }
  24. public string Signature { get; set; }
  25. public string Title { get; set; }
  26. public string Group { get; set; }
  27. public TagType[] Tags { get; set; } = { };
  28. public int NotifyCount { get; set; }
  29. public int UnreadCount { get; set; }
  30. public string Country { get; set; }
  31. public GeographicType Geographic { get; set; }
  32. public string Address { get; set; }
  33. public string Phone { get; set; }
  34. }
  35. public class UserLiteItem
  36. {
  37. public string Avater { get; set; }
  38. public string Title { get; set; }
  39. public string Description { get; set; }
  40. }
  41. }