16 lines
381 B
C#
16 lines
381 B
C#
using GroupService.Domain.Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace GroupService.Infrastructure.Configs
|
|
{
|
|
public class GroupConfig : IEntityTypeConfiguration<Group>
|
|
{
|
|
public void Configure(EntityTypeBuilder<Group> builder)
|
|
{
|
|
builder.ToTable("groups");
|
|
|
|
}
|
|
}
|
|
}
|