feat: 初始化 BuildingBlocks 仓库
This commit is contained in:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user