StudentCommunicateView.cs 939 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace EMIS.ViewModel.DQPSystem
  6. {
  7. public class StudentCommunicateView
  8. {
  9. public Guid UserID { get; set; }
  10. public int RoleOrder { get; set; }
  11. public string Role { get; set; }
  12. public Guid? ClassmajorID { get; set; }
  13. public string ClassmajorNo { get; set; }
  14. public string ClassmajorName { get; set; }
  15. public string LoginID { get; set; }
  16. public string Name { get; set; }
  17. public string QQ { get; set; }
  18. public string HeadImage
  19. {
  20. get
  21. {
  22. if (!string.IsNullOrEmpty(QQ))
  23. {
  24. return "http://q2.qlogo.cn/headimg_dl?dst_uin=" + QQ + "&spec=100";
  25. }
  26. else
  27. {
  28. return null;
  29. }
  30. }
  31. }
  32. }
  33. }