902942eee6
continuous-integration/drone/pr Build is passing
Sealed qualifying public classes Migrated database changes
14 lines
419 B
C#
14 lines
419 B
C#
using LiteCharms.Features.Extensions;
|
|
using static LiteCharms.Features.Extensions.Timezones;
|
|
|
|
namespace LiteCharms.Features.Abstractions;
|
|
|
|
public abstract class EventBase
|
|
{
|
|
public Guid Id { get; set; } = Guid.CreateVersion7();
|
|
|
|
public DateTimeOffset EnqueueAt { get; set; } = (DateTimeOffset)SouthAfricanTimeZone.UtcNow();
|
|
|
|
public string CorrelationId { get; set; } = Guid.CreateVersion7().ToString();
|
|
}
|