Init Git
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
using AMREZ.EOP.Domain.Shared.Tenancy;
|
||||
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Tenancy.CreateTenant;
|
||||
|
||||
public sealed class CreateTenantRequest
|
||||
{
|
||||
public string TenantKey { get; set; } = default!;
|
||||
public string? Schema { get; set; }
|
||||
public string? ConnectionString { get; set; }
|
||||
public TenantMode Mode { get; set; } = TenantMode.Rls;
|
||||
public bool IsActive { get; set; } = true;
|
||||
|
||||
public string? Tenant { get; set; }
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Tenancy.CreateTenant;
|
||||
|
||||
public sealed record CreateTenantResponse(
|
||||
string TenantKey
|
||||
);
|
||||
Reference in New Issue
Block a user