RoleSatusItem.cs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using OpenSEMI.ClientBase;
  6. namespace VirgoUI.Client.Models.Utility.AccountPage
  7. {
  8. public class RoleStatusItem
  9. {
  10. public string RoleID { get; set; }
  11. /// <summary>
  12. /// role name
  13. /// </summary>
  14. private string m_strRoleName;
  15. public string RoleName
  16. {
  17. get { return m_strRoleName; }
  18. set { m_strRoleName = value; }
  19. }
  20. /// <summary>
  21. /// role Status
  22. /// </summary>
  23. private bool m_bRoleStatus;
  24. public bool RoleStatus
  25. {
  26. get { return m_bRoleStatus; }
  27. set { m_bRoleStatus = value; }
  28. }
  29. public bool DisplayRoleStatus { get; set; }
  30. public RoleStatusItem Clone()
  31. {
  32. RoleStatusItem entity = new RoleStatusItem();
  33. entity.RoleID = this.RoleID;
  34. entity.RoleName = this.RoleName;
  35. entity.RoleStatus = this.RoleStatus;
  36. entity.DisplayRoleStatus = this.RoleStatus;
  37. return entity;
  38. }
  39. }
  40. }