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.

860 B
Raw Blame
using Grand.Infrastructure.Models;

namespace Grand.Web.Models.Customer;

public class CustomerProductReviewModel : BaseEntityModel
{
    public string ProductId { get; set; }
    public string ProductName { get; set; }
    public string ProductSeName { get; set; }
    public string StoreName { get; set; }
    public string Title { get; set; }
    public string ReviewText { get; set; }
    public string ReplyText { get; set; }
    public string Signature { get; set; }
    public int Rating { get; set; }
    public bool IsApproved { get; set; }
    public DateTime CreatedOn { get; set; }
}

public class CustomerProductReviewsModel : BaseEntityModel
{
    public string CustomerId { get; set; }

    public string CustomerInfo { get; set; }
    public IList<CustomerProductReviewModel> Reviews { get; set; } = new List<CustomerProductReviewModel>();
}