Webiant Logo Webiant Logo
  1. No results found.

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

OfficialFeedPluginSearchModel.cs

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

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

/// 
/// Represents a search model of plugins of the official feed
/// 
public partial record OfficialFeedPluginSearchModel : BaseSearchModel
{
    #region Ctor

    public OfficialFeedPluginSearchModel()
    {
        AvailableVersions = new List();
        AvailableCategories = new List();
        AvailablePrices = new List();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Name")]
    public string SearchName { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Version")]
    public int SearchVersionId { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Category")]
    public int SearchCategoryId { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Price")]
    public int SearchPriceId { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Version")]
    public IList AvailableVersions { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Category")]
    public IList AvailableCategories { get; set; }

    [NopResourceDisplayName("Admin.Configuration.Plugins.OfficialFeed.Price")]
    public IList AvailablePrices { get; set; }

    #endregion
}