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 System.ComponentModel.DataAnnotations;
namespace Grand.Web.AdminShared.Models.Customers;
public class CustomerGroupModel : BaseEntityModel
{
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.Name")]
public string Name { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.FreeShipping")]
public bool FreeShipping { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.TaxExempt")]
public bool TaxExempt { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.Active")]
public bool Active { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.IsSystem")]
public bool IsSystem { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.SystemName")]
public string SystemName { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.EnablePasswordLifetime")]
public bool EnablePasswordLifetime { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.MinOrderAmount")]
[UIHint("DoubleNullable")]
public double? MinOrderAmount { get; set; }
[GrandResourceDisplayName("Admin.Customers.CustomerGroups.Fields.MaxOrderAmount")]
[UIHint("DoubleNullable")]
public double? MaxOrderAmount { get; set; }
}