2020-10-14 01:24:27 +00:00
|
|
|
|
// <auto-generated />
|
2020-10-14 12:35:14 +00:00
|
|
|
|
using System;
|
2020-10-14 01:24:27 +00:00
|
|
|
|
using COA.EnterpriseServices.DataAccess.EntityFramework;
|
|
|
|
|
using Microsoft.EntityFrameworkCore;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
|
|
|
|
|
|
namespace COA.EnterpriseServices.DataAccess.EntityFramework.Migrations
|
|
|
|
|
{
|
|
|
|
|
[DbContext(typeof(QuickBaseContext))]
|
|
|
|
|
partial class QuickBaseContextModelSnapshot : ModelSnapshot
|
|
|
|
|
{
|
|
|
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
|
|
|
{
|
|
|
|
|
#pragma warning disable 612, 618
|
|
|
|
|
modelBuilder
|
|
|
|
|
.HasAnnotation("ProductVersion", "3.1.9")
|
|
|
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128)
|
|
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
|
|
2020-10-14 15:03:25 +00:00
|
|
|
|
modelBuilder.Entity("COA.EnterpriseServices.DataAccess.Entities.Client", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int")
|
|
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Address")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("City")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Email")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("FirstName")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("LastName")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Modified")
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
b.Property<long>("Phone")
|
|
|
|
|
.HasColumnType("bigint");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("State")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("Zip")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Clients");
|
|
|
|
|
});
|
|
|
|
|
|
2020-10-14 12:35:14 +00:00
|
|
|
|
modelBuilder.Entity("COA.EnterpriseServices.DataAccess.Entities.Creditor", b =>
|
2020-10-14 01:24:27 +00:00
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int")
|
|
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
|
|
2020-10-15 13:34:25 +00:00
|
|
|
|
b.Property<string>("AccountNumber")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
2020-10-14 12:35:14 +00:00
|
|
|
|
b.Property<string>("ClientFirstName")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<string>("ClientLastName")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
2020-10-15 12:08:02 +00:00
|
|
|
|
b.Property<int>("CurrentCreditorProfileId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
2020-10-14 12:35:14 +00:00
|
|
|
|
b.Property<DateTime>("Modified")
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
2020-10-15 12:08:02 +00:00
|
|
|
|
b.Property<int>("OriginalCreditorProfileId")
|
|
|
|
|
.HasColumnType("int");
|
|
|
|
|
|
2020-10-16 13:54:09 +00:00
|
|
|
|
b.Property<string>("ReferenceNumber")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
2020-10-14 12:35:14 +00:00
|
|
|
|
b.Property<string>("Status")
|
|
|
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
|
|
2020-10-14 01:24:27 +00:00
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("Creditors");
|
|
|
|
|
});
|
2020-10-14 12:35:14 +00:00
|
|
|
|
|
|
|
|
|
modelBuilder.Entity("COA.EnterpriseServices.DataAccess.Entities.SettlementAttempt", b =>
|
|
|
|
|
{
|
|
|
|
|
b.Property<int>("Id")
|
|
|
|
|
.ValueGeneratedOnAdd()
|
|
|
|
|
.HasColumnType("int")
|
|
|
|
|
.HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Created")
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
b.Property<DateTime>("Modified")
|
|
|
|
|
.HasColumnType("datetime2");
|
|
|
|
|
|
|
|
|
|
b.HasKey("Id");
|
|
|
|
|
|
|
|
|
|
b.ToTable("SettlementAttempts");
|
|
|
|
|
});
|
2020-10-14 01:24:27 +00:00
|
|
|
|
#pragma warning restore 612, 618
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|