forked from Alexey/DAS_2024_1
46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
|
// <auto-generated />
|
|||
|
using System;
|
|||
|
using DSaC.Database;
|
|||
|
using Microsoft.EntityFrameworkCore;
|
|||
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|||
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|||
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace DSaC.Migrations
|
|||
|
{
|
|||
|
[DbContext(typeof(DsacContext))]
|
|||
|
partial class DsacContextModelSnapshot : ModelSnapshot
|
|||
|
{
|
|||
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
|
{
|
|||
|
#pragma warning disable 612, 618
|
|||
|
modelBuilder
|
|||
|
.HasAnnotation("ProductVersion", "8.0.8")
|
|||
|
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
|||
|
|
|||
|
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
|
|||
|
|
|||
|
modelBuilder.Entity("DSaC.Database.Models.Counterparty", b =>
|
|||
|
{
|
|||
|
b.Property<Guid>("Id")
|
|||
|
.ValueGeneratedOnAdd()
|
|||
|
.HasColumnType("uuid")
|
|||
|
.HasColumnName("id");
|
|||
|
|
|||
|
b.Property<string>("Name")
|
|||
|
.IsRequired()
|
|||
|
.HasMaxLength(255)
|
|||
|
.HasColumnType("character varying(255)")
|
|||
|
.HasColumnName("name");
|
|||
|
|
|||
|
b.HasKey("Id");
|
|||
|
|
|||
|
b.ToTable("counterparty");
|
|||
|
});
|
|||
|
#pragma warning restore 612, 618
|
|||
|
}
|
|||
|
}
|
|||
|
}
|