using FluentMigrator.Builders.Create.Table; using Nop.Core.Domain.Customers; namespace Nop.Data.Mapping.Builders.Customers; /// /// Represents a customer role entity builder /// public partial class CustomerRoleBuilder : NopEntityBuilder { #region Methods /// /// Apply entity configuration /// /// Create table expression builder public override void MapEntity(CreateTableExpressionBuilder table) { table .WithColumn(nameof(CustomerRole.Name)).AsString(255).NotNullable() .WithColumn(nameof(CustomerRole.SystemName)).AsString(255).Nullable(); } #endregion }