first commit

This commit is contained in:
yanpeng200212
2026-10-08 10:43:59 +08:00
commit 8430ba0452
288 changed files with 29595 additions and 0 deletions
@@ -0,0 +1,21 @@
using F9WebAiTest.Application.Dtos.SYS.RBAC.Roles;
using F9WebAiTest.Domain.Enums.SYS.RBAC;
using F9WebAiTest.Domain.Interfaces;
namespace F9WebAiTest.Application.Interfaces.Repositories.SYS.RBAC.Roles;
/// <summary>角色读仓储(返回读模型 DTO)</summary>
public interface IRoleReadRepository : IDInterface
{
/// <summary>查询单个</summary>
Task<RoleReadDto_Edit> GetByIdAsync(long id);
/// <summary>获取所有对象集合</summary>
Task<List<RoleReadDto_View>> GetAllAsync();
/// <summary>获取所有对象集合(缓存用)</summary>
Task<List<RoleReadDto_Cache>> GetAllForCacheAsync();
/// <summary>通过资源类型获取角色权限集合</summary>
Task<List<RolePermissionReadDto_View>> GetRolePermissionsByResourceType(long roleId, Resource_Type_Enum resourceType);
}