Files
Thanakarn Klangkasame 92e614674c Init Git
2025-09-30 11:01:02 +07:00

14 lines
468 B
C#

using AMREZ.EOP.Abstractions.Applications.Tenancy;
using AMREZ.EOP.Domain.Shared.Tenancy;
namespace AMREZ.EOP.Infrastructures.Tenancy;
public class TenantContext : ITenantContext
{
public string TenantKey { get; init; }
public string Id { get; init; } = default!;
public string? Schema { get; init; }
public string? ConnectionString { get; init; }
public TenantMode Mode { get; init; } = TenantMode.Rls;
public bool IsActive { get; init; }
}