12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- using ERP.Framework.Enum;
- using Newtonsoft.Json;
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace ERP.Framework.Security.Core
- {
- public class LoginUser
- {
- /// <summary>
- /// 用户Id
- /// </summary>
- public long UserId { get; set; }
- /// <summary>
- ///
- /// </summary>
- public string UserName { get; set; } = string.Empty;
- /// <summary>
- /// 用户状态
- /// </summary>
- public StatusEnum UserStatus { get; set; }
- /// <summary>
- /// 部门Id
- /// </summary>
- public long DeptId { get; set; }
- /// <summary>
- /// 部门名称
- /// </summary>
- public string DeptName { get; set; } = string.Empty;
- /// <summary>
- /// 角色标识
- /// </summary>
- public List<string> RoleKeys { get; set; } = new();
- /// <summary>
- /// 权限标识
- /// </summary>
- public List<string> Permission { get; set; } = new();
- /// <summary>
- /// 头像
- /// </summary>
- public string? Avatar { get; set; }
- /// <summary>w
- /// 邮箱
- /// </summary>
- public string? Email { get; set; }
- }
- }
|