RoleSatusItem.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. namespace MECF.Framework.UI.Client.CenterViews.Configs.Accounts
  2. {
  3. public class RoleStatusItem
  4. {
  5. public string RoleID { get; set; }
  6. /// <summary>
  7. /// role name
  8. /// </summary>
  9. private string m_strRoleName;
  10. public string RoleName
  11. {
  12. get { return m_strRoleName; }
  13. set { m_strRoleName = value; }
  14. }
  15. /// <summary>
  16. /// role Status
  17. /// </summary>
  18. private bool m_bRoleStatus;
  19. public bool RoleStatus
  20. {
  21. get { return m_bRoleStatus; }
  22. set { m_bRoleStatus = value; }
  23. }
  24. public bool DisplayRoleStatus { get; set; }
  25. public RoleStatusItem Clone()
  26. {
  27. RoleStatusItem entity = new RoleStatusItem();
  28. entity.RoleID = this.RoleID;
  29. entity.RoleName = this.RoleName;
  30. entity.RoleStatus = this.RoleStatus;
  31. entity.DisplayRoleStatus = this.RoleStatus;
  32. return entity;
  33. }
  34. }
  35. }