Class TenantReactivatedEvent
- Namespace
- Compendium.Core.Domain.Events.Integration
- Assembly
- Compendium.Core.dll
Integration event raised when a tenant is reactivated.
public sealed record TenantReactivatedEvent : IntegrationEventBase, IIntegrationEvent, IEquatable<IntegrationEventBase>, IEquatable<TenantReactivatedEvent>
- Inheritance
-
TenantReactivatedEvent
- Implements
- Inherited Members
Constructors
TenantReactivatedEvent(string, string, DateTimeOffset)
Integration event raised when a tenant is reactivated.
public TenantReactivatedEvent(string TenantId, string Name, DateTimeOffset ReactivatedAt)
Parameters
TenantIdstringThe unique identifier of the tenant.
NamestringThe name of the tenant.
ReactivatedAtDateTimeOffsetThe timestamp when the tenant was reactivated.
Properties
EventType
Gets the name of the event type for serialization and routing purposes.
public override string EventType { get; }
Property Value
Name
The name of the tenant.
public string Name { get; init; }
Property Value
ReactivatedAt
The timestamp when the tenant was reactivated.
public DateTimeOffset ReactivatedAt { get; init; }