mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-03-14 13:36:39 +08:00
style: 修改聚合跟类命名
This commit is contained in:
@@ -5,20 +5,20 @@ using Yi.Framework.SqlSugarCore.Abstractions;
|
||||
|
||||
namespace Yi.Framework.Rbac.Domain.Repositories
|
||||
{
|
||||
public interface IUserRepository : ISqlSugarRepository<UserEntity>
|
||||
public interface IUserRepository : ISqlSugarRepository<UserAggregateRoot>
|
||||
{
|
||||
/// <summary>
|
||||
/// 获取用户的所有信息
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <returns></returns>
|
||||
Task<UserEntity> GetUserAllInfoAsync(Guid userId);
|
||||
Task<UserAggregateRoot> GetUserAllInfoAsync(Guid userId);
|
||||
/// <summary>
|
||||
/// 批量获取用户的所有信息
|
||||
/// </summary>
|
||||
/// <param name="userIds"></param>
|
||||
/// <returns></returns>
|
||||
Task<List<UserEntity>> GetListUserAllInfoAsync(List<Guid> userIds);
|
||||
Task<List<UserAggregateRoot>> GetListUserAllInfoAsync(List<Guid> userIds);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user