feat: 初始化 BuildingBlocks 仓库

This commit is contained in:
2026-01-29 01:57:39 +00:00
commit 4cf39b4d42
44 changed files with 1799 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
namespace TakeoutSaaS.Shared.Abstractions.Tenancy;
/// <summary>
/// 租户提供者:用于在各层读取当前请求绑定的租户 ID。
/// </summary>
public interface ITenantProvider
{
/// <summary>
/// 获取当前租户 ID未解析时返回 0。
/// </summary>
/// <returns>当前请求绑定的租户 ID未解析时为 0。</returns>
long GetCurrentTenantId();
}