Init Git
This commit is contained in:
14
AMREZ.EOP.Infrastructures/Tenancy/TenantContext.cs
Normal file
14
AMREZ.EOP.Infrastructures/Tenancy/TenantContext.cs
Normal file
@@ -0,0 +1,14 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user