Try your search with a different keyword or use * as a wildcard.
using System.ComponentModel.DataAnnotations;
using Nop.Core.Domain.Catalog;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
namespace Nop.Web.Areas.Admin.Models.Catalog;
///
/// Represents a product attribute combination model
///
public partial record ProductAttributeCombinationModel : BaseNopEntityModel
{
#region Ctor
public ProductAttributeCombinationModel()
{
ProductAttributes = new List();
ProductPictureModels = new List();
Warnings = new List();
PictureIds = new List();
}
#endregion
#region Properties
public int ProductId { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.Attributes")]
public string AttributesXml { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.StockQuantity")]
public int StockQuantity { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.AllowOutOfStockOrders")]
public bool AllowOutOfStockOrders { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.Sku")]
public string Sku { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.ManufacturerPartNumber")]
public string ManufacturerPartNumber { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.Gtin")]
public string Gtin { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.OverriddenPrice")]
[UIHint("DecimalNullable")]
public decimal? OverriddenPrice { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.NotifyAdminForQuantityBelow")]
public int NotifyAdminForQuantityBelow { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.Pictures")]
public IList PictureIds { get; set; }
[NopResourceDisplayName("Admin.Catalog.Products.ProductAttributes.AttributeCombinations.Fields.MinStockQuantity")]
public int MinStockQuantity { get; set; }
public string PictureThumbnailUrl { get; set; }
public IList ProductAttributes { get; set; }
public IList ProductPictureModels { get; set; }
public IList Warnings { get; set; }
#endregion
#region Nested classes
public partial record ProductAttributeModel : BaseNopEntityModel
{
public ProductAttributeModel()
{
Values = new List();
}
public int ProductAttributeId { get; set; }
public string Name { get; set; }
public string TextPrompt { get; set; }
public bool IsRequired { get; set; }
public AttributeControlType AttributeControlType { get; set; }
public IList Values { get; set; }
}
public partial record ProductAttributeValueModel : BaseNopEntityModel
{
public string Name { get; set; }
public bool IsPreSelected { get; set; }
public string Checked { get; set; }
}
#endregion
}