权限设计思路(4)
发布时间:2021-06-07
发布时间:2021-06-07
public string URL
{
get
{
return this.m_URL;
}
set
{
this.m_URL = value;
}
}
/// <summary>
/// 登录时间
/// </summary>
public DateTime LoginTime
{
get
{
return this.m_LoginTime;
}
set
{
this.m_LoginTime = value;
}
}
#endregion
}
2.1.1用户接口类
//提供一组接口 外部好调用
public interface IUserManager
{
User CurrentUser { get; }
/// <summary>
///检查用户是否有重复
/// </summary>
/// <param name="BaseUser">操作人</param>
/// <param name="UserNo">用户编码</param>
/// <returns>是否存在</returns>
bool Exists(BaseUserInfoLog BaseUser,string UserNo);
/// <summary>
/// 添加用户