Webiant Logo Webiant Logo
  1. No results found.

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

SampleCategory.cs

namespace Nop.Services.Installation.SampleData;

/// 
/// Represents a sample category
/// 
public partial class SampleCategory
{
    /// 
    /// Gets or sets the name
    /// 
    public string Name { get; set; }

    /// 
    /// Gets or sets the picture file name
    /// 
    public string ImageFileName { get; set; }

    /// 
    /// Gets or sets the page size
    /// 
    public int PageSize { get; set; }

    /// 
    /// Gets or sets a value indicating whether customers can select the page size
    /// 
    public bool AllowCustomersToSelectPageSize { get; set; }

    /// 
    /// Gets or sets the available customer selectable page size options
    /// 
    public string PageSizeOptions { get; set; }

    /// 
    /// Gets or sets a value indicating whether to show the category on home page
    /// 
    public bool ShowOnHomepage { get; set; }

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

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

    /// 
    /// Gets or sets a value indicating whether the price range filtering is enabled
    /// 
    public bool PriceRangeFiltering { get; set; }

    /// 
    /// Gets or sets the "from" price
    /// 
    public decimal PriceFrom { get; set; }

    /// 
    /// Gets or sets the "to" price
    /// 
    public decimal PriceTo { get; set; }

    /// 
    /// Gets or sets a value indicating whether the price range should be entered manually
    /// 
    public bool ManuallyPriceRange { get; set; }

    /// 
    /// Gets or sets the sub categories
    /// 
    public List SubCategories { get; set; } = new();
}