// using System; using System.Numerics; using ComplianceNFs.Infrastructure.Repositories; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; #nullable disable namespace ComplianceNFs.Infrastructure.Repositories.Migrations { [DbContext(typeof(ComplianceNFsDbContext))] partial class ComplianceNFsDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "9.0.6") .HasAnnotation("Relational:MaxIdentifierLength", 63); NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); modelBuilder.Entity("ComplianceNFs.Core.Entities.EnergyInvoice", b => { b.Property("MailId") .HasColumnType("text"); b.Property("CnpjComp") .HasColumnType("text"); b.Property("CnpjVend") .HasColumnType("text"); b.Property("ConversationId") .IsRequired() .HasColumnType("text"); b.Property("DiscrepancyNotes") .HasColumnType("text"); b.Property("Filename") .IsRequired() .HasColumnType("text"); b.Property("IcmsNF") .HasColumnType("numeric"); b.Property("InvoiceId") .HasColumnType("integer"); b.Property("MatchedCodTE") .HasColumnType("numeric"); b.Property("Md5") .HasColumnType("text"); b.Property("MontNF") .HasColumnType("numeric"); b.Property("NumeroNF") .HasColumnType("text"); b.Property("PrecNF") .HasColumnType("numeric"); b.Property("ReceivedDate") .HasColumnType("timestamp with time zone"); b.Property("RsComp") .HasColumnType("text"); b.Property("RsVend") .HasColumnType("text"); b.Property("Status") .HasColumnType("integer"); b.Property("SupplierEmail") .IsRequired() .HasColumnType("text"); b.Property("UfComp") .HasColumnType("text"); b.Property("UfVend") .HasColumnType("text"); b.Property("ValorFinalComImpostos") .HasColumnType("numeric"); b.Property("ValorSemImpostos") .HasColumnType("numeric"); b.HasKey("MailId"); b.ToTable("EnergyInvoices"); }); #pragma warning restore 612, 618 } } }