Mango.Nop.Plugins/Nop.Plugin.Misc.AuctionPlugin/AuctionDefaults.cs

32 lines
855 B
C#

using Nop.Core;
namespace Nop.Plugin.Misc.AuctionPlugin;
/// <summary>
/// Represents plugin constants
/// </summary>
public static class AuctionDefaults
{
/// <summary>
/// Gets the system name
/// </summary>
public static string SystemName => "Misc.AuctionPlugin";
/// <summary>
/// Gets the user agent used to request third-party services
/// </summary>
public static string UserAgent => $"nopCommerce-{NopVersion.CURRENT_VERSION}";
/// <summary>
/// Gets the configuration route name
/// </summary>
public static string ConfigurationRouteName => "Plugin.Misc.AuctionPlugin.Configure";
/// <summary>
/// Gets the name of autosuggest component
/// </summary>
public static string ComponentName => "auction";
public static string AuctionAttributeName => "isAuctionItem";
}