15 lines
485 B
C#
15 lines
485 B
C#
using LiteCharms.Features.Abstractions;
|
|
|
|
namespace LiteCharms.Features.Shop.Notifications.Events;
|
|
|
|
public class ProcessEmailNotificationsEvent : EventBase, IEvent
|
|
{
|
|
public string Name { get; set; } = nameof(ProcessEmailNotificationsEvent);
|
|
|
|
public int MaxRecords { get; set; }
|
|
|
|
private ProcessEmailNotificationsEvent(int maxRecords = 1000) => MaxRecords = maxRecords;
|
|
|
|
public static ProcessEmailNotificationsEvent Create(int maxRecords = 1000) => new(maxRecords);
|
|
}
|