using Nop.Core.Domain.Seo; using Nop.Core.Domain.Stores; namespace Nop.Core.Domain.News; /// /// Represents a news item /// public partial class NewsItem : BaseEntity, ISlugSupported, IStoreMappingSupported { /// /// Gets or sets the language identifier /// public int LanguageId { get; set; } /// /// Gets or sets the news title /// public string Title { get; set; } /// /// Gets or sets the short text /// public string Short { get; set; } /// /// Gets or sets the full text /// public string Full { get; set; } /// /// Gets or sets a value indicating whether the news item is published /// public bool Published { get; set; } /// /// Gets or sets the news item start date and time /// public DateTime? StartDateUtc { get; set; } /// /// Gets or sets the news item end date and time /// public DateTime? EndDateUtc { get; set; } /// /// Gets or sets a value indicating whether the news post comments are allowed /// public bool AllowComments { 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 meta keywords /// public string MetaKeywords { get; set; } /// /// Gets or sets the meta description /// public string MetaDescription { get; set; } /// /// Gets or sets the meta title /// public string MetaTitle { get; set; } /// /// Gets or sets the date and time of entity creation /// public DateTime CreatedOnUtc { get; set; } }