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;
namespace Grand.Web.AdminShared.Models.Discounts;
public class DiscountListModel : BaseModel
{
[GrandResourceDisplayName("admin.marketing.Discounts.List.SearchDiscountCouponCode")]
public string SearchDiscountCouponCode { get; set; }
[GrandResourceDisplayName("admin.marketing.Discounts.List.SearchDiscountName")]
public string SearchDiscountName { get; set; }
[GrandResourceDisplayName("admin.marketing.Discounts.List.SearchDiscountType")]
public int SearchDiscountTypeId { get; set; }
public IList<SelectListItem> AvailableDiscountTypes { get; set; } = new List<SelectListItem>();
}