using FluentMigrator.Builders.Create.Table; using Nop.Data.Mapping.Builders; using Nop.Plugin.Pickup.PickupInStore.Domain; namespace Nop.Plugin.Pickup.PickupInStore.Data.Mapping; /// /// Represents a pickup point entity builder /// public class StorePickupPointBuilder : NopEntityBuilder { #region Methods /// /// Apply entity configuration /// /// Create table expression builder public override void MapEntity(CreateTableExpressionBuilder table) { table .WithColumn(nameof(StorePickupPoint.Latitude)) .AsDecimal(18, 8) .Nullable() .WithColumn(nameof(StorePickupPoint.Longitude)) .AsDecimal(18, 8) .Nullable(); } #endregion }