//
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using TaskManager.EntityFramework;
#nullable disable
namespace TaskManager.EntityFramework.Migrations
{
[DbContext(typeof(JobDbContext))]
partial class JobDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(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_ATTACHMENT_DATA", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.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("DeviceId")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property("DeviceName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("FileName")
.IsRequired()
.HasMaxLength(300)
.HasColumnType("VARCHAR");
b.Property("FileUrl")
.IsRequired()
.HasMaxLength(1000)
.HasColumnType("VARCHAR");
b.Property("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("ProductionLineName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("StationName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TaskId")
.HasColumnType("uniqueidentifier");
b.Property("Type")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("VendorProductSn")
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_ATTACHMENT_DATA", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_ENVIRONMENT", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("ChineseUnit")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("CollectTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property("CreationTime")
.HasColumnType("datetime2");
b.Property("DataCollectionPoint")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("EnvIndicatorName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("EquipmentCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("EquipmentName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("LowerLimit")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property("NumValue")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("PlantName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("ProductionLineName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TaskId")
.HasColumnType("uniqueidentifier");
b.Property("UpperLimit")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("WorkshopName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_ENVIRONMENT", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_FLAW", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CheryProductName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("CheryProductSn")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ClassOfName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("CreationTime")
.HasColumnType("datetime2");
b.Property("DefectsCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("DefectsDesc")
.IsRequired()
.HasMaxLength(255)
.HasColumnType("VARCHAR");
b.Property("DefectsLevel")
.IsRequired()
.HasMaxLength(1)
.HasColumnType("CHAR");
b.Property("DefectsName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("ManufactureNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("Numberofdefect")
.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(64)
.HasColumnType("VARCHAR");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.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("VendorProductBatch")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("VendorProductName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("VendorProductSn")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
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")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_FLAW", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_MATERIAL_DATA", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("CreationTime")
.HasColumnType("datetime2");
b.Property("DateTime")
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property("Launched")
.HasMaxLength(6)
.HasColumnType("VARCHAR");
b.Property("MpnCode")
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("MpnName")
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("OemHardwareRevision")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("OemModel")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("OemProjectName")
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("OemSoftwareRevision")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("PlantId")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("PlantName")
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ProcurementType")
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TaskId")
.HasColumnType("uniqueidentifier");
b.Property("Type")
.HasPrecision(1)
.HasColumnType("DECIMAL");
b.Property("ValidDays")
.IsRequired()
.HasMaxLength(12)
.HasColumnType("CHAR");
b.Property("VendorHardwareRevision")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_MATERIAL_DATA", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.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("DeviceId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("DeviceName")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property("ManufactureNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
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(64)
.HasColumnType("VARCHAR");
b.Property("Rate")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property("RateTagValue")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.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(64)
.HasColumnType("VARCHAR");
b.Property("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
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")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_OEE_ACHIEVEMENT_RATE", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_OEE_TIME_DETAILS", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CreationTime")
.HasColumnType("datetime2");
b.Property("DeviceId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("DeviceName")
.IsRequired()
.HasMaxLength(33)
.HasColumnType("VARCHAR");
b.Property("EndTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("PlantName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("ProductionLineName")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("RecId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property("StartTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("StationName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SubType")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SubTypeName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("TaskId")
.HasColumnType("uniqueidentifier");
b.Property("Type")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("WorkshopName")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_OEE_TIME_DETAILS", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_PROCESS", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("CheryProductNo")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("CreationTime")
.HasColumnType("datetime2");
b.Property("DeviceCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("MaxProcessingCapacity")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("MoldCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("MoldName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ProcessCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ProcessName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("ProcessOrder")
.HasPrecision(16)
.HasColumnType("DECIMAL");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property("Rhythm")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property("RhythmUnit")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("SupplierCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TaskId")
.HasColumnType("uniqueidentifier");
b.Property("TechCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TechName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TechVersion")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("ValidPeriod")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("VendorProductNo")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_PROCESS", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_PROCESS_EQUIPMENT", b =>
{
b.Property("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("UId"));
b.Property("CalibrationDate")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property("CalibrationDueDays")
.IsRequired()
.HasMaxLength(12)
.HasColumnType("CHAR");
b.Property("CavityCount")
.HasPrecision(16)
.HasColumnType("DECIMAL");
b.Property("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("CoolingChannelLayout")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("CreationTime")
.HasColumnType("datetime2");
b.Property("CurrentLocation")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("CurrentUsageCount")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("DesignLifeUnits")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("DesignLifeValue")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("DetectionAccuracy")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("DetectionRange")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("DeviceCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("DeviceName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("DeviceStatus")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property("DeviceType")
.HasPrecision(1)
.HasColumnType("DECIMAL");
b.Property("Manufacturer")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("Material")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("ModelNumber")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("MoldSize")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("OverhaulCount")
.HasPrecision(16)
.HasColumnType("DECIMAL");
b.Property("ProductionDate")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("CHAR");
b.Property("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property("SerialNumber")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("TaskId")
.HasColumnType("uniqueidentifier");
b.Property("ToleranceRange")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("UnitType")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("WearThreshold")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_PROCESS_EQUIPMENT", (string)null);
});
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")
.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