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>();
}