faturas_4docs/Webhook 4docs/Migrations/WebhookDbContextModelSnapshot.cs
2024-04-17 17:19:35 -03:00

49 lines
1.6 KiB
C#

// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
#nullable disable
namespace Webhook_4docs.Migrations
{
[DbContext(typeof(WebhookDbContext))]
partial class WebhookDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "7.0.17")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("ProcessedInvoices", b =>
{
b.Property<int>("InvoiceId")
.ValueGeneratedOnAdd()
.HasColumnType("integer");
NpgsqlPropertyBuilderExtensions.UseIdentityByDefaultColumn(b.Property<int>("InvoiceId"));
b.Property<DateTime>("DateTimeProcessed")
.HasColumnType("timestamp with time zone");
b.Property<string>("InvoicePath")
.HasColumnType("text");
b.Property<string>("Status")
.HasColumnType("text");
b.HasKey("InvoiceId");
b.ToTable("ProcessedInvoices");
});
#pragma warning restore 612, 618
}
}
}