using ErsatzTV.Core.Domain; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace ErsatzTV.Infrastructure.Data.Configurations; public class JellyfinSeasonConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) { builder.ToTable("JellyfinSeason"); builder.Property(s => s.Etag) .HasMaxLength(36) .IsUnicode(false); builder.Property(s => s.ItemId) .HasMaxLength(36) .IsUnicode(false); builder.HasIndex(s => s.ItemId); } }