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.

631 B
Raw Blame
using Grand.Infrastructure.ModelBinding;
using Grand.Infrastructure.Models;

namespace Grand.Web.AdminShared.Models.Customers;

public class CustomerGroupPermissionModel : BaseEntityModel
{
    [GrandResourceDisplayName("Admin.Customers.CustomerGroups.Acl.Fields.Name")]
    public string Name { get; set; }

    public string SystemName { get; set; }

    [GrandResourceDisplayName("Admin.Customers.CustomerGroups.Acl.Fields.Access")]
    public bool Access { get; set; }

    [GrandResourceDisplayName("Admin.Customers.CustomerGroups.Acl.Fields.Actions")]
    public IList<string> Actions { get; set; } = new List<string>();
}