using Jellyfin.Data.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Jellyfin.Server.Implementations.ModelConfiguration;
/// 
/// FluentAPI configuration for the AttachmentStreamInfo entity.
/// 
public class AttachmentStreamInfoConfiguration : IEntityTypeConfiguration
{
    /// 
    public void Configure(EntityTypeBuilder builder)
    {
        builder.HasKey(e => new { e.ItemId, e.Index });
    }
}