UserView.cs 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace YLShipBuildLandMap.Entity.ViewModel.SystemSetting
  6. {
  7. public class UserView
  8. {
  9. public System.Guid? UserID { get; set; }
  10. public System.Guid? DepartmentID { get; set; }
  11. public string DepartmentName { get; set; }
  12. public string LoginID { get; set; }
  13. public string Name { get; set; }
  14. public int? Sex { get; set; }
  15. public string SexName { get; set; }
  16. public Guid? EmployeeId { get; set; }
  17. public int? RecordStatus { get; set; }
  18. public IEnumerable<RoleView> RoleList { get; set; }
  19. public string RoleNames
  20. {
  21. get
  22. {
  23. if (RoleList == null)
  24. {
  25. return null;
  26. }
  27. return string.Join(",", RoleList.Select(x => x.RoleName));
  28. }
  29. }
  30. public Guid RoleID { get; set; }
  31. public string CmWorkLinkAccountDomain { get; set; }
  32. public string CmWorkLinkAccountPsid { get; set; }
  33. public string CmWorkLinkAccountPstel { get; set; }
  34. public string FirstCode { get; set; }
  35. }
  36. }