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.

3310 lines
118 KiB

3 weeks ago
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
3 weeks ago
using TaskManager.EntityFramework;
3 weeks ago
#nullable disable
3 weeks ago
namespace TaskManager.EntityFramework.Migrations
3 weeks ago
{
[DbContext(typeof(JobDbContext))]
partial class JobDbContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
3 weeks ago
.HasAnnotation("ProductVersion", "8.0.0")
3 weeks ago
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_ATTACHMENT_DATA", b =>
{
b.Property<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DateTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("DeviceId")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property<string>("DeviceName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("FileName")
.IsRequired()
.HasMaxLength(300)
.HasColumnType("VARCHAR");
b.Property<string>("FileUrl")
.IsRequired()
.HasMaxLength(1000)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("StationName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("Type")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductSn")
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("ChineseUnit")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("CollectTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DataCollectionPoint")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("EnvIndicatorName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<string>("EquipmentCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("EquipmentName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<decimal>("LowerLimit")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<decimal?>("NumValue")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<decimal>("UpperLimit")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductSn")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ClassOfName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DefectsCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("DefectsDesc")
.IsRequired()
.HasMaxLength(255)
.HasColumnType("VARCHAR");
b.Property<string>("DefectsLevel")
.IsRequired()
.HasMaxLength(1)
.HasColumnType("CHAR");
b.Property<string>("DefectsName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<string>("ManufactureNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<decimal>("Numberofdefect")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProductBatchNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("StationName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("StatisticalTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("VendorProductBatch")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductSn")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("WorkShift")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DateTime")
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("Launched")
.HasMaxLength(6)
.HasColumnType("VARCHAR");
b.Property<string>("MpnCode")
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("MpnName")
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("OemHardwareRevision")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("OemModel")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("OemProjectName")
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("OemSoftwareRevision")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantId")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantName")
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProcurementType")
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<decimal>("Type")
.HasPrecision(1)
.HasColumnType("DECIMAL");
b.Property<string>("ValidDays")
.IsRequired()
.HasMaxLength(12)
.HasColumnType("CHAR");
b.Property<string>("VendorHardwareRevision")
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DateTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("DeviceId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("DeviceName")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property<string>("ManufactureNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProductBatchNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<decimal>("Rate")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<decimal>("RateTagValue")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("StationName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("StatisticalTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkShift")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DeviceId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("DeviceName")
.IsRequired()
.HasMaxLength(33)
.HasColumnType("VARCHAR");
b.Property<string>("EndTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineName")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("RecId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("StartTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("StationName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SubType")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SubTypeName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("Type")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopName")
.HasMaxLength(50)
.HasColumnType("nvarchar");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DeviceCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("MaxProcessingCapacity")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("MoldCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("MoldName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProcessCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProcessName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<decimal>("ProcessOrder")
.HasPrecision(16)
.HasColumnType("DECIMAL");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<decimal>("Rhythm")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("RhythmUnit")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("TechCode")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("TechName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("TechVersion")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("ValidPeriod")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("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<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<string>("CalibrationDate")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("CalibrationDueDays")
.IsRequired()
.HasMaxLength(12)
.HasColumnType("CHAR");
b.Property<decimal>("CavityCount")
.HasPrecision(16)
.HasColumnType("DECIMAL");
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("CoolingChannelLayout")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("CurrentLocation")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("CurrentUsageCount")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("DesignLifeUnits")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("DesignLifeValue")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<string>("DetectionAccuracy")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("DetectionRange")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("DeviceCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("DeviceName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("DeviceStatus")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("VARCHAR");
b.Property<decimal>("DeviceType")
.HasPrecision(1)
.HasColumnType("DECIMAL");
b.Property<string>("Manufacturer")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("Material")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ModelNumber")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("MoldSize")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<decimal>("OverhaulCount")
.HasPrecision(16)
.HasColumnType("DECIMAL");
b.Property<string>("ProductionDate")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("CHAR");
b.Property<bool>("ReadState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("SerialNumber")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("ToleranceRange")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("UnitType")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WearThreshold")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<bool>("WriteState")
.ValueGeneratedOnAdd()
.HasColumnType("bit")
.HasDefaultValue(false);
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_PROCESS_EQUIPMENT", (string)null);
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.Entitys.SUPPLIER_PRO_STATION_FIRST_PASSYIELD", b =>
{
b.Property<long>("UId")
.ValueGeneratedOnAdd()
.HasColumnType("bigint");
SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<long>("UId"));
b.Property<decimal>("AcceptableNumber")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("CheryProductName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<string>("CheryProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
b.Property<string>("DateTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<decimal>("DefectiveNumber")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("ManufactureNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<decimal>("OncePassRateRealValue")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<decimal>("OncePassRateTagValue")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("PlantId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("PlantName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("ProductBatchNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("ProductionLineName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<bool>("ReadState")
.HasColumnType("bit");
b.Property<string>("Remark")
.HasMaxLength(500)
.HasColumnType("NVarchar");
b.Property<string>("StationId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("StationName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<string>("StatisticalTime")
.IsRequired()
.HasMaxLength(19)
.HasColumnType("CHAR");
b.Property<string>("SupplierCode")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("SupplierName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
b.Property<string>("VendorProductName")
.IsRequired()
.HasMaxLength(100)
.HasColumnType("VARCHAR");
b.Property<string>("VendorProductNo")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<decimal>("WorkOrderNumber")
.HasPrecision(16, 5)
.HasColumnType("DECIMAL");
b.Property<string>("WorkShift")
.IsRequired()
.HasMaxLength(10)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopId")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("VARCHAR");
b.Property<string>("WorkshopName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("VARCHAR");
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_STATION_FIRST_PASSYIELD", (string)null);
});
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_BOM", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_BOM");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_CON_DATE", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
b.Property<string>("StartDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("SupplierCode")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_CON_MMRP", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
b.Property<string>("StartMonth")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("SupplierCode")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_CON_PO", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
b.Property<string>("SerialNumber")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("SupplierCode")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_DEL_STATE", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
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)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_EMPLOYEE", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_EMPLOYEE");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_INFO", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_INFO");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_INV_DATA", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("StockState")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_MRP_DATE", b =>
3 weeks ago
{
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");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("StartDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_MRP_MONTH", b =>
3 weeks ago
{
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");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("StartMonth")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_MRP_STATE", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
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)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PO", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("SerialNumber")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("Supplier")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_CPS", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_CPS");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_CSCHEDUL", b =>
3 weeks ago
{
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");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("SortDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("SortTime")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_DATA", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_DATA");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_FIRST_PASSYIELD", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_FIRST_PASSYIELD");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_HSCHEDUL", b =>
3 weeks ago
{
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");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_MATERIAL_STOCK", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_PRO_MATERIAL_STOCK");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_PLANING", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("SalseDepartment")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("StartMonth")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_SCHEDULING", b =>
3 weeks ago
{
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
3 weeks ago
b.ToTable("SUPPLIER_PRO_SCHEDULING");
3 weeks ago
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_PRO_TSCHEDUL", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_RETURN", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
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)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_SA_WEEK", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("ScheduleAgreement")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("SerialNumber")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
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");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.SUPPLIER_SINV_DATA", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<string>("Id")
.HasColumnType("nvarchar(max)");
3 weeks ago
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")
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<string>("RequestDate")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
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)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
b.HasKey("UId");
b.ToTable("SUPPLIER_SINV_DATA");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.TaskConifgure", b =>
3 weeks ago
{
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)");
3 weeks ago
b.Property<DateTime>("CreationTime")
.HasColumnType("datetime2");
3 weeks ago
b.Property<bool>("IsAuto")
.HasColumnType("bit");
b.Property<string>("Module")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<bool>("ReadState")
.HasColumnType("bit");
3 weeks ago
b.Property<string>("Remark")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("TableName")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<Guid>("TaskId")
.HasColumnType("uniqueidentifier");
3 weeks ago
b.Property<string>("TaskName")
.IsRequired()
.HasColumnType("nvarchar(max)");
b.Property<string>("Url")
.IsRequired()
.HasColumnType("nvarchar(max)");
3 weeks ago
b.Property<bool>("WriteState")
.HasColumnType("bit");
3 weeks ago
b.HasKey("UId");
b.ToTable("TaskConifgure");
});
3 weeks ago
modelBuilder.Entity("TaskManager.Entity.TaskLog", b =>
3 weeks ago
{
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
}
}
}