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.

1.0 KB
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Grand.Web.AdminShared.Models.News;

public class NewsCommentModel : BaseEntityModel
{
    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.NewsItem")]
    public string NewsItemId { get; set; }

    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.NewsItem")]

    public string NewsItemTitle { get; set; }

    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.Customer")]
    public string CustomerId { get; set; }

    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.Customer")]
    public string CustomerInfo { get; set; }


    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.CommentTitle")]
    public string CommentTitle { get; set; }


    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.CommentText")]
    public string CommentText { get; set; }

    [GrandResourceDisplayName("Admin.Content.News.Comments.Fields.CreatedOn")]
    public DateTime CreatedOn { get; set; }
}