using Nop.Core.Configuration; namespace Nop.Core.Domain.News; /// /// News settings /// public partial class NewsSettings : ISettings { /// /// Gets or sets a value indicating whether news are enabled /// public bool Enabled { get; set; } /// /// Gets or sets a value indicating whether not registered user can leave comments /// public bool AllowNotRegisteredUsersToLeaveComments { get; set; } /// /// Gets or sets a value indicating whether to notify about new news comments /// public bool NotifyAboutNewNewsComments { get; set; } /// /// Gets or sets a value indicating whether to show news on the main page /// public bool ShowNewsOnMainPage { get; set; } /// /// Gets or sets a value indicating news count displayed on the main page /// public int MainPageNewsCount { get; set; } /// /// Gets or sets the page size for news archive /// public int NewsArchivePageSize { get; set; } /// /// Enable the news RSS feed link in customers browser address bar /// public bool ShowHeaderRssUrl { get; set; } /// /// Gets or sets a value indicating whether news comments must be approved /// public bool NewsCommentsMustBeApproved { get; set; } /// /// Gets or sets a value indicating whether news comments will be filtered per store /// public bool ShowNewsCommentsPerStore { get; set; } }