using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YLShipBuildLandMap.Entity.ViewModel.SystemSetting { public class UserView { public System.Guid? UserID { get; set; } public System.Guid? DepartmentID { get; set; } public string DepartmentName { get; set; } public string LoginID { get; set; } public string Name { get; set; } public int? Sex { get; set; } public string SexName { get; set; } public Guid? EmployeeId { get; set; } public int? RecordStatus { get; set; } public IEnumerable RoleList { get; set; } public string RoleNames { get { if (RoleList == null) { return null; } return string.Join(",", RoleList.Select(x => x.RoleName)); } } public Guid RoleID { get; set; } public string CmWorkLinkAccountDomain { get; set; } public string CmWorkLinkAccountPsid { get; set; } public string CmWorkLinkAccountPstel { get; set; } public string FirstCode { get; set; } } }