Skip to content

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.

623 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;
using System.ComponentModel.DataAnnotations;

namespace Widgets.Slider.Models;

public class ConfigurationModel : BaseModel
{
    [GrandResourceDisplayName("Widgets.Slider.Fields.DisplayOrder")]
    public int DisplayOrder { get; set; }

    [UIHint("CustomerGroups")]
    [GrandResourceDisplayName("Widgets.Slider.Fields.LimitedToGroups")]
    public string[] CustomerGroups { get; set; }

    //Store acl
    [GrandResourceDisplayName("Widgets.Slider.Fields.LimitedToStores")]
    [UIHint("Stores")]
    public string[] Stores { get; set; }
}