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.ModelBinding;
using Grand.Infrastructure.Models;
using Microsoft.AspNetCore.Mvc.Rendering;
using System.ComponentModel.DataAnnotations;
namespace Grand.Web.AdminShared.Models.Customers;
public class CustomerListModel : BaseModel
{
[GrandResourceDisplayName("Admin.Customers.Customers.List.CustomerGroups")]
public IList<SelectListItem> AvailableCustomerGroups { get; set; } = new List<SelectListItem>();
[GrandResourceDisplayName("Admin.Customers.Customers.List.CustomerGroups")]
[UIHint("MultiSelect")]
public IList<string> SearchCustomerGroupIds { get; set; } = new List<string>();
[GrandResourceDisplayName("Admin.Customers.Customers.List.CustomerTags")]
public IList<SelectListItem> AvailableCustomerTags { get; set; } = new List<SelectListItem>();
[GrandResourceDisplayName("Admin.Customers.Customers.List.CustomerTags")]
[UIHint("MultiSelect")]
public IList<string> SearchCustomerTagIds { get; set; } = new List<string>();
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchEmail")]
public string SearchEmail { get; set; }
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchUsername")]
public string SearchUsername { get; set; }
public bool UsernamesEnabled { get; set; }
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchFirstName")]
public string SearchFirstName { get; set; }
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchLastName")]
public string SearchLastName { get; set; }
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchCompany")]
public string SearchCompany { get; set; }
public bool CompanyEnabled { get; set; }
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchPhone")]
public string SearchPhone { get; set; }
public bool PhoneEnabled { get; set; }
[GrandResourceDisplayName("Admin.Customers.Customers.List.SearchZipCode")]
public string SearchZipPostalCode { get; set; }
public bool ZipPostalCodeEnabled { get; set; }
}