16 lines
498 B
C#
16 lines
498 B
C#
using xBotService.Constants;
|
|
using xDataService.Providers;
|
|
using xBotService.Models.Entities;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace xBotService.Configuration.Entities
|
|
{
|
|
public class XBotUserEntityConfiguration: XBaseEntityTypeConfiguration<XBotUser, int>
|
|
{
|
|
public override void Configure(EntityTypeBuilder<XBotUser> builder)
|
|
{
|
|
builder.ToTable(XBotServiceConstants.XBotUserTable);
|
|
}
|
|
}
|
|
} |