namespace MECF.Framework.Common.Account.Permissions;


public class PermissionMappedType
{
    #region Constructors

    public PermissionMappedType(MenuPermissionEnum enumPermission, string stringPermission)
    {
        EnumPermission = enumPermission;
        StringPermission = stringPermission;
    }

    #endregion

    #region Properties

    public MenuPermissionEnum EnumPermission { get; set; }
    
    public string StringPermission { get; set; }

    public MenuPermissionEnum EnumValue => EnumPermission;
    

    #endregion

    #region Methods
    
    public override string ToString()
    {
        return StringPermission;
    }

    #endregion
}
