using Fengling.RiskControl.Domain.Aggregates.RiskAlerts; namespace Fengling.RiskControl.Domain.Repositories; public interface IRiskAlertRepository { Task GetByIdAsync(long id); Task> GetByMemberIdAsync(long memberId); Task> GetPendingAlertsAsync(); Task> GetAlertsByPriorityAsync(RiskAlertPriority priority); Task AddAsync(RiskAlert alert); Task UpdateAsync(RiskAlert alert); Task DeleteAsync(RiskAlert alert); }