Webiant Logo Webiant Logo
  1. No results found.

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

PluginSearchModel.cs

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

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

/// 
/// Represents a plugin search model
/// 
public partial record PluginSearchModel : BaseSearchModel
{
    #region Ctor

    public PluginSearchModel()
    {
        AvailableLoadModes = new List();
        AvailableGroups = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Plugins.LoadMode")]
    public int SearchLoadModeId { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.Group")]
    public string SearchGroup { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.FriendlyName")]
    public string SearchFriendlyName { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.Author")]
    public string SearchAuthor { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.LoadMode")]
    public IList AvailableLoadModes { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.Group")]
    public IList AvailableGroups { get; set; }

    public bool NeedToRestart { get; set; }

    #endregion
}