using Mccn.Common.Infrastructure.Inbox; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; namespace Mccn.Modules.Hello.Infrastructure.Database.Configurations; internal sealed class InboxMessageConsumerConfiguration : IEntityTypeConfiguration { public void Configure(EntityTypeBuilder builder) { builder.ToTable("inbox_message_consumers"); builder.HasKey(c => new { c.InboxMessageId, c.Name }); } }