using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using Observatory.Framework.Files.Journal.Startup; namespace Pulsar.Context.Configuration; public class CargoConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) { builder.OwnsMany(c => c.Inventory, c => c.ToJson()); } }