using AyCode.Database.DbContexts;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using TIAM.Entities.Products;
using TIAM.Entities.Transfers;

namespace TIAM.Database.ModelBuilders.Transfers;

public class TransferEntityTypeDefaultConfigurations: IAcEntityTypeConfiguration<Transfer>
{
    public void Configure(EntityTypeBuilder<Transfer> builder)
    {
        builder.BuildTransferToProductMappingToRelation(true);
    }
}