Decorator to apply tenant isolation to a model.
@TenantIsolation({ tenantId: 'tenantId', auditEnabled: true }) class Document extends Model { tenantId: string; title: string; } Copy
@TenantIsolation({ tenantId: 'tenantId', auditEnabled: true }) class Document extends Model { tenantId: string; title: string; }
Tenant isolation options
Decorator to apply tenant isolation to a model.