Added outgoing email notification processing event
This commit is contained in:
@@ -5,6 +5,8 @@ public static class Constants
|
||||
public const int QueueBounds = 100000;
|
||||
|
||||
public const string ShopSchedulerName = "shop";
|
||||
public const string ShopEmailFromName = "Khongisa Shop";
|
||||
public const string ShopEmailFromAddress = "shop@litecharms.co.za";
|
||||
|
||||
public const string EmailServiceBus = nameof(EmailServiceBus);
|
||||
public const string GeneralServiceBus = nameof(GeneralServiceBus);
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
using static LiteCharms.Abstractions.Timezones;
|
||||
|
||||
namespace LiteCharms.Abstractions;
|
||||
|
||||
public abstract class EventBase
|
||||
{
|
||||
public Guid Id { get; set; } = Guid.CreateVersion7();
|
||||
|
||||
public DateTimeOffset EnqueueAt { get; set; } = SouthAfricanTimeZone.UtcNow();
|
||||
|
||||
public string CorrelationId { get; set; } = Guid.CreateVersion7().ToString();
|
||||
}
|
||||
Reference in New Issue
Block a user