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.

754 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Grand.Web.Models.Catalog;

public class ProductAskQuestionSimpleModel : BaseEntityModel
{
    [GrandResourceDisplayName("Products.AskQuestion.Email")]
    public string AskQuestionEmail { get; set; }

    [GrandResourceDisplayName("Products.AskQuestion.FullName")]
    public string AskQuestionFullName { get; set; }

    [GrandResourceDisplayName("Products.AskQuestion.Phone")]
    public string AskQuestionPhone { get; set; }

    [GrandResourceDisplayName("Products.AskQuestion.Message")]
    public string AskQuestionMessage { get; set; }

    public bool DisplayCaptcha { get; set; }
    public ICaptchaValidModel Captcha { get; set; } = new CaptchaModel();
}