using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace TaskManager.EntityFramework.Migrations
{
///
public partial class z202506160003 : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "SalseDepartment",
table: "SUPPLIER_PRO_PLANING",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.AlterColumn(
name: "Omterior",
table: "SUPPLIER_PRO_PLANING",
type: "nvarchar(50)",
maxLength: 50,
nullable: true,
oldClrType: typeof(string),
oldType: "nvarchar(max)",
oldNullable: true);
migrationBuilder.CreateTable(
name: "SUPPLIER_BOM_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
SupplierCode = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SupplierName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
BomCode = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
BomName = table.Column(type: "VARCHAR(100)", maxLength: 100, nullable: false),
BomVersion = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
CheryProductNo = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
CheryProductName = table.Column(type: "VARCHAR(100)", maxLength: 100, nullable: false),
VendorProductNo = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
VendorProductName = table.Column(type: "VARCHAR(100)", maxLength: 100, nullable: false),
VendorProductType = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialUnit = table.Column(type: "VARCHAR(8)", maxLength: 8, nullable: true),
SubMaterialCode = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SubMaterialName = table.Column(type: "VARCHAR(100)", maxLength: 100, nullable: false),
SubMaterialType = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
SubMaterialUnit = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SubMaterialQuota = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: false),
DataUpdateTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
ReadState = table.Column(type: "bit", nullable: false, defaultValue: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_BOM_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_CON_DATE_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
SupplierCode = table.Column(type: "NVARCHAR(32)", maxLength: 32, nullable: true),
ReleaseEdition = table.Column(type: "NVARCHAR(32)", maxLength: 32, nullable: true),
MaterialCode = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
PlantId = table.Column(type: "NVARCHAR(64)", maxLength: 64, nullable: true),
FeedbackResults = table.Column(type: "NVARCHAR(10)", maxLength: 10, nullable: true),
VentureType = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
VentureSpecific = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
Measures = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
StartDate = table.Column(type: "datetime2", nullable: true),
QuantityMeet1 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet2 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet3 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet4 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet5 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet6 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet7 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet8 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet9 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet10 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet11 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet12 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet13 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet14 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet15 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet16 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet17 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet18 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet19 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet20 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet21 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet22 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet23 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet24 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet25 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet26 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet27 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet28 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet29 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet30 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet31 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
ReadState = table.Column(type: "bit", nullable: false, defaultValue: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
Id = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_CON_DATE_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_CON_MMRP_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
Id = table.Column(type: "nvarchar(450)", nullable: true),
SupplierCode = table.Column(type: "NVARCHAR(32)", maxLength: 32, nullable: true),
ReleaseEdition = table.Column(type: "NVARCHAR(32)", maxLength: 32, nullable: true),
MaterialCode = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
PlantId = table.Column(type: "NVARCHAR(64)", maxLength: 64, nullable: true),
FeedbackResults = table.Column(type: "NVARCHAR(10)", maxLength: 10, nullable: true),
VentureType = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
VentureSpecific = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
Measures = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
StartMonth = table.Column(type: "NVARCHAR(7)", maxLength: 7, nullable: true),
QuantityMeet1 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet2 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet3 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet4 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet5 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet6 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet7 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet8 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet9 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet10 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet11 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
QuantityMeet12 = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
ReadState = table.Column(type: "bit", nullable: false, defaultValue: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_CON_MMRP_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_CON_PO_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
SupplierCode = table.Column(type: "NVARCHAR(32)", maxLength: 32, nullable: true),
PurchaseOrder = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
SerialNumber = table.Column(type: "NVARCHAR(10)", maxLength: 10, nullable: true),
QuantityMeet = table.Column(type: "DECIMAL(16,5)", precision: 16, scale: 5, nullable: true),
FeedbackResults = table.Column(type: "NVARCHAR(10)", maxLength: 10, nullable: true),
VentureType = table.Column(type: "NVARCHAR(50)", maxLength: 50, nullable: true),
VentureSpecific = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
Measures = table.Column(type: "NVARCHAR(255)", maxLength: 255, nullable: true),
WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
ReadState = table.Column(type: "bit", nullable: false, defaultValue: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
Id = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_CON_PO_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_DEL_STATE_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
DeliveryNumber = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
SerialNumber = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
SerialSrate = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialCode = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialDescription = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true),
PlantId = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
ReceivingCrossings = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
QuantityDelivery = table.Column(type: "decimal(18,2)", nullable: true),
DataCreateTime = table.Column(type: "datetime2", nullable: true),
SupplierReceiveTime = table.Column(type: "datetime2", nullable: true),
RoadShippedTime = table.Column(type: "datetime2", nullable: true),
RoadReceiveTime = table.Column(type: "datetime2", nullable: true),
CreateByUser = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreateTime = table.Column(type: "datetime2", nullable: false),
UpdateByUser = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
UpdateTime = table.Column(type: "datetime2", nullable: false),
IsDelete = table.Column(type: "int", nullable: false),
Version = table.Column(type: "int", nullable: false),
WriteState = table.Column(type: "bit", nullable: false),
ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "nvarchar(max)", nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
RequestDate = table.Column(type: "nvarchar(30)", maxLength: 30, nullable: true),
Id = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_DEL_STATE_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_EMPLOYEE_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
SupplierCode = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SupplierName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
PlantId = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
PlantName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
WorkshopId = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
WorkshopName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
ProductionLineId = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
ProductionLineName = table.Column(type: "VARCHAR(100)", maxLength: 100, nullable: false),
StationId = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
StationName = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
OperatorId = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
OperatorName = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
HaveQuantity = table.Column(type: "CHAR(1)", maxLength: 1, nullable: false),
DataUpdateTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
PositionId = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
PositionName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
QualificationLevel = table.Column(type: "VARCHAR(16)", maxLength: 16, nullable: false),
CheckInTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
CheckOutTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
ReadState = table.Column(type: "bit", nullable: false, defaultValue: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_EMPLOYEE_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_INFO_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
SupplierCode = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
SupplierName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
PlantId = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
PlantName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
WorkshopId = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
WorkshopName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
ProductionLineId = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
ProductionLineName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
StationId = table.Column(type: "VARCHAR(32)", maxLength: 32, nullable: false),
StationName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
KeyStation = table.Column(type: "CHAR(1)", maxLength: 1, nullable: false),
DataUpdateTime = table.Column(type: "CHAR(19)", maxLength: 19, nullable: false),
ProductionLineOrder = table.Column(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false),
StationOrder = table.Column(type: "DECIMAL(16,0)", precision: 16, scale: 0, nullable: false),
VendorProductNo = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
VendorProductName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
CheryProductNo = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
CheryProductName = table.Column(type: "VARCHAR(64)", maxLength: 64, nullable: false),
WriteState = table.Column(type: "bit", nullable: false, defaultValue: false),
ReadState = table.Column(type: "bit", nullable: false, defaultValue: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "NVarchar(500)", maxLength: 500, nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_INFO_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_INV_DATA_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
PlantId = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
PlantName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialCode = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialDescription = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true),
QuantityCurrent = table.Column(type: "decimal(18,2)", nullable: true),
StockState = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
DataUpdateTime = table.Column(type: "datetime2", nullable: true),
CreateByUser = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreateTime = table.Column(type: "datetime2", nullable: true),
UpdateByUser = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
UpdateTime = table.Column(type: "datetime2", nullable: true),
IsDelete = table.Column(type: "nvarchar(max)", nullable: false),
Version = table.Column(type: "int", nullable: false),
WriteState = table.Column(type: "bit", nullable: false),
ReadState = table.Column(type: "bit", nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
Remark = table.Column(type: "nvarchar(max)", nullable: true),
TaskId = table.Column(type: "uniqueidentifier", nullable: false),
RequestDate = table.Column(type: "nvarchar(30)", maxLength: 30, nullable: true),
Id = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_SUPPLIER_INV_DATA_LOGS", x => x.UId);
});
migrationBuilder.CreateTable(
name: "SUPPLIER_MRP_DATE_LOGS",
columns: table => new
{
UId = table.Column(type: "bigint", nullable: false)
.Annotation("SqlServer:Identity", "1, 1"),
ReleaseEdition = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialCode = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
MaterialDescription = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: true),
PlantId = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
PlantName = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
StartDate = table.Column(type: "datetime2", nullable: true),
QuantityDemand1 = table.Column(type: "decimal(18,2)", nullable: true),
QuantityDemand2 = table.Column(type: "decimal(18,2)", nullable: true),
QuantityDemand3 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand4 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand5 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand6 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand7 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand8 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand9 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand10 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand11 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand12 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand13 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand14 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand15 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand16 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand17 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand18 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand19 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand20 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand21 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand22 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand23 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand24 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand25 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand26 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand27 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand28 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand29 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand30 = table.Column(type: "decimal(18,2)", nullable: false),
QuantityDemand31 = table.Column(type: "decimal(18,2)", nullable: false),
IsUpdate = table.Column(type: "nvarchar(max)", nullable: true),
CreateByUser = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
CreateTime = table.Column(type: "datetime2", nullable: false),
UpdateByUser = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
UpdateTime = table.Column(type: "datetime2", nullable: false),
IsDelete = table.Column