Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

864 B
Raw Blame
using Grand.Infrastructure.Models;
using Grand.Web.Models.Media;

namespace Grand.Web.Models.Blogs;

public class BlogPostModel : BaseEntityModel
{
    public string MetaKeywords { get; set; }
    public string MetaDescription { get; set; }
    public string MetaTitle { get; set; }
    public string SeName { get; set; }
    public string Title { get; set; }
    public PictureModel PictureModel { get; set; } = new();
    public string Body { get; set; }
    public string BodyOverview { get; set; }
    public bool AllowComments { get; set; }
    public int NumberOfComments { get; set; }
    public DateTime CreatedOn { get; set; }
    public IList<string> Tags { get; set; } = new List<string>();
    public IList<BlogCommentModel> Comments { get; set; } = new List<BlogCommentModel>();
    public AddBlogCommentModel AddNewComment { get; set; } = new();
}