Try your search with a different keyword or use * as a wildcard.
using System.ComponentModel.DataAnnotations;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
namespace Nop.Web.Areas.Admin.Models.Catalog;
///
/// Represents a product attribute value model
///
public partial record ProductAttributeValueModel : BaseNopEntityModel, ILocalizedModel
{
#region Ctor
public ProductAttributeValueModel()
{
ProductPictureModels = new List();
Locales = new List();
PictureIds = new List();
}
#endregion
#region Properties
public int ProductAttributeMappingId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.AttributeValueType")]
public int AttributeValueTypeId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.AttributeValueType")]
public string AttributeValueTypeName { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.AssociatedProduct")]
public int AssociatedProductId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.AssociatedProduct")]
public string AssociatedProductName { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Name")]
public string Name { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.ColorSquaresRgb")]
public string ColorSquaresRgb { get; set; }
public bool DisplayColorSquaresRgb { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.ImageSquaresPicture")]
[UIHint("Picture")]
public int ImageSquaresPictureId { get; set; }
public bool DisplayImageSquaresPicture { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.PriceAdjustment")]
public decimal PriceAdjustment { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.PriceAdjustment")]
//used only on the values list page
public string PriceAdjustmentStr { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.PriceAdjustmentUsePercentage")]
public bool PriceAdjustmentUsePercentage { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.WeightAdjustment")]
public decimal WeightAdjustment { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.WeightAdjustment")]
//used only on the values list page
public string WeightAdjustmentStr { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Cost")]
public decimal Cost { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.CustomerEntersQty")]
public bool CustomerEntersQty { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Quantity")]
public int Quantity { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.IsPreSelected")]
public bool IsPreSelected { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.DisplayOrder")]
public int DisplayOrder { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Pictures")]
public IList PictureIds { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Picture")]
public string PictureThumbnailUrl { get; set; }
public IList ProductPictureModels { get; set; }
public IList Locales { get; set; }
#endregion
}
public partial record ProductAttributeValueLocalizedModel : ILocalizedLocaleModel
{
public int LanguageId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.Attributes.Values.Fields.Name")]
public string Name { get; set; }
}