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.

924 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;
using System.ComponentModel.DataAnnotations;

namespace Grand.Web.Models.Vendors;

public class ApplyVendorModel : BaseModel
{
    public VendorAddressModel Address { get; set; } = new();

    [GrandResourceDisplayName("Vendors.ApplyAccount.Name")]
    public string Name { get; set; }

    [DataType(DataType.EmailAddress)]
    [GrandResourceDisplayName("Vendors.ApplyAccount.Email")]
    public string Email { get; set; }

    [GrandResourceDisplayName("Vendors.ApplyAccount.Description")]
    public string Description { get; set; }

    public bool DisplayCaptcha { get; set; }
    public ICaptchaValidModel Captcha { get; set; } = new CaptchaModel();
    public bool TermsOfServiceEnabled { get; set; }
    public bool TermsOfServicePopup { get; set; }
    public bool DisableFormInput { get; set; }
    public string Result { get; set; }
}