Files
f9-web-ai-test/backend/F9WebAiTest.Application/Interfaces/Repositories/SYS/Registries/IRegistryReadRepository.cs
T
2026-10-08 15:44:07 +08:00

17 lines
683 B
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
using F9WebAiTest.Application.Dtos.SYS.Registries;
using F9WebAiTest.Domain.Interfaces;
namespace F9WebAiTest.Application.Interfaces.Repositories.SYS.Registries;
/// <summary>注册表读仓储(返回读模型 DTO)</summary>
public interface IRegistryReadRepository : IDInterface
{
/// <summary>全部配置项(含未启用),供列表页构建命名空间树</summary>
Task<List<RegistryReadDto_View>> GetAllAsync();
Task<RegistryReadDto_Edit> GetByIdForEditAsync(long id);
/// <summary>按命名空间 + 键名查询(各业务模块取值入口)</summary>
Task<RegistryReadDto_Edit> GetByCategoryAndKeyAsync(string category, string keyName);
}