Webiant Logo Webiant Logo
  1. No results found.

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

AssociateProductToAttributeValueSearchModel.cs

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

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

/// 
/// Represents a product search model to associate to the product attribute value
/// 
public partial record AssociateProductToAttributeValueSearchModel : BaseSearchModel
{
    #region Ctor

    public AssociateProductToAttributeValueSearchModel()
    {
        AvailableCategories = new List();
        AvailableManufacturers = new List();
        AvailableStores = new List();
        AvailableVendors = new List();
        AvailableProductTypes = new List();
        AssociateProductToAttributeValueModel = new AssociateProductToAttributeValueModel();
    }

    #endregion

    #region Properties

    [NopResourceDisplayName("Admin.Catalog.Products.List.SearchProductName")]
    public string SearchProductName { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.List.SearchCategory")]
    public int SearchCategoryId { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.List.SearchManufacturer")]
    public int SearchManufacturerId { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.List.SearchStore")]
    public int SearchStoreId { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.List.SearchVendor")]
    public int SearchVendorId { get; set; }

    [NopResourceDisplayName("Admin.Catalog.Products.List.SearchProductType")]
    public int SearchProductTypeId { get; set; }

    public IList AvailableCategories { get; set; }

    public IList AvailableManufacturers { get; set; }

    public IList AvailableStores { get; set; }

    public IList AvailableVendors { get; set; }

    public IList AvailableProductTypes { get; set; }

    public bool IsLoggedInAsVendor { get; set; }

    public AssociateProductToAttributeValueModel AssociateProductToAttributeValueModel { get; set; }

    #endregion
}