Webiant Logo Webiant Logo
  1. No results found.

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

ExportProductAttribute.cs

namespace Nop.Services.ExportImport;

public partial class ExportProductAttribute
{
    /// 
    ///  Gets or sets the cell offset
    /// 
    public static int ProductAttributeCellOffset { get; } = 2;

    /// 
    /// Gets or sets the attribute identifier
    /// 
    public int AttributeId { get; set; }

    /// 
    /// Gets or sets the attribute name
    /// 
    public string AttributeName { get; set; }

    /// 
    /// Gets or sets a value a text prompt
    /// 
    public string AttributeTextPrompt { get; set; }

    /// 
    /// Gets or sets a value indicating whether the entity is required
    /// 
    public bool AttributeIsRequired { get; set; }

    /// 
    /// Gets or sets the display order
    /// 
    public int AttributeDisplayOrder { get; set; }

    /// 
    /// Gets or sets the comma separated picture identifiers
    /// 
    public string PictureIds { get; set; }

    /// 
    /// Gets or sets the attribute control type identifier
    /// 
    public int AttributeControlTypeId { get; set; }

    /// 
    /// Gets or sets the product attribute mapping identifier
    /// 
    public int AttributeMappingId { get; set; }

    /// 
    /// Gets or sets the attribute value type identifier
    /// 
    public int AttributeValueTypeId { get; set; }

    /// 
    /// Gets or sets the associated product identifier (used only with AttributeValueType.AssociatedToProduct)
    /// 
    public int AssociatedProductId { get; set; }

    /// 
    /// Gets or sets the identifier
    /// 
    public int Id { get; set; }

    /// 
    /// Gets or sets the picture ID for image square (used with "Image squares" attribute type)
    /// 
    public int ImageSquaresPictureId { get; set; }

    /// 
    /// Gets or sets the name
    /// 
    public string Name { get; set; }

    /// 
    /// Gets or sets the weight adjustment
    /// 
    public decimal WeightAdjustment { get; set; }

    /// 
    /// Gets or sets a value indicating whether the customer can enter the quantity of associated product (used only with AttributeValueType.AssociatedToProduct)
    /// 
    public bool CustomerEntersQty { get; set; }

    /// 
    /// Gets or sets the quantity of associated product (used only with AttributeValueType.AssociatedToProduct)
    /// 
    public int Quantity { get; set; }

    /// 
    /// Gets or sets a value indicating whether the value is pre-selected
    /// 
    public bool IsPreSelected { get; set; }

    /// 
    /// Gets or sets the color RGB value (used with "Color squares" attribute type)
    /// 
    public string ColorSquaresRgb { get; set; }

    /// 
    /// Gets or sets the price adjustment
    /// 
    public decimal PriceAdjustment { get; set; }

    /// 
    /// Gets or sets the attribute value cost
    /// 
    public decimal Cost { get; set; }

    /// 
    /// Gets or sets the display order
    /// 
    public int DisplayOrder { get; set; }

    /// 
    /// Gets or sets a value indicating whether "price adjustment" is specified as percentage
    /// 
    public bool PriceAdjustmentUsePercentage { get; set; }

    /// 
    /// Gets or sets the default value (for textbox and multiline textbox)
    /// 
    public string DefaultValue { get; set; }

    /// 
    /// Gets or sets the validation rule for minimum length (for textbox and multiline textbox)
    /// 
    public int? ValidationMinLength { get; set; }

    /// 
    /// Gets or sets the validation rule for maximum length (for textbox and multiline textbox)
    /// 
    public int? ValidationMaxLength { get; set; }

    /// 
    /// Gets or sets the validation rule for file allowed extensions (for file upload)
    /// 
    public string ValidationFileAllowedExtensions { get; set; }

    /// 
    /// Gets or sets the validation rule for file maximum size in kilobytes (for file upload)
    /// 
    public int? ValidationFileMaximumSize { get; set; }
}