You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2194 lines
77 KiB
2194 lines
77 KiB
// <auto-generated />
|
|
using System;
|
|
using CherryTaskManager;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
|
using Microsoft.EntityFrameworkCore.Metadata;
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
|
|
|
#nullable disable
|
|
|
|
namespace CherryTaskManager.Migrations
|
|
{
|
|
[DbContext(typeof(JobDbContext))]
|
|
partial class JobDbContextModelSnapshot : ModelSnapshot
|
|
{
|
|
protected override void BuildModel(ModelBuilder modelBuilder)
|
|
{
|
|
#pragma warning disable 612, 618
|
|
modelBuilder
|
|
.HasAnnotation("ProductVersion", "9.0.5")
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_BOM", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_BOM");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_CON_DATE", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("FeedbackResults")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Measures")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityMeet1")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet10")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet11")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet12")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet13")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet14")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet15")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet16")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet17")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet18")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet19")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet2")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet20")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet21")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet22")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet23")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet24")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet25")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet26")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet27")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet28")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet29")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet3")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet30")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet31")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet4")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet5")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet6")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet7")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet8")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet9")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ReleaseEdition")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StartDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplierCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VentureSpecific")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VentureType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_CON_DATE");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_CON_MMRP", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("FeedbackResults")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Measures")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityMeet1")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet10")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet11")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet12")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet2")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet3")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet4")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet5")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet6")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet7")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet8")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityMeet9")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ReleaseEdition")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StartMonth")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplierCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VentureSpecific")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VentureType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_CON_MMRP");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_CON_PO", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("FeedbackResults")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Measures")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PurchaseOrder")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityMeet")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplierCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VentureSpecific")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("VentureType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_CON_PO");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_DEL_STATE", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DataCreateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("DeliveryNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityDelivery")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ReceivingCrossings")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("RoadReceiveTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("RoadShippedTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialSrate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplierReceiveTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_DEL_STATE");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_EMPLOYEE", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_EMPLOYEE");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_INFO", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_INFO");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_INV_DATA", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DataUpdateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityCurrent")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StockState")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_INV_DATA");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_MRP_DATE", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("CreateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("IsUpdate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityDemand1")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand10")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand11")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand12")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand13")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand14")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand15")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand16")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand17")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand18")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand19")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand2")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand20")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand21")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand22")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand23")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand24")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand25")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand26")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand27")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand28")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand29")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand3")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand30")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand31")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand4")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand5")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand6")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand7")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand8")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand9")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ReleaseEdition")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StartDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_MRP_DATE");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_MRP_MONTH", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("IsDelete")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("IsUpdate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal>("QuantityDemand1")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand10")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand11")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand12")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand2")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand3")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand4")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand5")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand6")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand7")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand8")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal>("QuantityDemand9")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ReleaseEdition")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StartMonth")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_MRP_MONTH");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_MRP_STATE", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("ConfirmTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("CreatQuantity")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DateRequired")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("DemandSrate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("DemandType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("OnTimePercentage")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityDelivery")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityInTransit")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityReceive")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("SummaryCreatQuantity")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("SummaryQuantityDelivery")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("SummaryQuantityInTransit")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("SummaryQuantityReceive")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("SummarySign")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_MRP_STATE");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PO", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("Batch")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Country")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("CreateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DeliveryDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("DeliveryPlace")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("ItemType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialUnit")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Note")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PurchaseOrder")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Purchaser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityDelivery")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityDemand")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Supplier")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("TradeTerms")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("VoucherDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PO");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_ATTACHMENT_DATA", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_ATTACHMENT_DATA");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_CPS", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_CPS");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_CSCHEDUL", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("AssemblyMaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ModelCategory")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Models")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MotorMaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("OnLineDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("OnLineTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Plant")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionLineId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionLineName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SortDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SortTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Vin")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_CSCHEDUL");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_DATA", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_DATA");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_ENVIRONMENT", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_ENVIRONMENT");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_FIRST_PASSYIELD", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_FIRST_PASSYIELD");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_FLAW", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_FLAW");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_HSCHEDUL", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Models")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("OnLineTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionLineId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionLineName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Vin")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_HSCHEDUL");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_MATERIAL_DATA", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_MATERIAL_DATA");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_MATERIAL_STOCK", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_MATERIAL_STOCK");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_OEE_TIME_DETAILS", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_OEE_TIME_DETAILS");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_PLANING", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("Assembly")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("Id")
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Models")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Omterior")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Pattern")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Plant")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<decimal?>("Quantity1")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal?>("Quantity2")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal?>("Quantity3")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal?>("Quantity4")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal?>("Quantity5")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<decimal?>("Quantity6")
|
|
.HasColumnType("decimal(18,2)");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("ReleaseEdition")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SalseDepartment")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("StartMonth")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Type")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime?>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_PLANING");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_PROCESS", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_PROCESS");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_PROCESS_EQUIPMENT", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_PROCESS_EQUIPMENT");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_SCHEDULING", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_SCHEDULING");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_STATION_FIRST_PASSYIELD", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_STATION_FIRST_PASSYIELD");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_PRO_TSCHEDUL", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("FinalOnLineTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("FinalWorkshop")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Models")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("OnLineTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionLineId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionLineName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Vin")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_PRO_TSCHEDUL");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_RETURN", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DemandPickupTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Feedback")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("Judge")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("LotNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PickUpCrossings")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PickUpLocation")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Plant")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityDelivery")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ReturnNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ReturnReason")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ReturnType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialSrate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_RETURN");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_SA_WEEK", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("CreateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("CreateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DateReceived")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("Id")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("IsDelete")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PlantId")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("PurchasingGroup")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityDemand")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ScheduleAgreement")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SerialNumber")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("UpdateByUser")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<DateTime>("UpdateTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<int>("Version")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_SA_WEEK");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.SUPPLIER_SINV_DATA", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("DataUpdateTime")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("InventoryStatus")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialDescription")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("MaterialType")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("ProductionCycle")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("QuantityCurrent")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<int>("QuantityPlan")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<bool>("ReadState")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<int>("SafetyStock")
|
|
.HasColumnType("int");
|
|
|
|
b.Property<string>("SupplierBatch")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplierCode")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplierName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("SupplieryxqDate")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("WriteState")
|
|
.HasColumnType("bit");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("SUPPLIER_SINV_DATA");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.TaskConifgure", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<string>("Api")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Corn")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<bool>("IsAuto")
|
|
.HasColumnType("bit");
|
|
|
|
b.Property<string>("Module")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("TableName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("TaskName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Url")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("TaskConifgure");
|
|
});
|
|
|
|
modelBuilder.Entity("TaskManager.Controllers.TaskLog", b =>
|
|
{
|
|
b.Property<long>("UId")
|
|
.ValueGeneratedOnAdd()
|
|
.HasColumnType("bigint");
|
|
|
|
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
|
|
|
|
b.Property<DateTime>("CreationTime")
|
|
.HasColumnType("datetime2");
|
|
|
|
b.Property<string>("Info")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Remark")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("TaskName")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.Property<string>("Type")
|
|
.IsRequired()
|
|
.HasColumnType("nvarchar(max)");
|
|
|
|
b.HasKey("UId");
|
|
|
|
b.ToTable("TaskLogs");
|
|
});
|
|
#pragma warning restore 612, 618
|
|
}
|
|
}
|
|
}
|
|
|