Try your search with a different keyword or use * as a wildcard.
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 model for adding or editing a specification attribute
///
public partial record AddSpecificationAttributeModel : BaseNopEntityModel, ILocalizedModel
{
#region Ctor
public AddSpecificationAttributeModel()
{
AvailableOptions = new List();
AvailableAttributes = new List();
ShowOnProductPage = true;
AttributeName = string.Empty;
AttributeTypeName = string.Empty;
Value = string.Empty;
ValueRaw = string.Empty;
Locales = new List();
}
#endregion
#region Properties
public int SpecificationId { get; set; }
public int AttributeTypeId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.AttributeType")]
public string AttributeTypeName { get; set; }
public int AttributeId { get; set; }
public int ProductId { get; set; }
public IList AvailableAttributes { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.SpecificationAttribute")]
public string AttributeName { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.CustomValue")]
public string ValueRaw { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.CustomValue")]
public string Value { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.AllowFiltering")]
public bool AllowFiltering { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.ShowOnProductPage")]
public bool ShowOnProductPage { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.DisplayOrder")]
public int DisplayOrder { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.SpecificationAttributes.Fields.SpecificationAttributeOption")]
public int SpecificationAttributeOptionId { get; set; }
public IList AvailableOptions { get; set; }
public IList Locales { get; set; }
#endregion
}