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 Grand.Web.Common.Models;
namespace Grand.Web.AdminShared.Models.Customers;
public class CustomerAttributeValueModel : BaseEntityModel, ILocalizedModel<CustomerAttributeValueLocalizedModel>
{
public string CustomerAttributeId { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerAttributes.Values.Fields.Name")]
public string Name { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerAttributes.Values.Fields.IsPreSelected")]
public bool IsPreSelected { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerAttributes.Values.Fields.DisplayOrder")]
public int DisplayOrder { get; set; }
public IList<CustomerAttributeValueLocalizedModel> Locales { get; set; } =
new List<CustomerAttributeValueLocalizedModel>();
}
public class CustomerAttributeValueLocalizedModel : ILocalizedModelLocal
{
[GrandResourceDisplayName("Admin.Customers.CustomerAttributes.Values.Fields.Name")]
public string Name { get; set; }
public string LanguageId { get; set; }
}