using FluentMigrator.Builders.Create.Table; using Nop.Core.Domain.Topics; namespace Nop.Data.Mapping.Builders.Topics; /// /// Represents a topic template entity builder /// public partial class TopicTemplateBuilder : NopEntityBuilder { #region Methods /// /// Apply entity configuration /// /// Create table expression builder public override void MapEntity(CreateTableExpressionBuilder table) { table .WithColumn(nameof(TopicTemplate.Name)).AsString(400).NotNullable() .WithColumn(nameof(TopicTemplate.ViewPath)).AsString(400).NotNullable(); } #endregion }