using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Wood.Entity.SystemManage;
namespace Wood.Entity
{
///
/// 用户缓存信息
///
public class UserCache
{
///
/// ID
///
public long Id { get; set; }
///
/// 租户
///
public long? TenantId { get; set; }
///
/// 用户名
///
public string UserName { get; set; } = "";
///
/// 真实姓名
///
public string? RealName { get; set; }
///
/// 昵称
///
public string? NickName { get; set; }
///
/// 邮箱
///
public string? Email { get; set; }
///
/// 手机号码
///
public string? Mobile { get; set; }
///
/// 加密Salt
///
public string Salt { get; set; } = "";
///
/// 部门id
///
public long OrgId { get; set; } = 0;
///
/// 职位id
///
public long PositionId { get; set; } = 0;
///
/// 账号类型
///
public AccountTypeEnum AccountType { get; set; } = 0;
///
/// 用户角色id
///
public List Roles { get; set; } = new List();
///
/// 用户数据范围类型
///
public DataScopeTypeEnum DataScopeType { get; set; }
///
/// 用户数据范围部门列表
///
public List DataScopeOrgs { get; set; } = new List();
}
}