Webiant Logo Webiant Logo
  1. No results found.

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

SamplePoll.cs

namespace Nop.Services.Installation.SampleData;

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

    /// 
    /// Gets or sets the system keyword
    /// 
    public string SystemKeyword { get; set; } = string.Empty;

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

    /// 
    /// Gets or sets a value indicating whether the entity should be shown on home page
    /// 
    public bool ShowOnHomepage { get; set; }

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

    /// 
    /// Gets or sets the answers
    /// 
    public List Answers { get; set; } = new();

    #region Nested class

    /// 
    /// Represents a poll answer
    /// 
    public partial class SamplePollAnswer
    {
        /// 
        /// Gets or sets the poll answer name
        /// 
        public string Name { get; set; }

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

    #endregion
}