Try your search with a different keyword or use * as a wildcard.
using System.ComponentModel.DataAnnotations;
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 manufacturer model
///
public partial record ManufacturerModel : BaseNopEntityModel, IAclSupportedModel, IDiscountSupportedModel,
ILocalizedModel, IStoreMappingSupportedModel
{
#region Ctor
public ManufacturerModel()
{
if (PageSize < 1)
{
PageSize = 5;
}
Locales = new List();
AvailableManufacturerTemplates = new List();
AvailableDiscounts = new List();
SelectedDiscountIds = new List();
SelectedCustomerRoleIds = new List();
AvailableCustomerRoles = new List();
SelectedStoreIds = new List();
AvailableStores = new List();
ManufacturerProductSearchModel = new ManufacturerProductSearchModel();
}
#endregion
#region Properties
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Name")]
public string Name { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Description")]
public string Description { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.ManufacturerTemplate")]
public int ManufacturerTemplateId { get; set; }
public IList AvailableManufacturerTemplates { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.MetaKeywords")]
public string MetaKeywords { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.MetaDescription")]
public string MetaDescription { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.MetaTitle")]
public string MetaTitle { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.SeName")]
public string SeName { get; set; }
[UIHint("Picture")]
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Picture")]
public int PictureId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.PageSize")]
public int PageSize { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.AllowCustomersToSelectPageSize")]
public bool AllowCustomersToSelectPageSize { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.PageSizeOptions")]
public string PageSizeOptions { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.PriceRangeFiltering")]
public bool PriceRangeFiltering { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.PriceFrom")]
public decimal PriceFrom { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.PriceTo")]
public decimal PriceTo { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.ManuallyPriceRange")]
public bool ManuallyPriceRange { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Published")]
public bool Published { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Deleted")]
public bool Deleted { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.DisplayOrder")]
public int DisplayOrder { get; set; }
public IList Locales { get; set; }
//ACL (customer roles)
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.AclCustomerRoles")]
public IList SelectedCustomerRoleIds { get; set; }
public IList AvailableCustomerRoles { get; set; }
//store mapping
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.LimitedToStores")]
public IList SelectedStoreIds { get; set; }
public IList AvailableStores { get; set; }
//discounts
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Discounts")]
public IList SelectedDiscountIds { get; set; }
public IList AvailableDiscounts { get; set; }
public ManufacturerProductSearchModel ManufacturerProductSearchModel { get; set; }
public string PrimaryStoreCurrencyCode { get; set; }
#endregion
}
public partial record ManufacturerLocalizedModel : ILocalizedLocaleModel
{
public int LanguageId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Name")]
public string Name { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.Description")]
public string Description { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.MetaKeywords")]
public string MetaKeywords { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.MetaDescription")]
public string MetaDescription { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.MetaTitle")]
public string MetaTitle { get; set; }
[NopResourceDisplayName("Admin.Catalog.Manufacturers.Fields.SeName")]
public string SeName { get; set; }
}