257 lines
9.2 KiB
C#
257 lines
9.2 KiB
C#
// <auto-generated />
|
|
using System;
|
|
using Catalog26.Data;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Migrations;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace Catalog26.Migrations
|
|
{
|
|
[DbContext(typeof(Catalog26Context))]
|
|
[Migration("20260112070934_InitialCreate")]
|
|
partial class InitialCreate
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void BuildTargetModel(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<int>("Id")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("int");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"));
|
|
|
|
b.Property<string>("ABCCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("COOListCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal?>("ContractPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<DateTime?>("ETADate")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<decimal?>("EduPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<decimal?>("FederalGovPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<decimal?>("GSANTEPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<decimal?>("GSAPricing")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<string>("GovClass")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Height")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("KitStandAloneFlag")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Length")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("LongDescription1")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("LongDescription2")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("LongDescription3")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal?>("MAPPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<decimal?>("MSRP")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<string>("MediaTypeCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int?>("MfgDropShipWHouseQty")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MfgName")
|
|
.HasMaxLength(30)
|
|
.HasColumnType("nvarchar(30)");
|
|
|
|
b.Property<string>("MfgPartNo")
|
|
.IsRequired()
|
|
.HasMaxLength(60)
|
|
.HasColumnType("nvarchar(60)");
|
|
|
|
b.Property<int?>("MinimumQtyOrder")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("ParcelShippableFlag")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PartDescription")
|
|
.HasMaxLength(80)
|
|
.HasColumnType("nvarchar(80)");
|
|
|
|
b.Property<string>("PartnerCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlatformType")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductDescription")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("ProductStreetDate")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("PromoComment")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("PromoExpDate")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("PromoFlag")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PurchasingRequirements")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("RecordId")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ReplacementSKU")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ReturnableFlag")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SKUAttribute")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("SKUCreatedDate")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("SerializedFlag")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal?>("ShipWeight")
|
|
.HasPrecision(7, 2)
|
|
.HasColumnType("decimal(7, 2)");
|
|
|
|
b.Property<decimal?>("StateGovPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<string>("StatusCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("TAAFlag")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal?>("TDS_HCPrice")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<int?>("TotalQtyOnHand")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("UNSPSCCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UPCCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal?>("UnitCost")
|
|
.HasPrecision(12, 2)
|
|
.HasColumnType("decimal(12, 2)");
|
|
|
|
b.Property<string>("VendorCategoryCode")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VendorPartNo")
|
|
.IsRequired()
|
|
.HasMaxLength(80)
|
|
.HasColumnType("nvarchar(80)");
|
|
|
|
b.Property<string>("VendorSKUNo")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int?>("WQtyOnHand_16DFL")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_31DCG")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_3DFR_26DHA")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_502DGA")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_504DIN")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_505DFW")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_506DFO")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("WQtyOnHand_50DCO")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_6DCH_29DGU")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_7DTN")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_80DMS")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_81DRN")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_Future1")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int?>("WQtyOnHand_Future2")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Width")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("Id");
|
|
|
|
b.ToTable("TDSPriceAvailability", (string)null);
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|