权限设计思路(11)
发布时间:2021-06-07
发布时间:2021-06-07
{
get { return m_UserGroupNo; }
set { m_UserGroupNo = value; }
}
/// <summary>
/// 组名
/// </summary>
public string UserGroupName
{
get { return m_UserGroupName; }
set { m_UserGroupName = value; }
}
/// <summary>
/// 组描述
/// </summary>
public string Description
{
get { return m_Description; }
set { m_Description = value; }
}
/// <summary>
/// 是否允许使用
/// </summary>
public string AllowUsed
{
get { return m_AllowUsed; }
set { m_AllowUsed = value; }
}
#endregion
}
2.2.1角色接口类
//定义的角色接口类 提供接口给外部调用
public interface IRoleManager
{
/// <summary>
/// 添加角色
/// </summary>
/// <param name="BaseUser">操作人员</param>
/// <param name="RoleEntity">角色实体</param>
/// <returns>是否成功</returns>
string Add(BaseUserInfoLog BaseUser, Role RoleEntity);
/// <summary>