Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

CaptchaSettingsModel.cs

using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;

namespace Nop.Web.Areas.Admin.Models.Settings;

/// 
/// Represents a CAPTCHA settings model
/// 
public partial record CaptchaSettingsModel : BaseNopModel, ISettingsModel
{
    #region Properties

    public int ActiveStoreScopeConfiguration { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaEnabled")]
    public bool Enabled { get; set; }
    public bool Enabled_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnLoginPage")]
    public bool ShowOnLoginPage { get; set; }
    public bool ShowOnLoginPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnRegistrationPage")]
    public bool ShowOnRegistrationPage { get; set; }
    public bool ShowOnRegistrationPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnContactUsPage")]
    public bool ShowOnContactUsPage { get; set; }
    public bool ShowOnContactUsPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnEmailWishlistToFriendPage")]
    public bool ShowOnEmailWishlistToFriendPage { get; set; }
    public bool ShowOnEmailWishlistToFriendPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnEmailProductToFriendPage")]
    public bool ShowOnEmailProductToFriendPage { get; set; }
    public bool ShowOnEmailProductToFriendPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnBlogCommentPage")]
    public bool ShowOnBlogCommentPage { get; set; }
    public bool ShowOnBlogCommentPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnNewsCommentPage")]
    public bool ShowOnNewsCommentPage { get; set; }
    public bool ShowOnNewsCommentPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnNewsletterPage")]
    public bool ShowOnNewsletterPage { get; set; }
    public bool ShowOnNewsletterPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnProductReviewPage")]
    public bool ShowOnProductReviewPage { get; set; }
    public bool ShowOnProductReviewPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnApplyVendorPage")]
    public bool ShowOnApplyVendorPage { get; set; }
    public bool ShowOnApplyVendorPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnForgotPasswordPage")]
    public bool ShowOnForgotPasswordPage { get; set; }
    public bool ShowOnForgotPasswordPage_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnForum")]
    public bool ShowOnForum { get; set; }
    public bool ShowOnForum_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaShowOnCheckoutPageForGuests")]
    public bool ShowOnCheckoutPageForGuests { get; set; }
    public bool ShowOnCheckoutPageForGuests_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.reCaptchaPublicKey")]
    public string ReCaptchaPublicKey { get; set; }
    public bool ReCaptchaPublicKey_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.reCaptchaPrivateKey")]
    public string ReCaptchaPrivateKey { get; set; }
    public bool ReCaptchaPrivateKey_OverrideForStore { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.CaptchaType")]
    public int CaptchaType { get; set; }
    public bool CaptchaType_OverrideForStore { get; set; }
    public SelectList CaptchaTypeValues { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Settings.GeneralCommon.reCaptchaV3ScoreThreshold")]
    public decimal ReCaptchaV3ScoreThreshold { get; set; }
    public bool ReCaptchaV3ScoreThreshold_OverrideForStore { get; set; }

    #endregion
}