using MediatR; namespace Fengling.RiskControl.Domain.Events; public class RiskAssessmentRequestedEvent : INotification { public long MemberId { get; } public string EntityType { get; } public string EntityId { get; } public string ActionType { get; } public Dictionary Context { get; } public DateTime RequestedAt { get; } public RiskAssessmentRequestedEvent(long memberId, string entityType, string entityId, string actionType, Dictionary? context = null) { MemberId = memberId; EntityType = entityType; EntityId = entityId; ActionType = actionType; Context = context ?? new Dictionary(); RequestedAt = DateTime.UtcNow; } }