Webiant Logo Webiant Logo
  1. No results found.

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

Poll.cs

using Nop.Core.Domain.Stores;

namespace Nop.Core.Domain.Polls;

/// 
/// Represents a poll
/// 
public partial class Poll : BaseEntity, IStoreMappingSupported
{
    /// 
    /// Gets or sets the language identifier
    /// 
    public int LanguageId { get; set; }

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

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

    /// 
    /// 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 a value indicating whether the anonymous votes are allowed
    /// 
    public bool AllowGuestsToVote { get; set; }

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

    /// 
    /// Gets or sets a value indicating whether the entity is limited/restricted to certain stores
    /// 
    public bool LimitedToStores { get; set; }

    /// 
    /// Gets or sets the poll start date and time
    /// 
    public DateTime? StartDateUtc { get; set; }

    /// 
    /// Gets or sets the poll end date and time
    /// 
    public DateTime? EndDateUtc { get; set; }
}