using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace EMIS.ViewModel.DQPSystem { public class StudentCommunicateView { public Guid UserID { get; set; } public int RoleOrder { get; set; } public string Role { get; set; } public Guid? ClassmajorID { get; set; } public string ClassmajorNo { get; set; } public string ClassmajorName { get; set; } public string LoginID { get; set; } public string Name { get; set; } public string QQ { get; set; } public string HeadImage { get { if (!string.IsNullOrEmpty(QQ)) { return "http://q2.qlogo.cn/headimg_dl?dst_uin=" + QQ + "&spec=100"; } else { return null; } } } } }