Webiant Logo Webiant Logo
  1. No results found.

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

ProductAttributeCombination.cs

using System.ComponentModel;
using System.ComponentModel.DataAnnotations.Schema;

namespace Nop.Core.Domain.Catalog;

/// 
/// Represents a product attribute combination
/// 
public partial class ProductAttributeCombination : BaseEntity
{
    /// 
    /// Gets or sets the product identifier
    /// 
    public int ProductId { get; set; }

    /// 
    /// Gets or sets the attributes
    /// 
    public string AttributesXml { get; set; }

    /// 
    /// Gets or sets the stock quantity
    /// 
    public int StockQuantity { get; set; }

    /// 
    /// Gets or sets a value indicating whether to allow orders when out of stock
    /// 
    public bool AllowOutOfStockOrders { get; set; }

    /// 
    /// Gets or sets the SKU
    /// 
    public string Sku { get; set; }

    /// 
    /// Gets or sets the manufacturer part number
    /// 
    public string ManufacturerPartNumber { get; set; }

    /// 
    /// Gets or sets the Global Trade Item Number (GTIN). These identifiers include UPC (in North America), EAN (in Europe), JAN (in Japan), and ISBN (for books).
    /// 
    public string Gtin { get; set; }

    /// 
    /// Gets or sets the attribute combination price. This way a store owner can override the default product price when this attribute combination is added to the cart. For example, you can give a discount this way.
    /// 
    public decimal? OverriddenPrice { get; set; }

    /// 
    /// Gets or sets the quantity when admin should be notified
    /// 
    public int NotifyAdminForQuantityBelow { get; set; }

    /// 
    /// Gets or sets the minimum stock quantity
    /// 
    public int MinStockQuantity { get; set; }

    /// 
    /// The field is not used since 4.70 and is left only for the update process
    /// use the  instead
    /// 
    [EditorBrowsable(EditorBrowsableState.Never)]
    [Browsable(false)]
    [Obsolete("The field is not used since 4.70 and is left only for the update process use the ProductAttributeCombinationPicture instead")]
    public int? PictureId { get; set; }
}