//
using System;
using Catalog26.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
#nullable disable
namespace Catalog26.Migrations
{
[DbContext(typeof(Catalog26Context))]
partial class Catalog26ContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "10.0.1")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("PricingCatalog.Models.TDSPriceAvailability", b =>
{
b.Property("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id"));
b.Property("ABCCode")
.HasColumnType("nvarchar(max)");
b.Property("COOListCode")
.HasColumnType("nvarchar(max)");
b.Property("ContractPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("ETADate")
.HasColumnType("datetime2");
b.Property("EduPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("FederalGovPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("GSANTEPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("GSAPricing")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("GovClass")
.HasColumnType("nvarchar(max)");
b.Property("Height")
.HasColumnType("nvarchar(max)");
b.Property("KitStandAloneFlag")
.HasColumnType("nvarchar(max)");
b.Property("Length")
.HasColumnType("nvarchar(max)");
b.Property("LongDescription1")
.HasColumnType("nvarchar(max)");
b.Property("LongDescription2")
.HasColumnType("nvarchar(max)");
b.Property("LongDescription3")
.HasColumnType("nvarchar(max)");
b.Property("MAPPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("MSRP")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("MediaTypeCode")
.HasColumnType("nvarchar(max)");
b.Property("MfgDropShipWHouseQty")
.HasColumnType("int");
b.Property("MfgName")
.HasMaxLength(30)
.HasColumnType("nvarchar(30)");
b.Property("MfgPartNo")
.IsRequired()
.HasMaxLength(60)
.HasColumnType("nvarchar(60)");
b.Property("MinimumQtyOrder")
.HasColumnType("int");
b.Property("ParcelShippableFlag")
.HasColumnType("nvarchar(max)");
b.Property("PartDescription")
.HasMaxLength(80)
.HasColumnType("nvarchar(80)");
b.Property("PartnerCode")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property("PlatformType")
.HasColumnType("nvarchar(max)");
b.Property("ProductDescription")
.HasColumnType("nvarchar(max)");
b.Property("ProductStreetDate")
.HasColumnType("datetime2");
b.Property("PromoComment")
.HasColumnType("nvarchar(max)");
b.Property("PromoExpDate")
.HasColumnType("datetime2");
b.Property("PromoFlag")
.HasColumnType("nvarchar(max)");
b.Property("PurchasingRequirements")
.HasColumnType("nvarchar(max)");
b.Property("RecordId")
.HasColumnType("nvarchar(max)");
b.Property("ReplacementSKU")
.HasColumnType("nvarchar(max)");
b.Property("ReturnableFlag")
.HasColumnType("nvarchar(max)");
b.Property("SKUAttribute")
.HasColumnType("nvarchar(max)");
b.Property("SKUCreatedDate")
.HasColumnType("datetime2");
b.Property("SerializedFlag")
.HasColumnType("nvarchar(max)");
b.Property("ShipWeight")
.HasPrecision(7, 2)
.HasColumnType("decimal(7, 2)");
b.Property("StateGovPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("StatusCode")
.HasColumnType("nvarchar(max)");
b.Property("TAAFlag")
.HasColumnType("nvarchar(max)");
b.Property("TDS_HCPrice")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("TotalQtyOnHand")
.HasColumnType("int");
b.Property("UNSPSCCode")
.HasColumnType("nvarchar(max)");
b.Property("UPCCode")
.HasColumnType("nvarchar(max)");
b.Property("UnitCost")
.HasPrecision(12, 2)
.HasColumnType("decimal(12, 2)");
b.Property("VendorCategoryCode")
.HasColumnType("nvarchar(max)");
b.Property("VendorPartNo")
.IsRequired()
.HasMaxLength(80)
.HasColumnType("nvarchar(80)");
b.Property("VendorSKUNo")
.HasColumnType("nvarchar(max)");
b.Property("WQtyOnHand_16DFL")
.HasColumnType("int");
b.Property("WQtyOnHand_31DCG")
.HasColumnType("int");
b.Property("WQtyOnHand_3DFR_26DHA")
.HasColumnType("int");
b.Property("WQtyOnHand_502DGA")
.HasColumnType("int");
b.Property("WQtyOnHand_504DIN")
.HasColumnType("int");
b.Property("WQtyOnHand_505DFW")
.HasColumnType("int");
b.Property("WQtyOnHand_506DFO")
.HasColumnType("int");
b.Property("WQtyOnHand_50DCO")
.HasColumnType("int");
b.Property("WQtyOnHand_6DCH_29DGU")
.HasColumnType("int");
b.Property("WQtyOnHand_7DTN")
.HasColumnType("int");
b.Property("WQtyOnHand_80DMS")
.HasColumnType("int");
b.Property("WQtyOnHand_81DRN")
.HasColumnType("int");
b.Property("WQtyOnHand_Future1")
.HasColumnType("int");
b.Property("WQtyOnHand_Future2")
.HasColumnType("int");
b.Property("Width")
.HasColumnType("nvarchar(max)");
b.HasKey("Id");
b.ToTable("TDSPriceAvailability", (string)null);
});
#pragma warning restore 612, 618
}
}
}