105 lines
3.4 KiB
C#
105 lines
3.4 KiB
C#
// <auto-generated />
|
|
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<string>("MailId")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("CnpjComp")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("CnpjVend")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("ConversationId")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("DiscrepancyNotes")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("Filename")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.Property<decimal?>("IcmsNF")
|
|
.HasColumnType("numeric");
|
|
|
|
b.Property<int>("InvoiceId")
|
|
.HasColumnType("integer");
|
|
|
|
b.Property<BigInteger?>("MatchedCodTE")
|
|
.HasColumnType("numeric");
|
|
|
|
b.Property<string>("Md5")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<decimal?>("MontNF")
|
|
.HasColumnType("numeric");
|
|
|
|
b.Property<string>("NumeroNF")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<decimal?>("PrecNF")
|
|
.HasColumnType("numeric");
|
|
|
|
b.Property<DateTime>("ReceivedDate")
|
|
.HasColumnType("timestamp with time zone");
|
|
|
|
b.Property<string>("RsComp")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("RsVend")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<int>("Status")
|
|
.HasColumnType("integer");
|
|
|
|
b.Property<string>("SupplierEmail")
|
|
.IsRequired()
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("UfComp")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<string>("UfVend")
|
|
.HasColumnType("text");
|
|
|
|
b.Property<decimal?>("ValorFinalComImpostos")
|
|
.HasColumnType("numeric");
|
|
|
|
b.Property<decimal?>("ValorSemImpostos")
|
|
.HasColumnType("numeric");
|
|
|
|
b.HasKey("MailId");
|
|
|
|
b.ToTable("EnergyInvoices");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|