using System.Collections.Generic; namespace CMSMicroservice.Infrastructure.Services.Monitoring; /// /// تنظیمات Monitoring و Alerting /// در appsettings.json تعریف می‌شود /// public class MonitoringSettings { public const string SectionName = "Monitoring"; /// /// فعال بودن Sentry /// public bool SentryEnabled { get; set; } = false; /// /// Sentry DSN /// public string? SentryDsn { get; set; } /// /// فعال بودن Slack Notifications /// public bool SlackEnabled { get; set; } = false; /// /// Slack Webhook URL /// public string? SlackWebhookUrl { get; set; } /// /// فعال بودن Email Alerts /// public bool EmailAlertsEnabled { get; set; } = false; /// /// لیست ایمیل‌های Admin برای دریافت Alert /// public List AdminEmails { get; set; } = new(); /// /// فعال بودن SMS Notifications به کاربران /// public bool SmsNotificationsEnabled { get; set; } = false; /// /// SMS Gateway API Key /// public string? SmsApiKey { get; set; } /// /// SMS Gateway Base URL /// public string? SmsGatewayUrl { get; set; } }