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

namespace TIAM.Database.ModelBuilders.Products;

public class ProductEntityTypeDefaultConfiguration : IAcEntityTypeConfiguration<Product>
{
    public void Configure(EntityTypeBuilder<Product> builder)
    {
        builder.BuildProductToProfileRelation();

        //builder.BuildProductToUserProductMappingRelation();
        builder.BuildProductToServiceProviderRelation();
    }
}