﻿using AspNetCoreSample.Data.Extensions;
using AspNetCoreSample.Domain.Models;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;

namespace AspNetCoreSample.Data.Mappings
{
    public class PermissaoConfig : DbEntityConfiguration<Permissao>
    {
        public override void Configure(EntityTypeBuilder<Permissao> entity)
        {
            entity.ToTable("Permissao");
        }
    }
}