using System;
using Jellyfin.Data.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Jellyfin.Server.Implementations.ModelConfiguration;
/// 
/// itemvalues Configuration.
/// 
public class ItemValuesMapConfiguration : IEntityTypeConfiguration
{
    /// 
    public void Configure(EntityTypeBuilder builder)
    {
        builder.HasKey(e => new { e.ItemValueId, e.ItemId });
        builder.HasOne(e => e.Item);
        builder.HasOne(e => e.ItemValue);
    }
}