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.
C# aspnet-corecsharpdockerdotnetecommerceecommerce-platformmongodbmulti-storemulti-vendornosqlonline-shopshoppingcart
using Grand.Infrastructure.Models;
using Grand.SharedKernel;
using System.ComponentModel.DataAnnotations;
namespace Grand.Web.Models.Customer;
public class SubAccountEditModel : BaseEntityModel
{
[MaxLength(FieldSizeLimits.EmailMaxLength)]
[DataType(DataType.EmailAddress)]
public string Email { get; set; }
[MaxLength(FieldSizeLimits.NameMaxLength)]
public string FirstName { get; set; }
[MaxLength(FieldSizeLimits.NameMaxLength)]
public string LastName { get; set; }
public bool Active { get; set; }
[DataType(DataType.Password)] public string Password { get; set; }
}