Webiant Logo Webiant Logo
  1. No results found.

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

SampleBlogPost.cs

namespace Nop.Services.Installation.SampleData;

/// 
/// Represents a sample blog post
/// 
public partial class SampleBlogPost
{
    /// 
    /// Gets or sets the blog post title
    /// 
    public string Title { get; set; }

    /// 
    /// Gets or sets the blog post body
    /// 
    public string Body { get; set; }

    /// 
    /// Gets or sets the blog post overview. If specified, then it's used on the blog page instead of the "Body"
    /// 
    public string BodyOverview { get; set; }

    /// 
    /// Gets or sets a value indicating whether the blog post comments are allowed 
    /// 
    public bool AllowComments { get; set; } = true;

    /// 
    /// Gets or sets the blog tags
    /// 
    public string Tags { get; set; }

    /// 
    /// Gets or sets the list of comments
    /// 
    public List Comments { get; set; } = new();
}