You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
881 B
C#

namespace CompressorXN_Model.ViewModel
{
/// <summary>
/// 当前登录用户
/// </summary>
public static class CurrentUser
{
/// <summary>
/// 主键
/// </summary>
public static string Id { get; set; }
/// <summary>
/// 用户名
/// </summary>
public static string UserName { get; set; }
/// <summary>
/// 姓名
/// </summary>
public static string RealName { get; set; }
/// <summary>
/// 角色
/// </summary>
public static string RoleCode { get; set; }
/// <summary>
/// 角色名称
/// </summary>
public static string RoleName { get; set; }
/// <summary>
/// 是否拥有所有权限
/// </summary>
public static bool IsAllAuthor { get; set; }
}
}