2023-04-13 21:12:06 +08:00
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
using Yi.Framework.Infrastructure.Ddd.Repositories;
|
2023-04-15 17:33:42 +08:00
|
|
|
|
using Yi.Furion.Core.Rbac.Dtos;
|
|
|
|
|
|
using Yi.Furion.Core.Rbac.Entities;
|
2023-04-13 21:12:06 +08:00
|
|
|
|
|
2023-04-15 17:33:42 +08:00
|
|
|
|
namespace Yi.Furion.Sqlsugar.Core.Repositories
|
2023-04-13 21:12:06 +08:00
|
|
|
|
{
|
|
|
|
|
|
public interface IUserRepository : IRepository<UserEntity>
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// 获取当前登录用户的所有信息
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <param name="userId"></param>
|
|
|
|
|
|
/// <returns></returns>
|
|
|
|
|
|
Task<UserRoleMenuDto> GetUserAllInfoAsync(long userId);
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|