using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using OmsorgCore.Domain.Entities;

namespace OmsorgCore.Infrastructure.Persistence.Configurations;

public class AssignmentValidationSettingsConfiguration : IEntityTypeConfiguration<AssignmentValidationSettings>
{
    public void Configure(EntityTypeBuilder<AssignmentValidationSettings> builder)
    {
        builder.ToTable("assignment_validation_settings");
        builder.HasKey(s => s.Id);
    }
}
