// using System; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Metadata; using Microsoft.EntityFrameworkCore.Migrations; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using TaskManager.EntityFramework; #nullable disable namespace TaskManager.EntityFramework.Migrations { [DbContext(typeof(JobDbContext))] [Migration("20250528092555_init")] partial class init { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("ProductVersion", "8.0.0") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_STATION_FIRST_PASSYIELD", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("AcceptableNumber") .HasPrecision(16, 5) .HasColumnType("DECIMAL"); b.Property("CheryProductName") .IsRequired() .HasMaxLength(100) .HasColumnType("VARCHAR"); b.Property("CheryProductNo") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DateTime") .IsRequired() .HasMaxLength(19) .HasColumnType("CHAR"); b.Property("DefectiveNumber") .HasPrecision(16, 5) .HasColumnType("DECIMAL"); b.Property("ManufactureNo") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("OncePassRateRealValue") .HasPrecision(16, 5) .HasColumnType("DECIMAL"); b.Property("OncePassRateTagValue") .HasPrecision(16, 5) .HasColumnType("DECIMAL"); b.Property("PlantId") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("PlantName") .IsRequired() .HasMaxLength(64) .HasColumnType("VARCHAR"); b.Property("ProductBatchNo") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("ProductionLineId") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("ProductionLineName") .IsRequired() .HasMaxLength(100) .HasColumnType("VARCHAR"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasMaxLength(500) .HasColumnType("NVarchar"); b.Property("StationId") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("StationName") .IsRequired() .HasMaxLength(64) .HasColumnType("VARCHAR"); b.Property("StatisticalTime") .IsRequired() .HasMaxLength(19) .HasColumnType("CHAR"); b.Property("SupplierCode") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("SupplierName") .IsRequired() .HasMaxLength(64) .HasColumnType("VARCHAR"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("VendorProductName") .IsRequired() .HasMaxLength(100) .HasColumnType("VARCHAR"); b.Property("VendorProductNo") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("WorkOrderNumber") .HasPrecision(16, 5) .HasColumnType("DECIMAL"); b.Property("WorkShift") .IsRequired() .HasMaxLength(10) .HasColumnType("VARCHAR"); b.Property("WorkshopId") .IsRequired() .HasMaxLength(32) .HasColumnType("VARCHAR"); b.Property("WorkshopName") .IsRequired() .HasMaxLength(64) .HasColumnType("VARCHAR"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_STATION_FIRST_PASSYIELD", (string)null); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_BOM", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_BOM"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_CON_DATE", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("FeedbackResults") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Measures") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityMeet1") .HasColumnType("int"); b.Property("QuantityMeet10") .HasColumnType("int"); b.Property("QuantityMeet11") .HasColumnType("int"); b.Property("QuantityMeet12") .HasColumnType("int"); b.Property("QuantityMeet13") .HasColumnType("int"); b.Property("QuantityMeet14") .HasColumnType("int"); b.Property("QuantityMeet15") .HasColumnType("int"); b.Property("QuantityMeet16") .HasColumnType("int"); b.Property("QuantityMeet17") .HasColumnType("int"); b.Property("QuantityMeet18") .HasColumnType("int"); b.Property("QuantityMeet19") .HasColumnType("int"); b.Property("QuantityMeet2") .HasColumnType("int"); b.Property("QuantityMeet20") .HasColumnType("int"); b.Property("QuantityMeet21") .HasColumnType("int"); b.Property("QuantityMeet22") .HasColumnType("int"); b.Property("QuantityMeet23") .HasColumnType("int"); b.Property("QuantityMeet24") .HasColumnType("int"); b.Property("QuantityMeet25") .HasColumnType("int"); b.Property("QuantityMeet26") .HasColumnType("int"); b.Property("QuantityMeet27") .HasColumnType("int"); b.Property("QuantityMeet28") .HasColumnType("int"); b.Property("QuantityMeet29") .HasColumnType("int"); b.Property("QuantityMeet3") .HasColumnType("int"); b.Property("QuantityMeet30") .HasColumnType("int"); b.Property("QuantityMeet31") .HasColumnType("int"); b.Property("QuantityMeet4") .HasColumnType("int"); b.Property("QuantityMeet5") .HasColumnType("int"); b.Property("QuantityMeet6") .HasColumnType("int"); b.Property("QuantityMeet7") .HasColumnType("int"); b.Property("QuantityMeet8") .HasColumnType("int"); b.Property("QuantityMeet9") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("ReleaseEdition") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StartDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplierCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("VentureSpecific") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("VentureType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_CON_DATE"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_CON_MMRP", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("FeedbackResults") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Measures") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityMeet1") .HasColumnType("int"); b.Property("QuantityMeet10") .HasColumnType("int"); b.Property("QuantityMeet11") .HasColumnType("int"); b.Property("QuantityMeet12") .HasColumnType("int"); b.Property("QuantityMeet2") .HasColumnType("int"); b.Property("QuantityMeet3") .HasColumnType("int"); b.Property("QuantityMeet4") .HasColumnType("int"); b.Property("QuantityMeet5") .HasColumnType("int"); b.Property("QuantityMeet6") .HasColumnType("int"); b.Property("QuantityMeet7") .HasColumnType("int"); b.Property("QuantityMeet8") .HasColumnType("int"); b.Property("QuantityMeet9") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("ReleaseEdition") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StartMonth") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplierCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("VentureSpecific") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("VentureType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_CON_MMRP"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_CON_PO", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("FeedbackResults") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Measures") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PurchaseOrder") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityMeet") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplierCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("VentureSpecific") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("VentureType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_CON_PO"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_DEL_STATE", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DataCreateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("DeliveryNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDelivery") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("ReceivingCrossings") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoadReceiveTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RoadShippedTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialSrate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplierReceiveTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_DEL_STATE"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_EMPLOYEE", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_EMPLOYEE"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_INFO", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_INFO"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_INV_DATA", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DataUpdateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityCurrent") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StockState") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_INV_DATA"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_MRP_DATE", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("IsUpdate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDemand1") .HasColumnType("int"); b.Property("QuantityDemand10") .HasColumnType("int"); b.Property("QuantityDemand11") .HasColumnType("int"); b.Property("QuantityDemand12") .HasColumnType("int"); b.Property("QuantityDemand13") .HasColumnType("int"); b.Property("QuantityDemand14") .HasColumnType("int"); b.Property("QuantityDemand15") .HasColumnType("int"); b.Property("QuantityDemand16") .HasColumnType("int"); b.Property("QuantityDemand17") .HasColumnType("int"); b.Property("QuantityDemand18") .HasColumnType("int"); b.Property("QuantityDemand19") .HasColumnType("int"); b.Property("QuantityDemand2") .HasColumnType("int"); b.Property("QuantityDemand20") .HasColumnType("int"); b.Property("QuantityDemand21") .HasColumnType("int"); b.Property("QuantityDemand22") .HasColumnType("int"); b.Property("QuantityDemand23") .HasColumnType("int"); b.Property("QuantityDemand24") .HasColumnType("int"); b.Property("QuantityDemand25") .HasColumnType("int"); b.Property("QuantityDemand26") .HasColumnType("int"); b.Property("QuantityDemand27") .HasColumnType("int"); b.Property("QuantityDemand28") .HasColumnType("int"); b.Property("QuantityDemand29") .HasColumnType("int"); b.Property("QuantityDemand3") .HasColumnType("int"); b.Property("QuantityDemand30") .HasColumnType("int"); b.Property("QuantityDemand31") .HasColumnType("int"); b.Property("QuantityDemand4") .HasColumnType("int"); b.Property("QuantityDemand5") .HasColumnType("int"); b.Property("QuantityDemand6") .HasColumnType("int"); b.Property("QuantityDemand7") .HasColumnType("int"); b.Property("QuantityDemand8") .HasColumnType("int"); b.Property("QuantityDemand9") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("ReleaseEdition") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StartDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_MRP_DATE"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_MRP_MONTH", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("IsUpdate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDemand1") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand10") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand11") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand12") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand2") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand3") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand4") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand5") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand6") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand7") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand8") .HasColumnType("decimal(18,2)"); b.Property("QuantityDemand9") .HasColumnType("decimal(18,2)"); b.Property("ReadState") .HasColumnType("bit"); b.Property("ReleaseEdition") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StartMonth") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_MRP_MONTH"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_MRP_STATE", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("ConfirmTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreatQuantity") .HasColumnType("int"); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DateRequired") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("DemandSrate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("DemandType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("OnTimePercentage") .HasColumnType("int"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDelivery") .HasColumnType("int"); b.Property("QuantityDemand") .HasColumnType("int"); b.Property("QuantityInTransit") .HasColumnType("int"); b.Property("QuantityReceive") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SummaryCreatQuantity") .HasColumnType("int"); b.Property("SummaryQuantityDelivery") .HasColumnType("int"); b.Property("SummaryQuantityInTransit") .HasColumnType("int"); b.Property("SummaryQuantityReceive") .HasColumnType("int"); b.Property("SummarySign") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_MRP_STATE"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PO", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("Batch") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Country") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DeliveryDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("DeliveryPlace") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("ItemType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialUnit") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Note") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PurchaseOrder") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Purchaser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDelivery") .HasColumnType("int"); b.Property("QuantityDemand") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Supplier") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("TradeTerms") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Version") .HasColumnType("int"); b.Property("VoucherDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PO"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_ATTACHMENT_DATA", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_ATTACHMENT_DATA"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_CPS", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_CPS"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_CSCHEDUL", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("AssemblyMaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ModelCategory") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Models") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MotorMaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("OnLineDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("OnLineTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Plant") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionLineId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionLineName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SortDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SortTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("Vin") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_CSCHEDUL"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_DATA", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_DATA"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_ENVIRONMENT", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_ENVIRONMENT"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_FIRST_PASSYIELD", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_FIRST_PASSYIELD"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_FLAW", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_FLAW"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_HSCHEDUL", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Models") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("OnLineTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionLineId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionLineName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("Vin") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_HSCHEDUL"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_MATERIAL_DATA", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_MATERIAL_DATA"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_MATERIAL_STOCK", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_MATERIAL_STOCK"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_OEE_TIME_DETAILS", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_OEE_TIME_DETAILS"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_PLANING", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("Assembly") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Models") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Omterior") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Pattern") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Plant") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Quantity1") .HasColumnType("decimal(18,2)"); b.Property("Quantity2") .HasColumnType("decimal(18,2)"); b.Property("Quantity3") .HasColumnType("decimal(18,2)"); b.Property("Quantity4") .HasColumnType("decimal(18,2)"); b.Property("Quantity5") .HasColumnType("decimal(18,2)"); b.Property("Quantity6") .HasColumnType("decimal(18,2)"); b.Property("ReadState") .HasColumnType("bit"); b.Property("ReleaseEdition") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SalseDepartment") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("StartMonth") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("Type") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_PLANING"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_PROCESS", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_PROCESS"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_PROCESS_EQUIPMENT", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_PROCESS_EQUIPMENT"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_SCHEDULING", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_SCHEDULING"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_TSCHEDUL", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("FinalOnLineTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("FinalWorkshop") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Models") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("OnLineTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionLineId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionLineName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("Vin") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_PRO_TSCHEDUL"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_RETURN", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DemandPickupTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Feedback") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("Judge") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("LotNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PickUpCrossings") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PickUpLocation") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Plant") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDelivery") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReturnNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReturnReason") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReturnType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialSrate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_RETURN"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_SA_WEEK", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreateTime") .HasColumnType("datetime2"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DateReceived") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("IsDelete") .HasColumnType("int"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PlantId") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("PurchasingGroup") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityDemand") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ScheduleAgreement") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SerialNumber") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("UpdateByUser") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("UpdateTime") .HasColumnType("datetime2"); b.Property("Version") .HasColumnType("int"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_SA_WEEK"); }); modelBuilder.Entity("TaskManager.Entity.SUPPLIER_SINV_DATA", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("DataUpdateTime") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Id") .HasColumnType("nvarchar(max)"); b.Property("InventoryStatus") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialDescription") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("MaterialType") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ProductionCycle") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("QuantityCurrent") .HasColumnType("int"); b.Property("QuantityPlan") .HasColumnType("int"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("RequestDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SafetyStock") .HasColumnType("int"); b.Property("SupplierBatch") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplierCode") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplierName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("SupplieryxqDate") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("SUPPLIER_SINV_DATA"); }); modelBuilder.Entity("TaskManager.Entity.TaskConifgure", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("Api") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Corn") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("IsAuto") .HasColumnType("bit"); b.Property("Module") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("ReadState") .HasColumnType("bit"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TableName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskId") .HasColumnType("uniqueidentifier"); b.Property("TaskName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Url") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("WriteState") .HasColumnType("bit"); b.HasKey("UId"); b.ToTable("TaskConifgure"); }); modelBuilder.Entity("TaskManager.Entity.TaskLog", b => { b.Property("UId") .ValueGeneratedOnAdd() .HasColumnType("bigint"); SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId")); b.Property("CreationTime") .HasColumnType("datetime2"); b.Property("Info") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Remark") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("TaskName") .IsRequired() .HasColumnType("nvarchar(max)"); b.Property("Type") .IsRequired() .HasColumnType("nvarchar(max)"); b.HasKey("UId"); b.ToTable("TaskLogs"); }); #pragma warning restore 612, 618 } } }