Webiant Logo Webiant Logo
  1. No results found.

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

SampleSpecificationAttributes.cs

namespace Nop.Services.Installation.SampleData;

/// 
/// Represents a sample specification attributes and groups
/// 
public partial class SampleSpecificationAttributes
{
    /// 
    /// Sample specification attributes
    /// 
    public List Attributes { get; set; }

    /// 
    /// Sample specification attribute groups
    /// 
    public List AttributeGroups { get; set; }

    #region Nested classes

    /// 
    /// Represents a sample specification attribute
    /// 
    public partial class SampleSpecificationAttribute
    {
        /// 
        /// Gets or sets the name
        /// 
        public string Name { get; set; }

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

        /// 
        /// sample specification attribute options
        /// 
        public List AttributeOptions { get; set; } = new();
    }

    /// 
    /// Represents a sample specification attribute option
    /// 
    public partial class SampleSpecificationAttributeOption
    {
        /// 
        /// Gets or sets the name
        /// 
        public string Name { get; set; }

        /// 
        /// Gets or sets the color RGB value (used when you want to display "Color squares" instead of text)
        /// 
        public string ColorSquaresRgb { get; set; }

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

    /// 
    /// Represents a sample specification attribute group
    /// 
    public partial class SampleSpecificationAttributeGroup
    {
        /// 
        /// Gets or sets the name
        /// 
        public string Name { get; set; }

        /// 
        /// Sample specification attributes
        /// 
        public List Attributes { get; set; } = new();
    }

    #endregion
}