23 lines
569 B
C#
23 lines
569 B
C#
using MediatR;
|
|
|
|
namespace Fengling.RiskControl.Domain.Events;
|
|
|
|
public class RiskAlertTriggeredEvent : INotification
|
|
{
|
|
public long AlertId { get; }
|
|
public long MemberId { get; }
|
|
public string AlertType { get; }
|
|
public int RiskScore { get; }
|
|
public string Reason { get; }
|
|
|
|
public RiskAlertTriggeredEvent(long alertId, long memberId, string alertType,
|
|
int riskScore, string reason)
|
|
{
|
|
AlertId = alertId;
|
|
MemberId = memberId;
|
|
AlertType = alertType;
|
|
RiskScore = riskScore;
|
|
Reason = reason;
|
|
}
|
|
}
|