cb7bbc37bd
Adds platform-level, plan-level (Enterprise only), and per-company toggles for the AI Catalog Price Check feature. Includes: - Company.AiCatalogPriceCheckEnabled per-company flag - SubscriptionPlanConfig.AllowAiCatalogPriceCheck plan-level flag - PlatformSetting 'AiCatalogPriceCheckEnabled' global kill switch - IPlatformSettingsService.GetBoolAsync helper - ISubscriptionService.CanUseAiCatalogPriceCheckAsync - UI controls in Companies/Edit, PlatformSubscription/Edit+Index, and SubscriptionManagement/Manage - Migration AddAiCatalogPriceCheckGating applied Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
892 B
C#
19 lines
892 B
C#
namespace PowderCoating.Core.Entities;
|
|
|
|
/// <summary>
|
|
/// Well-known keys for the PlatformSettings table.
|
|
/// </summary>
|
|
public static class PlatformSettingKeys
|
|
{
|
|
public const string AdminNotificationEmail = "AdminNotificationEmail";
|
|
public const string BaseUrl = "BaseUrl";
|
|
public const string TrialPeriodDays = "TrialPeriodDays";
|
|
public const string TrialsEnabled = "TrialsEnabled";
|
|
public const string QuoteApprovalTokenDays = "QuoteApprovalTokenDays";
|
|
public const string AuditLogRetentionDays = "AuditLogRetentionDays";
|
|
public const string StripeWebhookRetentionDays = "StripeWebhookRetentionDays";
|
|
public const string MaxTenants = "MaxTenants";
|
|
public const string SmsEnabled = "SmsEnabled";
|
|
public const string AiCatalogPriceCheckEnabled = "AiCatalogPriceCheckEnabled";
|
|
}
|