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 { /// /// 用户Id /// public long UserId { get; set; } /// /// /// public string UserName { get; set; } = string.Empty; /// /// 用户状态 /// public StatusEnum UserStatus { get; set; } /// /// 部门Id /// public long DeptId { get; set; } /// /// 部门名称 /// public string DeptName { get; set; } = string.Empty; /// /// 角色标识 /// public List RoleKeys { get; set; } = new(); /// /// 权限标识 /// public List Permission { get; set; } = new(); /// /// 头像 /// public string? Avatar { get; set; } /// w /// 邮箱 /// public string? Email { get; set; } } }