Quellcode durchsuchen

dopext数据库表实体定义和迁移

Murphy vor 3 Jahren
Ursprung
Commit
54ee00678b

+ 3 - 5
MicroServices/Business/Business.Application/WMS/SyncKingdeeAppService.cs

@@ -1,13 +1,11 @@
 using Business.ResourceExamineManagement.Dto;
-using Bussiness.Model.MES.IC;
+using Bussiness.Model.Ext;
 using Bussiness.Model.SystemData;
 using Bussiness.Model.Tech;
-using Bussiness.MongoModel.MES.IC;
 using Microsoft.Extensions.Configuration;
 using Newtonsoft.Json;
 using System;
 using System.Collections.Generic;
-using System.Text.RegularExpressions;
 using System.Threading.Tasks;
 using Volo.Abp.Application.Services;
 using Volo.Abp.DependencyInjection;
@@ -21,9 +19,9 @@ namespace Business.ResourceExamineManagement
         private readonly IRepository<sys_code, long> _sys_serial_number;
 
         private readonly ICurrentTenant _currentTenant;
-        private readonly IRepository<ic_item,long> _mysql_ic_item;
+        private readonly IRepository<material,long> _mysql_ic_item;
 
-        public SyncKingdeeAppService(IRepository<sys_code, long> sys_serial_number, IRepository<ic_item, long> mysql_ic_item, ICurrentTenant currentTenant) {
+        public SyncKingdeeAppService(IRepository<sys_code, long> sys_serial_number, IRepository<material, long> mysql_ic_item, ICurrentTenant currentTenant) {
             _sys_serial_number = sys_serial_number;
             _mysql_ic_item = mysql_ic_item;
             _currentTenant = currentTenant;

+ 3 - 2
MicroServices/Business/Business.EntityFrameworkCore/EntityFrameworkCore/BusinessDbContextModelCreatingExtensions.cs

@@ -1,4 +1,5 @@
 using Business.Model;
+using Bussiness.Model.Ext;
 using Bussiness.Model.MES.IC;
 using Bussiness.Model.Production;
 using Bussiness.Model.ProductionProcess;
@@ -578,9 +579,9 @@ namespace Business.EntityFrameworkCore
         {
             //TODO:这样太麻烦了,有时间研究一下批量
             Check.NotNull(builder, nameof(builder));
-            builder.Entity<ic_item>(b =>
+            builder.Entity<material>(b =>
             {
-                b.ToTable("ic_bom");
+                b.ToTable("material");
                 b.ConfigureByConvention();
             });
         }

+ 1 - 0
MicroServices/Business/Business.EntityFrameworkCore/EntityFrameworkCore/DOP/BusinessDbContext.cs

@@ -24,6 +24,7 @@ namespace Business.EntityFrameworkCore
     public class BusinessDbContext : AbpDbContext<BusinessDbContext>
     {
         #region MES/IC
+        public DbSet<ic_bom> ic_bom { get; set; }
         public DbSet<ic_bom_child> ic_bom_child { get; set; }
         public DbSet<ic_check> ic_check { get; set; }
         public DbSet<ic_factory_details> ic_factory_details { get; set; }

+ 2 - 1
MicroServices/Business/Business.EntityFrameworkCore/EntityFrameworkCore/Ext/BusinessExtDbContext.cs

@@ -1,3 +1,4 @@
+using Bussiness.Model.Ext;
 using Bussiness.Model.MES.IC;
 using Microsoft.EntityFrameworkCore;
 using Volo.Abp.Data;
@@ -12,7 +13,7 @@ namespace Business.EntityFrameworkCore
     public class BusinessExtDbContext : AbpDbContext<BusinessExtDbContext>
     {
         #region MES/IC
-        public DbSet<ic_item> ic_item { get; set; }
+        public DbSet<material> ic_item { get; set; }
         #endregion
         //Code generation...
         public BusinessExtDbContext(DbContextOptions<BusinessExtDbContext> options)

+ 0 - 178
MicroServices/Business/Business.Host/Migrations/BusinessExtMigrationDb/20230322091604_init.Designer.cs

@@ -1,178 +0,0 @@
-// <auto-generated />
-using System;
-using Business.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore;
-using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Migrations;
-using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
-using Volo.Abp.EntityFrameworkCore;
-
-#nullable disable
-
-namespace Business.Migrations.BusinessExtMigrationDb
-{
-    [DbContext(typeof(BusinessExtMigrationDbContext))]
-    [Migration("20230322091604_init")]
-    partial class init
-    {
-        protected override void BuildTargetModel(ModelBuilder modelBuilder)
-        {
-#pragma warning disable 612, 618
-            modelBuilder
-                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
-                .HasAnnotation("ProductVersion", "6.0.5")
-                .HasAnnotation("Relational:MaxIdentifierLength", 64);
-
-            modelBuilder.Entity("Bussiness.Model.MES.IC.ic_bom", b =>
-                {
-                    b.Property<long>("Id")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("bigint");
-
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("删除标识");
-
-                    b.Property<DateTime?>("begin_day")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("生效日期");
-
-                    b.Property<string>("biller")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("图片");
-
-                    b.Property<int>("bom_num")
-                        .HasColumnType("int")
-                        .HasComment("序号");
-
-                    b.Property<string>("bom_number")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("bom单编号");
-
-                    b.Property<string>("chartnumber")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("图表编号");
-
-                    b.Property<DateTime?>("check_date")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("检验时间");
-
-                    b.Property<string>("checker")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("检验人");
-
-                    b.Property<long?>("create_by")
-                        .HasColumnType("bigint")
-                        .HasComment("创建人id");
-
-                    b.Property<string>("create_by_name")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("创建人名称");
-
-                    b.Property<DateTime?>("create_time")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("创建时间");
-
-                    b.Property<DateTime?>("end_day")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("失效日期");
-
-                    b.Property<long?>("factory_id")
-                        .HasColumnType("bigint")
-                        .HasComment("工厂ID");
-
-                    b.Property<int>("fse_status")
-                        .HasColumnType("int")
-                        .HasComment("使用状态");
-
-                    b.Property<long>("icitem_id")
-                        .HasColumnType("bigint")
-                        .HasComment("物料id");
-
-                    b.Property<string>("item_name")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("物料名称");
-
-                    b.Property<string>("item_number")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("物料代码");
-
-                    b.Property<long?>("org_id")
-                        .HasColumnType("bigint")
-                        .HasComment("组织ID");
-
-                    b.Property<string>("product_designer")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("产品设计员");
-
-                    b.Property<string>("product_principal")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("生产负责人");
-
-                    b.Property<long>("tech_id")
-                        .HasColumnType("bigint")
-                        .HasComment("工艺主键");
-
-                    b.Property<string>("tech_name")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("工艺名称");
-
-                    b.Property<long>("tenant_id")
-                        .HasColumnType("bigint")
-                        .HasComment("企业ID");
-
-                    b.Property<string>("unit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("单位");
-
-                    b.Property<long?>("update_by")
-                        .HasColumnType("bigint")
-                        .HasComment("修改人");
-
-                    b.Property<string>("update_by_name")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("修改人名称");
-
-                    b.Property<DateTime?>("update_time")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("修改时间");
-
-                    b.Property<DateTime?>("use_date")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("bom创建时间");
-
-                    b.Property<string>("user")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("bom创建人");
-
-                    b.Property<string>("version")
-                        .HasMaxLength(80)
-                        .HasColumnType("varchar(80)")
-                        .HasComment("版本");
-
-                    b.HasKey("Id");
-
-                    b.ToTable("ic_bom", (string)null);
-
-                    b.HasComment("物料BOM");
-                });
-#pragma warning restore 612, 618
-        }
-    }
-}

+ 0 - 81
MicroServices/Business/Business.Host/Migrations/BusinessExtMigrationDb/20230322091604_init.cs

@@ -1,81 +0,0 @@
-using System;
-using Microsoft.EntityFrameworkCore.Metadata;
-using Microsoft.EntityFrameworkCore.Migrations;
-
-#nullable disable
-
-namespace Business.Migrations.BusinessExtMigrationDb
-{
-    public partial class init : Migration
-    {
-        protected override void Up(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.AlterDatabase()
-                .Annotation("MySql:CharSet", "utf8mb4");
-
-            migrationBuilder.CreateTable(
-                name: "ic_bom",
-                columns: table => new
-                {
-                    Id = table.Column<long>(type: "bigint", nullable: false)
-                        .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
-                    bom_number = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "bom单编号")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    icitem_id = table.Column<long>(type: "bigint", nullable: false, comment: "物料id"),
-                    item_number = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "物料代码")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    item_name = table.Column<string>(type: "varchar(200)", maxLength: 200, nullable: true, comment: "物料名称")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    bom_num = table.Column<int>(type: "int", nullable: false, comment: "序号"),
-                    fse_status = table.Column<int>(type: "int", nullable: false, comment: "使用状态"),
-                    begin_day = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "生效日期"),
-                    end_day = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "失效日期"),
-                    tech_id = table.Column<long>(type: "bigint", nullable: false, comment: "工艺主键"),
-                    tech_name = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "工艺名称")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    product_principal = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "生产负责人")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    product_designer = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "产品设计员")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    version = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "版本")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    chartnumber = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "图表编号")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    biller = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "图片")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    checker = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "检验人")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    check_date = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "检验时间"),
-                    user = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "bom创建人")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    use_date = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "bom创建时间"),
-                    unit = table.Column<string>(type: "varchar(20)", maxLength: 20, nullable: true, comment: "单位")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    create_by = table.Column<long>(type: "bigint", nullable: true, comment: "创建人id"),
-                    create_by_name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "创建人名称")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    create_time = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "创建时间"),
-                    update_by = table.Column<long>(type: "bigint", nullable: true, comment: "修改人"),
-                    update_by_name = table.Column<string>(type: "varchar(50)", maxLength: 50, nullable: true, comment: "修改人名称")
-                        .Annotation("MySql:CharSet", "utf8mb4"),
-                    update_time = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "修改时间"),
-                    tenant_id = table.Column<long>(type: "bigint", nullable: false, comment: "企业ID"),
-                    factory_id = table.Column<long>(type: "bigint", nullable: true, comment: "工厂ID"),
-                    org_id = table.Column<long>(type: "bigint", nullable: true, comment: "组织ID"),
-                    IsDeleted = table.Column<bool>(type: "tinyint(1)", nullable: false, defaultValue: false, comment: "删除标识")
-                },
-                constraints: table =>
-                {
-                    table.PrimaryKey("PK_ic_bom", x => x.Id);
-                },
-                comment: "物料BOM")
-                .Annotation("MySql:CharSet", "utf8mb4");
-        }
-
-        protected override void Down(MigrationBuilder migrationBuilder)
-        {
-            migrationBuilder.DropTable(
-                name: "ic_bom");
-        }
-    }
-}

+ 1404 - 0
MicroServices/Business/Business.Host/Migrations/BusinessExtMigrationDb/20230322181446_init.Designer.cs

@@ -0,0 +1,1404 @@
+// <auto-generated />
+using System;
+using Business.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore;
+using Microsoft.EntityFrameworkCore.Infrastructure;
+using Microsoft.EntityFrameworkCore.Migrations;
+using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Volo.Abp.EntityFrameworkCore;
+
+#nullable disable
+
+namespace Business.Migrations.BusinessExtMigrationDb
+{
+    [DbContext(typeof(BusinessExtMigrationDbContext))]
+    [Migration("20230322181446_init")]
+    partial class init
+    {
+        protected override void BuildTargetModel(ModelBuilder modelBuilder)
+        {
+#pragma warning disable 612, 618
+            modelBuilder
+                .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql)
+                .HasAnnotation("ProductVersion", "6.0.5")
+                .HasAnnotation("Relational:MaxIdentifierLength", 64);
+
+            modelBuilder.Entity("Bussiness.Model.Ext.material", b =>
+                {
+                    b.Property<long>("Id")
+                        .ValueGeneratedOnAdd()
+                        .HasColumnType("bigint");
+
+                    b.Property<decimal?>("FATOSchemeId_Name")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("ATO预测冲销方案");
+
+                    b.Property<decimal?>("FAccuLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("累计提前期");
+
+                    b.Property<decimal?>("FAgentSalReduceRate")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("代理销售减价比例(%)");
+
+                    b.Property<string>("FAllowPartAhead")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("预计入库允许部分提前");
+
+                    b.Property<string>("FAllowPartDelay")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("预计入库允许部分延后");
+
+                    b.Property<string>("FAllowPublish")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许发布到订货平台");
+
+                    b.Property<DateTime?>("FApproveDate")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("审核日期");
+
+                    b.Property<string>("FApproverId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("审核人");
+
+                    b.Property<string>("FAuxPropertyId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("辅助属性");
+
+                    b.Property<string>("FAuxUnitID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("辅助单位");
+
+                    b.Property<string>("FBARCODE")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("条码");
+
+                    b.Property<string>("FBKFLTime")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("倒冲时机");
+
+                    b.Property<string>("FBOMUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("子项单位");
+
+                    b.Property<string>("FBackFlushType")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("倒冲数量");
+
+                    b.Property<string>("FBaseUnitId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("基本单位");
+
+                    b.Property<string>("FBatchRuleID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("批号编码规则");
+
+                    b.Property<decimal?>("FBoxStandardQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("单箱标准数量");
+
+                    b.Property<string>("FCONFIGTYPE")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("配置生产");
+
+                    b.Property<decimal?>("FCanDelayDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("允许延后天数");
+
+                    b.Property<decimal?>("FCanLeadDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("允许提前天数");
+
+                    b.Property<string>("FCategoryID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("存货类别");
+
+                    b.Property<string>("FChargeID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("费用项目");
+
+                    b.Property<string>("FCheckDelivery")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("发货检验");
+
+                    b.Property<string>("FCheckEntrusted")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("受托材料检验");
+
+                    b.Property<string>("FCheckIncoming")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("来料检验");
+
+                    b.Property<decimal?>("FCheckLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("检验提前期");
+
+                    b.Property<string>("FCheckLeadTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("检验提前期单位");
+
+                    b.Property<string>("FCheckOther")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("其他检验");
+
+                    b.Property<string>("FCheckProduct")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("产品检验");
+
+                    b.Property<string>("FCheckReturn")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("退货检验");
+
+                    b.Property<string>("FCheckReturnMtrl")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生产退料检验");
+
+                    b.Property<string>("FCheckStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("库存检验");
+
+                    b.Property<decimal?>("FConsumVolatility")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("消耗波动(%)");
+
+                    b.Property<decimal?>("FCostPriceRate")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("结算成本价加减价比例(%)");
+
+                    b.Property<string>("FCountCycle")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("盘点周期单位");
+
+                    b.Property<decimal?>("FCountDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("盘点周期");
+
+                    b.Property<DateTime?>("FCreateDate")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("创建日期");
+
+                    b.Property<string>("FCreateOrgId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("创建组织");
+
+                    b.Property<string>("FCreatorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("创建人");
+
+                    b.Property<string>("FCurrencyId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("币别");
+
+                    b.Property<string>("FDSMatchByLot")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("按批号匹配供需");
+
+                    b.Property<decimal?>("FDailyOutQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("日产量");
+
+                    b.Property<string>("FDataSource")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("物料来源");
+
+                    b.Property<string>("FDefBarCodeRuleId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("默认条码规则");
+
+                    b.Property<string>("FDefaultLineId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("默认产线");
+
+                    b.Property<string>("FDefaultRouting_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("默认工艺路线");
+
+                    b.Property<string>("FDefaultVendor_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("默认供应商");
+
+                    b.Property<decimal?>("FDelayExtendDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("延后宽限期");
+
+                    b.Property<string>("FDescription_2052")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("描述");
+
+                    b.Property<decimal?>("FEOQ")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定/经济批量");
+
+                    b.Property<decimal?>("FEWLeadDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("提醒提前期");
+
+                    b.Property<decimal?>("FEconReOrderQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("经济订货批量");
+
+                    b.Property<string>("FEnableCyclistQCSTK")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用库存周期复检");
+
+                    b.Property<string>("FEnableCyclistQCSTKEW")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用库存周期复检提醒");
+
+                    b.Property<string>("FErpClsID")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料属性");
+
+                    b.Property<decimal?>("FExpPeriod")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("保质期");
+
+                    b.Property<string>("FExpUnit")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("保质期单位");
+
+                    b.Property<decimal?>("FFIXLOSS")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定损耗");
+
+                    b.Property<string>("FFeatureItem")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("特征件子项");
+
+                    b.Property<decimal?>("FFinishReceiptOverRate")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("入库超收比例(%)");
+
+                    b.Property<string>("FFinishReceiptShortRate")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("入库欠收比例(%)");
+
+                    b.Property<decimal?>("FFixLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定提前期");
+
+                    b.Property<decimal?>("FFixLeadTimeType")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定提前期单位");
+
+                    b.Property<DateTime?>("FForbidDate")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("禁用日期");
+
+                    b.Property<string>("FForbidResonIsUsed")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("已使用");
+
+                    b.Property<string>("FForbidReson_2052")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("禁用原因");
+
+                    b.Property<string>("FForbidStatus")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("禁用状态");
+
+                    b.Property<string>("FForbidderId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("禁用人");
+
+                    b.Property<decimal?>("FGROSSWEIGHT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("毛重");
+
+                    b.Property<decimal?>("FHEIGHT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("高");
+
+                    b.Property<decimal?>("FIFAgentPurPlusRatesPR")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("代理采购加成比例");
+
+                    b.Property<string>("FISAFTERSALE")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用售后服务");
+
+                    b.Property<string>("FISMinIssueQty")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("领料考虑最小发料批量");
+
+                    b.Property<string>("FISPRODUCTFILES")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生成产品档案");
+
+                    b.Property<string>("FISWARRANTED")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否保修");
+
+                    b.Property<string>("FIncQcSchemeId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("质检方案");
+
+                    b.Property<string>("FIncSampSchemeId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("抽样方案");
+
+                    b.Property<decimal?>("FIncreaseQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小包装量");
+
+                    b.Property<string>("FInspectGroupId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("质检组");
+
+                    b.Property<string>("FInspectorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("质检员");
+
+                    b.Property<string>("FIsATPCheck")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("ATP检查");
+
+                    b.Property<string>("FIsAffectCost1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("影响出库成本");
+
+                    b.Property<string>("FIsAffectPlan1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("影响计划");
+
+                    b.Property<string>("FIsAffectPrice1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("影响价格");
+
+                    b.Property<string>("FIsBatchManage")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用批号管理");
+
+                    b.Property<string>("FIsCoby")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("可为联副产品");
+
+                    b.Property<string>("FIsComControl")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("组合控制");
+
+                    b.Property<string>("FIsCompleteSet")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否齐套件");
+
+                    b.Property<string>("FIsCycleCounting")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用盘点周期");
+
+                    b.Property<string>("FIsECN")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用ECN");
+
+                    b.Property<string>("FIsEnable1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用");
+
+                    b.Property<string>("FIsEnableMaxStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用最大库存");
+
+                    b.Property<string>("FIsEnableMinStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用最小库存");
+
+                    b.Property<string>("FIsEnableReOrder")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用再订货点");
+
+                    b.Property<string>("FIsEnableSafeStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用安全库存");
+
+                    b.Property<string>("FIsEnableSchedule")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用日排产");
+
+                    b.Property<string>("FIsExpParToFlot")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("批号附属信息");
+
+                    b.Property<string>("FIsFirstInspect")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("产品首检");
+
+                    b.Property<string>("FIsInventory")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许库存");
+
+                    b.Property<string>("FIsKFPeriod")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用保质期管理");
+
+                    b.Property<string>("FIsKitting")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否关键件");
+
+                    b.Property<string>("FIsLockStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("可锁库");
+
+                    b.Property<string>("FIsMainPrd")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("可为主产品");
+
+                    b.Property<string>("FIsMrpComBill")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("MRP计算是否按单合并");
+
+                    b.Property<string>("FIsMrpComReq")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("MRP计算是否合并需求");
+
+                    b.Property<string>("FIsMustCounting")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("必盘");
+
+                    b.Property<string>("FIsPR")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("需要请购");
+
+                    b.Property<string>("FIsProductLine")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生产线生产");
+
+                    b.Property<string>("FIsPurchase")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许采购");
+
+                    b.Property<string>("FIsQuota")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("配额管理");
+
+                    b.Property<string>("FIsReturn")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许退货");
+
+                    b.Property<string>("FIsReturnMaterial")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许退料");
+
+                    b.Property<string>("FIsReturnPart")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("部件可退");
+
+                    b.Property<string>("FIsSNCarryToParent")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("序列号携带到父项");
+
+                    b.Property<string>("FIsSNManage")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("库存管理");
+
+                    b.Property<string>("FIsSNPRDTracy")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生产追溯");
+
+                    b.Property<string>("FIsSale")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许销售");
+
+                    b.Property<string>("FIsSourceControl")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("货源控制");
+
+                    b.Property<string>("FIsSubContract")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许委外");
+
+                    b.Property<string>("FIsTaxEnjoy")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("享受税收优惠政策");
+
+                    b.Property<string>("FIsVmiBusiness")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("VMI业务");
+
+                    b.Property<string>("FIssueType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("发料方式");
+
+                    b.Property<decimal?>("FLENGTH")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("长");
+
+                    b.Property<decimal?>("FLOSSPERCENT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("变动损耗率(%)");
+
+                    b.Property<decimal?>("FLeadExtendDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("提前宽限期");
+
+                    b.Property<string>("FMaterialGroup")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料分组编码");
+
+                    b.Property<string>("FMaterialGroup_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料分组");
+
+                    b.Property<decimal?>("FMaxPOQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最大订货量");
+
+                    b.Property<decimal?>("FMaxStock")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最大库存");
+
+                    b.Property<string>("FMdlId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品模型");
+
+                    b.Property<string>("FMdlMaterialId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("模型物料");
+
+                    b.Property<string>("FMfgPolicyId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("制造策略");
+
+                    b.Property<decimal?>("FMinIssueQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小发料批量");
+
+                    b.Property<string>("FMinIssueUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("最小发料批量单位");
+
+                    b.Property<decimal?>("FMinPOQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小订货量");
+
+                    b.Property<decimal?>("FMinPackCount")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小包装数");
+
+                    b.Property<decimal?>("FMinSplitQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小拆分数量");
+
+                    b.Property<decimal?>("FMinStock")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小库存");
+
+                    b.Property<string>("FMnemonicCode")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("助记码");
+
+                    b.Property<string>("FModifierId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("修改人");
+
+                    b.Property<DateTime?>("FModifyDate")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("修改日期");
+
+                    b.Property<decimal?>("FNETWEIGHT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("净重");
+
+                    b.Property<string>("FName_2052")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("名称");
+
+                    b.Property<string>("FNumber")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("编码");
+
+                    b.Property<string>("FOldNumber")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("旧物料编码");
+
+                    b.Property<decimal?>("FOnlineLife")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("在架寿命期");
+
+                    b.Property<decimal?>("FOrderIntervalTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("订货间隔期");
+
+                    b.Property<string>("FOrderIntervalTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("订货间隔期单位");
+
+                    b.Property<string>("FOrderPolicy")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("订货策略");
+
+                    b.Property<decimal?>("FOrderQty")
+                        .HasPrecision(20, 10)
+                        .HasColumnType("decimal(20,10)")
+                        .HasComment("起订量");
+
+                    b.Property<string>("FOrgTrustBillType_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("组织间受托类型");
+
+                    b.Property<string>("FOutLmtUnit")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("超发控制单位");
+
+                    b.Property<decimal?>("FOutStockLmtH")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("超发上限(%)");
+
+                    b.Property<decimal?>("FOutStockLmtL")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("超发下限(%)");
+
+                    b.Property<string>("FOverControlMode")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("超发控制方式");
+
+                    b.Property<string>("FPOBillTypeId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("采购类型");
+
+                    b.Property<decimal?>("FPerUnitStandHour")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准工时");
+
+                    b.Property<string>("FPickBinId_FF100002")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.客户.编码");
+
+                    b.Property<string>("FPickBinId_FF100002_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.客户.名称");
+
+                    b.Property<string>("FPickBinId_FF100003")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.供应商.编码");
+
+                    b.Property<string>("FPickBinId_FF100003_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.供应商.名称");
+
+                    b.Property<string>("FPickBinId_FF100004")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.服务机客户.编码");
+
+                    b.Property<string>("FPickBinId_FF100004_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.服务机客户.名称");
+
+                    b.Property<string>("FPickStockId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓库");
+
+                    b.Property<string>("FPickStockLoc")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位");
+
+                    b.Property<decimal?>("FPlanBatchSplitQty")
+                        .HasPrecision(20, 10)
+                        .HasColumnType("decimal(20,10)")
+                        .HasComment("拆分批量");
+
+                    b.Property<string>("FPlanGroupId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划组");
+
+                    b.Property<string>("FPlanIdent_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划标识");
+
+                    b.Property<decimal?>("FPlanIntervalsDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("批量拆分间隔天数");
+
+                    b.Property<decimal?>("FPlanOffsetTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("偏置时间");
+
+                    b.Property<string>("FPlanOffsetTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("时间单位");
+
+                    b.Property<decimal?>("FPlanSafeStockQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("安全库存");
+
+                    b.Property<decimal?>("FPlanTimeZone")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("计划时界");
+
+                    b.Property<string>("FPlanWorkshop_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划区");
+
+                    b.Property<string>("FPlanerID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划员");
+
+                    b.Property<string>("FPlanningStrategy")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("计划策略");
+
+                    b.Property<decimal?>("FPrintCount")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("重复打印数");
+
+                    b.Property<string>("FProScheTrackId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("订单进度分组");
+
+                    b.Property<string>("FProduceBillType_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("生产类型");
+
+                    b.Property<string>("FProduceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("生产单位");
+
+                    b.Property<string>("FProductLine_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("产品系列");
+
+                    b.Property<string>("FPurchaseGroupId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("采购组");
+
+                    b.Property<string>("FPurchaseOrgId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("采购组织");
+
+                    b.Property<string>("FPurchasePriceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("采购计价单位");
+
+                    b.Property<string>("FPurchaseUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("采购单位");
+
+                    b.Property<string>("FPurchaserId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("采购员");
+
+                    b.Property<string>("FQtyFactorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("数量负荷系数");
+
+                    b.Property<string>("FQuotaType")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("配额方式");
+
+                    b.Property<decimal?>("FReOrderGood")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("再订货点");
+
+                    b.Property<decimal?>("FReceiveAdvanceDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货提前天数");
+
+                    b.Property<decimal?>("FReceiveDelayDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货延迟天数");
+
+                    b.Property<decimal?>("FReceiveMaxScale")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货上限比例(%)");
+
+                    b.Property<decimal?>("FReceiveMinScale")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货下限比例(%)");
+
+                    b.Property<decimal?>("FRefCost")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("参考成本");
+
+                    b.Property<decimal?>("FRequestTimeZone")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("需求时界");
+
+                    b.Property<string>("FReserveType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("预留类型");
+
+                    b.Property<string>("FSNCodeRule_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("序列号编码规则");
+
+                    b.Property<string>("FSNUnit_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("序列号单位");
+
+                    b.Property<decimal?>("FSafeStock")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("安全库存");
+
+                    b.Property<string>("FSalGroup_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("销售分组");
+
+                    b.Property<string>("FSalePriceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("销售计价单位");
+
+                    b.Property<string>("FSaleUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("销售单位");
+
+                    b.Property<string>("FSpecification_2052")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("规格型号");
+
+                    b.Property<string>("FStandHourUnitId")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("工时单位");
+
+                    b.Property<decimal?>("FStdLaborPrePareTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准人员准备工时");
+
+                    b.Property<decimal?>("FStdLaborProcessTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准人员实作工时");
+
+                    b.Property<decimal?>("FStdMachinePrepareTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准机器准备工时");
+
+                    b.Property<decimal?>("FStdMachineProcessTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准机器实作工时");
+
+                    b.Property<decimal?>("FStockCycle")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("复检周期");
+
+                    b.Property<string>("FStockId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓库");
+
+                    b.Property<string>("FStockLoc")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位");
+
+                    b.Property<string>("FStockPlaceId_FF100002")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.客户.编码");
+
+                    b.Property<string>("FStockPlaceId_FF100002_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.客户.名称");
+
+                    b.Property<string>("FStockPlaceId_FF100003")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.供应商.编码");
+
+                    b.Property<string>("FStockPlaceId_FF100003_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.供应商.名称");
+
+                    b.Property<string>("FStockPlaceId_FF100004")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.服务机客户.编码");
+
+                    b.Property<string>("FStockPlaceId_FF100004_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.服务机客户.名称");
+
+                    b.Property<string>("FStoreUnitID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("库存单位");
+
+                    b.Property<string>("FSubBillType_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("委外类型");
+
+                    b.Property<string>("FSubconPriceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("委外计价单位");
+
+                    b.Property<string>("FSubconUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("委外单位");
+
+                    b.Property<string>("FSuite")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("套件");
+
+                    b.Property<string>("FSupplySourceId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("供应来源");
+
+                    b.Property<string>("FTaxCategoryCodeId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("税收分类编码");
+
+                    b.Property<string>("FTaxDiscountsType")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("税收优惠政策类型");
+
+                    b.Property<string>("FTaxRateId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("默认税率");
+
+                    b.Property<string>("FTaxType_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("税分类");
+
+                    b.Property<string>("FTimeFactorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("时间紧迫系数");
+
+                    b.Property<string>("FUnValidateExpQty")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("不参与可发量统计");
+
+                    b.Property<string>("FUseOrgId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("使用组织");
+
+                    b.Property<string>("FUseStatus")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("数据状态");
+
+                    b.Property<decimal?>("FVOLUME")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("体积");
+
+                    b.Property<string>("FVOLUMEUNITID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("尺寸单位");
+
+                    b.Property<decimal?>("FVarLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("变动提前期");
+
+                    b.Property<decimal?>("FVarLeadTimeLotSize")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("变动提前期批量");
+
+                    b.Property<string>("FVarLeadTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("变动提前期单位");
+
+                    b.Property<decimal?>("FWARRANTY")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("保修期");
+
+                    b.Property<string>("FWARRANTYUNITID")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("保修期单位");
+
+                    b.Property<string>("FWEIGHTUNITID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("重量单位");
+
+                    b.Property<decimal?>("FWIDTH")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("宽");
+
+                    b.Property<string>("FWorkShopId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("生产车间");
+
+                    b.Property<decimal?>("FWriteOffQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("冲销数量");
+
+                    b.Property<string>("F_BZGG")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("包装规格");
+
+                    b.Property<string>("F_CPFL_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品分类");
+
+                    b.Property<string>("F_CPPLLB")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品披露类别");
+
+                    b.Property<string>("F_CPX_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品线");
+
+                    b.Property<string>("F_DYDWLX")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("电压/电网类型");
+
+                    b.Property<string>("F_DZLSX")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("电子料属性");
+
+                    b.Property<string>("F_GLD_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("功率段");
+
+                    b.Property<DateTime?>("F_GSZHGGRQ")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("工时最后更改日期");
+
+                    b.Property<string>("F_GSZHGGR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("工时最后更改人");
+
+                    b.Property<string>("F_GWLH_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("根物料号");
+
+                    b.Property<string>("F_GYS")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("供应商");
+
+                    b.Property<decimal?>("F_HLBZL")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("回料包装量");
+
+                    b.Property<string>("F_JCYY")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("禁采原因");
+
+                    b.Property<string>("F_JWLBMU8")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("旧物料编码U8");
+
+                    b.Property<string>("F_PP_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("品牌");
+
+                    b.Property<string>("F_SFJLPCH")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否记录批次号");
+
+                    b.Property<string>("F_SMZQ")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("料号生命周期");
+
+                    b.Property<DateTime?>("F_SMZQZHGGRQ")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("生命周期最后更改日期");
+
+                    b.Property<string>("F_SMZQZHGGR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("生命周期最后更改人");
+
+                    b.Property<DateTime?>("F_TJZLZHGGRQ")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("体积重量最后更改日期");
+
+                    b.Property<string>("F_TJZLZHGGR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("体积重量最后更改人");
+
+                    b.Property<string>("F_WLLX")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("物料类型");
+
+                    b.Property<string>("F_WLSQR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料申请人");
+
+                    b.Property<string>("F_XSXH_2052")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("SAJ型号");
+
+                    b.Property<string>("F_YWLX")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("业务类型");
+
+                    b.Property<string>("F_YXQG")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许请购");
+
+                    b.Property<string>("F_YXSL")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许收料");
+
+                    b.Property<string>("F_YZSG")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("已终审过");
+
+                    b.Property<decimal?>("F_ZJCSGS")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("整机测试工时");
+
+                    b.Property<string>("F_ZJGLWLH_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("直接关联物料号");
+
+                    b.Property<decimal?>("F_ZJZB_Name")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("整机质保(月)");
+
+                    b.Property<decimal?>("F_ZYGS")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("作业工时");
+
+                    b.HasKey("Id");
+
+                    b.ToTable("material", (string)null);
+
+                    b.HasComment("物料");
+                });
+#pragma warning restore 612, 618
+        }
+    }
+}

+ 508 - 0
MicroServices/Business/Business.Host/Migrations/BusinessExtMigrationDb/20230322181446_init.cs

@@ -0,0 +1,508 @@
+using System;
+using Microsoft.EntityFrameworkCore.Metadata;
+using Microsoft.EntityFrameworkCore.Migrations;
+
+#nullable disable
+
+namespace Business.Migrations.BusinessExtMigrationDb
+{
+    public partial class init : Migration
+    {
+        protected override void Up(MigrationBuilder migrationBuilder)
+        {
+            migrationBuilder.AlterDatabase()
+                .Annotation("MySql:CharSet", "utf8mb4");
+
+            migrationBuilder.CreateTable(
+                name: "material",
+                columns: table => new
+                {
+                    Id = table.Column<long>(type: "bigint", nullable: false)
+                        .Annotation("MySql:ValueGenerationStrategy", MySqlValueGenerationStrategy.IdentityColumn),
+                    FCreateOrgId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "创建组织")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FUseOrgId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "使用组织")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FNumber = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FDataSource = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "物料来源")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FName_2052 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSpecification_2052 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "规格型号")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMnemonicCode = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "助记码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FOldNumber = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "旧物料编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FDescription_2052 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "描述")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMaterialGroup_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "物料分组")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMaterialGroup = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "物料分组编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FUseStatus = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "数据状态")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FForbidStatus = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "禁用状态")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCreatorId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "创建人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCreateDate = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "创建日期"),
+                    FModifierId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "修改人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FModifyDate = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "修改日期"),
+                    FApproverId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "审核人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FApproveDate = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "审核日期"),
+                    FForbidderId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "禁用人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FForbidDate = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "禁用日期"),
+                    FErpClsID = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "物料属性")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCategoryID_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "存货类别")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FTaxType_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "税分类")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FTaxRateId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "默认税率")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FBaseUnitId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "基本单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsPurchase = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许采购")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsInventory = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许库存")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsSubContract = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许委外")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsSale = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许销售")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FBARCODE = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "条码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FGROSSWEIGHT = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "毛重"),
+                    FNETWEIGHT = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "净重"),
+                    FVOLUMEUNITID_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "尺寸单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FLENGTH = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "长"),
+                    FWIDTH = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "宽"),
+                    FHEIGHT = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "高"),
+                    FWEIGHTUNITID_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "重量单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FVOLUME = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "体积"),
+                    FStoreUnitID_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "库存单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FAuxUnitID_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "辅助单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓库")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockLoc = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockPlaceId_FF100002 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位.客户.编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockPlaceId_FF100002_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位.客户.名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockPlaceId_FF100003 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位.供应商.编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockPlaceId_FF100003_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位.供应商.名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockPlaceId_FF100004 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位.服务机客户.编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockPlaceId_FF100004_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "仓位.服务机客户.名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsLockStock = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "可锁库")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsCycleCounting = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用盘点周期")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCountCycle = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "盘点周期单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCountDay = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "盘点周期"),
+                    FIsMustCounting = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "必盘")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsBatchManage = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用批号管理")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FBatchRuleID_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "批号编码规则")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsKFPeriod = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用保质期管理")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsExpParToFlot = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "批号附属信息")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FExpUnit = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "保质期单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FExpPeriod = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "保质期"),
+                    FOnlineLife = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "在架寿命期"),
+                    FRefCost = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "参考成本"),
+                    FCurrencyId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "币别")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsSNManage = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "库存管理")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsEnableMinStock = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用最小库存")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsEnableSafeStock = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用安全库存")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSNCodeRule_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "序列号编码规则")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsEnableReOrder = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用再订货点")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsEnableMaxStock = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用最大库存")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSNUnit_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "序列号单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMinStock = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最小库存"),
+                    FSafeStock = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "安全库存"),
+                    FReOrderGood = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "再订货点"),
+                    FEconReOrderQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "经济订货批量"),
+                    FMaxStock = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最大库存"),
+                    FSaleUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "销售单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSalePriceUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "销售计价单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FOrderQty = table.Column<decimal>(type: "decimal(20,10)", precision: 20, scale: 10, nullable: true, comment: "起订量"),
+                    FOutStockLmtH = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "超发上限(%)"),
+                    FOutStockLmtL = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "超发下限(%)"),
+                    FAgentSalReduceRate = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "代理销售减价比例(%)"),
+                    FIsATPCheck = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "ATP检查")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsReturn = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许退货")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsReturnPart = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "部件可退")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FAllowPublish = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许发布到订货平台")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FISAFTERSALE = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用售后服务")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FISPRODUCTFILES = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "生成产品档案")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FISWARRANTED = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "是否保修")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FWARRANTYUNITID = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "保修期单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPurchaseUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "采购单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPurchasePriceUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "采购计价单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPurchaseGroupId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "采购组")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPurchaserId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "采购员")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsQuota = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "配额管理")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FQuotaType = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "配额方式")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMinSplitQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最小拆分数量"),
+                    FIsVmiBusiness = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "VMI业务")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FDefaultVendor_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "默认供应商")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FChargeID_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "费用项目")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsSourceControl = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "货源控制")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsPR = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "需要请购")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FReceiveMaxScale = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "收货上限比例(%)"),
+                    FReceiveMinScale = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "收货下限比例(%)"),
+                    FIFAgentPurPlusRatesPR = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "代理采购加成比例"),
+                    FReceiveAdvanceDays = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "收货提前天数"),
+                    FReceiveDelayDays = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "收货延迟天数"),
+                    FIsReturnMaterial = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许退料")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPurchaseOrgId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "采购组织")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSubconUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "委外单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSubconPriceUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "委外计价单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPOBillTypeId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "采购类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSubBillType_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "委外类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPlanningStrategy = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "计划策略")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMfgPolicyId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "制造策略")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckLeadTimeType = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "检验提前期单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FOrderPolicy = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "订货策略")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMinPOQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最小订货量"),
+                    FPlanWorkshop_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "计划区")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FOrderIntervalTimeType = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "订货间隔期单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FFixLeadTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "固定提前期"),
+                    FIncreaseQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最小包装量"),
+                    FFixLeadTimeType = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "固定提前期单位"),
+                    FOrderIntervalTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "订货间隔期"),
+                    FVarLeadTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "变动提前期"),
+                    FVarLeadTimeLotSize = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "变动提前期批量"),
+                    FVarLeadTimeType = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "变动提前期单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMaxPOQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最大订货量"),
+                    FCheckLeadTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "检验提前期"),
+                    FEOQ = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "固定/经济批量"),
+                    FPlanIntervalsDays = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "批量拆分间隔天数"),
+                    FPlanBatchSplitQty = table.Column<decimal>(type: "decimal(20,10)", precision: 20, scale: 10, nullable: true, comment: "拆分批量"),
+                    FIsMrpComReq = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "MRP计算是否合并需求")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FRequestTimeZone = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "需求时界"),
+                    FIsMrpComBill = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "MRP计算是否按单合并")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCanLeadDays = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "允许提前天数"),
+                    FPlanTimeZone = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "计划时界"),
+                    FReserveType = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "预留类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPlanGroupId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "计划组")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FLeadExtendDay = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "提前宽限期"),
+                    FPlanerID_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "计划员")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FATOSchemeId_Name = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "ATO预测冲销方案"),
+                    FCanDelayDays = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "允许延后天数"),
+                    FPlanOffsetTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "偏置时间"),
+                    FPlanSafeStockQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "安全库存"),
+                    FDSMatchByLot = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "按批号匹配供需")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FAllowPartAhead = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "预计入库允许部分提前")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FTimeFactorId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "时间紧迫系数")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FAllowPartDelay = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "预计入库允许部分延后")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FQtyFactorId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "数量负荷系数")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSupplySourceId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "供应来源")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FDelayExtendDay = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "延后宽限期"),
+                    FPlanOffsetTimeType = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "时间单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIssueType = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "发料方式")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FWorkShopId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "生产车间")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsCoby = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "可为联副产品")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FProduceUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "生产单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsMainPrd = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "可为主产品")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FBKFLTime = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "倒冲时机")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FFinishReceiptOverRate = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "入库超收比例(%)"),
+                    FPickStockId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓库")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FFinishReceiptShortRate = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "入库欠收比例(%)")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickStockLoc = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickBinId_FF100002 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位.客户.编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickBinId_FF100002_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位.客户.名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickBinId_FF100003 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位.供应商.编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickBinId_FF100003_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位.供应商.名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickBinId_FF100004 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位.服务机客户.编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPickBinId_FF100004_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "发料仓位.服务机客户.名称")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FOverControlMode = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "超发控制方式")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FBOMUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "子项单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMinIssueQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最小发料批量"),
+                    FIsKitting = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "是否关键件")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsCompleteSet = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "是否齐套件")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStdLaborPrePareTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "标准人员准备工时"),
+                    FStdLaborProcessTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "标准人员实作工时"),
+                    FDefaultRouting_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "默认工艺路线")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPerUnitStandHour = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "标准工时"),
+                    FStdMachinePrepareTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "标准机器准备工时"),
+                    FConsumVolatility = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "消耗波动(%)"),
+                    FLOSSPERCENT = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "变动损耗率(%)"),
+                    FIsSNCarryToParent = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "序列号携带到父项")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStdMachineProcessTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "标准机器实作工时"),
+                    FIsProductLine = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "生产线生产")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FProduceBillType_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "生产类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FOrgTrustBillType_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "组织间受托类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FISMinIssueQty = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "领料考虑最小发料批量")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsECN = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用ECN")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsEnable1 = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsAffectPrice1 = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "影响价格")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsAffectPlan1 = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "影响计划")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsAffectCost1 = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "影响出库成本")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FAuxPropertyId_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "辅助属性")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsComControl = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "组合控制")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckIncoming = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "来料检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckStock = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "库存检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckProduct = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "产品检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIncSampSchemeId_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "抽样方案")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIncQcSchemeId_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "质检方案")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FEnableCyclistQCSTK = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用库存周期复检")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStockCycle = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "复检周期"),
+                    FEnableCyclistQCSTKEW = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用库存周期复检提醒")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsSNPRDTracy = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "生产追溯")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FEWLeadDay = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "提醒提前期"),
+                    FWARRANTY = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "保修期"),
+                    FOutLmtUnit = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "超发控制单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FInspectGroupId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "质检组")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckDelivery = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "发货检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FDefBarCodeRuleId_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "默认条码规则")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckReturn = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "退货检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FInspectorId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "质检员")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCONFIGTYPE = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "配置生产")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FFeatureItem = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "特征件子项")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FPrintCount = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "重复打印数"),
+                    FMinIssueUnitId_Name = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "最小发料批量单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMdlId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "产品模型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMdlMaterialId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "模型物料")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FTaxCategoryCodeId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "税收分类编码")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckEntrusted = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "受托材料检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FSuite = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "套件")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FBoxStandardQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "单箱标准数量"),
+                    FSalGroup_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "销售分组")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckOther = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "其他检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsTaxEnjoy = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "享受税收优惠政策")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FTaxDiscountsType = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "税收优惠政策类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FStandHourUnitId = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "工时单位")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCostPriceRate = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "结算成本价加减价比例(%)"),
+                    FBackFlushType = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "倒冲数量")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FAccuLeadTime = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "累计提前期"),
+                    FProductLine_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "产品系列")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FWriteOffQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "冲销数量"),
+                    FFIXLOSS = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "固定损耗"),
+                    FPlanIdent_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "计划标识")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FProScheTrackId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "订单进度分组")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FMinPackCount = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "最小包装数"),
+                    FDailyOutQty = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "日产量"),
+                    FIsFirstInspect = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "产品首检")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FCheckReturnMtrl = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "生产退料检验")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FForbidReson_2052 = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "禁用原因")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FForbidResonIsUsed = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "已使用")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FUnValidateExpQty = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "不参与可发量统计")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_WLLX = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "物料类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FIsEnableSchedule = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "启用日排产")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_ZJGLWLH_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "直接关联物料号")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    FDefaultLineId_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "默认产线")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_DYDWLX = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "电压/电网类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_GWLH_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "根物料号")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_GLD_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "功率段")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_DZLSX = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "电子料属性")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_JWLBMU8 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "旧物料编码U8")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_PP_Name = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "品牌")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_ZJCSGS = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "整机测试工时"),
+                    F_ZYGS = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "作业工时"),
+                    F_GSZHGGRQ = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "工时最后更改日期"),
+                    F_TJZLZHGGRQ = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "体积重量最后更改日期"),
+                    F_SMZQZHGGRQ = table.Column<DateTime>(type: "datetime(6)", nullable: true, comment: "生命周期最后更改日期"),
+                    F_TJZLZHGGR_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "体积重量最后更改人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_SMZQZHGGR_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "生命周期最后更改人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_GSZHGGR_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "工时最后更改人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_ZJZB_Name = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "整机质保(月)"),
+                    F_SFJLPCH = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "是否记录批次号")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_YWLX = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "业务类型")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_CPPLLB = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "产品披露类别")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_YZSG = table.Column<string>(type: "varchar(10)", maxLength: 10, nullable: true, comment: "已终审过")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_WLSQR_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "物料申请人")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_CPX_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "产品线")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_CPFL_Name = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "产品分类")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_SMZQ = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "料号生命周期")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_YXSL = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许收料")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_XSXH_2052 = table.Column<string>(type: "varchar(80)", maxLength: 80, nullable: true, comment: "SAJ型号")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_HLBZL = table.Column<decimal>(type: "decimal(20,8)", precision: 20, scale: 8, nullable: true, comment: "回料包装量"),
+                    F_BZGG = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "包装规格")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_GYS = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "供应商")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_JCYY = table.Column<string>(type: "varchar(255)", maxLength: 255, nullable: true, comment: "禁采原因")
+                        .Annotation("MySql:CharSet", "utf8mb4"),
+                    F_YXQG = table.Column<string>(type: "varchar(1)", maxLength: 1, nullable: true, comment: "允许请购")
+                        .Annotation("MySql:CharSet", "utf8mb4")
+                },
+                constraints: table =>
+                {
+                    table.PrimaryKey("PK_material", x => x.Id);
+                },
+                comment: "物料")
+                .Annotation("MySql:CharSet", "utf8mb4");
+        }
+
+        protected override void Down(MigrationBuilder migrationBuilder)
+        {
+            migrationBuilder.DropTable(
+                name: "material");
+        }
+    }
+}

+ 1316 - 90
MicroServices/Business/Business.Host/Migrations/BusinessExtMigrationDb/BusinessExtMigrationDbContextModelSnapshot.cs

@@ -21,154 +21,1380 @@ namespace Business.Migrations.BusinessExtMigrationDb
                 .HasAnnotation("ProductVersion", "6.0.5")
                 .HasAnnotation("Relational:MaxIdentifierLength", 64);
 
-            modelBuilder.Entity("Bussiness.Model.MES.IC.ic_bom", b =>
+            modelBuilder.Entity("Bussiness.Model.Ext.material", b =>
                 {
                     b.Property<long>("Id")
                         .ValueGeneratedOnAdd()
                         .HasColumnType("bigint");
 
-                    b.Property<bool>("IsDeleted")
-                        .ValueGeneratedOnAdd()
-                        .HasColumnType("tinyint(1)")
-                        .HasDefaultValue(false)
-                        .HasColumnName("IsDeleted")
-                        .HasComment("删除标识");
+                    b.Property<decimal?>("FATOSchemeId_Name")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("ATO预测冲销方案");
+
+                    b.Property<decimal?>("FAccuLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("累计提前期");
+
+                    b.Property<decimal?>("FAgentSalReduceRate")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("代理销售减价比例(%)");
+
+                    b.Property<string>("FAllowPartAhead")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("预计入库允许部分提前");
 
-                    b.Property<DateTime?>("begin_day")
+                    b.Property<string>("FAllowPartDelay")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("预计入库允许部分延后");
+
+                    b.Property<string>("FAllowPublish")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许发布到订货平台");
+
+                    b.Property<DateTime?>("FApproveDate")
                         .HasColumnType("datetime(6)")
-                        .HasComment("生效日期");
+                        .HasComment("审核日期");
 
-                    b.Property<string>("biller")
+                    b.Property<string>("FApproverId_Name")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("图片");
+                        .HasComment("审核人");
 
-                    b.Property<int>("bom_num")
-                        .HasColumnType("int")
-                        .HasComment("序号");
+                    b.Property<string>("FAuxPropertyId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("辅助属性");
 
-                    b.Property<string>("bom_number")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("bom单编号");
+                    b.Property<string>("FAuxUnitID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("辅助单位");
 
-                    b.Property<string>("chartnumber")
+                    b.Property<string>("FBARCODE")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("图表编号");
+                        .HasComment("条码");
 
-                    b.Property<DateTime?>("check_date")
-                        .HasColumnType("datetime(6)")
-                        .HasComment("检验时间");
+                    b.Property<string>("FBKFLTime")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("倒冲时机");
+
+                    b.Property<string>("FBOMUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("子项单位");
+
+                    b.Property<string>("FBackFlushType")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("倒冲数量");
+
+                    b.Property<string>("FBaseUnitId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("基本单位");
+
+                    b.Property<string>("FBatchRuleID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("批号编码规则");
+
+                    b.Property<decimal?>("FBoxStandardQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("单箱标准数量");
+
+                    b.Property<string>("FCONFIGTYPE")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("配置生产");
+
+                    b.Property<decimal?>("FCanDelayDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("允许延后天数");
+
+                    b.Property<decimal?>("FCanLeadDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("允许提前天数");
+
+                    b.Property<string>("FCategoryID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("存货类别");
 
-                    b.Property<string>("checker")
+                    b.Property<string>("FChargeID_Name")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("检验人");
+                        .HasComment("费用项目");
+
+                    b.Property<string>("FCheckDelivery")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("发货检验");
+
+                    b.Property<string>("FCheckEntrusted")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("受托材料检验");
+
+                    b.Property<string>("FCheckIncoming")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("来料检验");
+
+                    b.Property<decimal?>("FCheckLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("检验提前期");
+
+                    b.Property<string>("FCheckLeadTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("检验提前期单位");
+
+                    b.Property<string>("FCheckOther")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("其他检验");
+
+                    b.Property<string>("FCheckProduct")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("产品检验");
+
+                    b.Property<string>("FCheckReturn")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("退货检验");
+
+                    b.Property<string>("FCheckReturnMtrl")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生产退料检验");
+
+                    b.Property<string>("FCheckStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("库存检验");
+
+                    b.Property<decimal?>("FConsumVolatility")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("消耗波动(%)");
+
+                    b.Property<decimal?>("FCostPriceRate")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("结算成本价加减价比例(%)");
 
-                    b.Property<long?>("create_by")
-                        .HasColumnType("bigint")
-                        .HasComment("创建人id");
+                    b.Property<string>("FCountCycle")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("盘点周期单位");
 
-                    b.Property<string>("create_by_name")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("创建人名称");
+                    b.Property<decimal?>("FCountDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("盘点周期");
 
-                    b.Property<DateTime?>("create_time")
+                    b.Property<DateTime?>("FCreateDate")
                         .HasColumnType("datetime(6)")
-                        .HasComment("创建时间");
+                        .HasComment("创建日期");
+
+                    b.Property<string>("FCreateOrgId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("创建组织");
+
+                    b.Property<string>("FCreatorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("创建人");
+
+                    b.Property<string>("FCurrencyId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("币别");
+
+                    b.Property<string>("FDSMatchByLot")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("按批号匹配供需");
+
+                    b.Property<decimal?>("FDailyOutQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("日产量");
+
+                    b.Property<string>("FDataSource")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("物料来源");
 
-                    b.Property<DateTime?>("end_day")
+                    b.Property<string>("FDefBarCodeRuleId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("默认条码规则");
+
+                    b.Property<string>("FDefaultLineId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("默认产线");
+
+                    b.Property<string>("FDefaultRouting_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("默认工艺路线");
+
+                    b.Property<string>("FDefaultVendor_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("默认供应商");
+
+                    b.Property<decimal?>("FDelayExtendDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("延后宽限期");
+
+                    b.Property<string>("FDescription_2052")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("描述");
+
+                    b.Property<decimal?>("FEOQ")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定/经济批量");
+
+                    b.Property<decimal?>("FEWLeadDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("提醒提前期");
+
+                    b.Property<decimal?>("FEconReOrderQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("经济订货批量");
+
+                    b.Property<string>("FEnableCyclistQCSTK")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用库存周期复检");
+
+                    b.Property<string>("FEnableCyclistQCSTKEW")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用库存周期复检提醒");
+
+                    b.Property<string>("FErpClsID")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料属性");
+
+                    b.Property<decimal?>("FExpPeriod")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("保质期");
+
+                    b.Property<string>("FExpUnit")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("保质期单位");
+
+                    b.Property<decimal?>("FFIXLOSS")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定损耗");
+
+                    b.Property<string>("FFeatureItem")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("特征件子项");
+
+                    b.Property<decimal?>("FFinishReceiptOverRate")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("入库超收比例(%)");
+
+                    b.Property<string>("FFinishReceiptShortRate")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("入库欠收比例(%)");
+
+                    b.Property<decimal?>("FFixLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定提前期");
+
+                    b.Property<decimal?>("FFixLeadTimeType")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("固定提前期单位");
+
+                    b.Property<DateTime?>("FForbidDate")
                         .HasColumnType("datetime(6)")
-                        .HasComment("失效日期");
+                        .HasComment("禁用日期");
+
+                    b.Property<string>("FForbidResonIsUsed")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("已使用");
+
+                    b.Property<string>("FForbidReson_2052")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("禁用原因");
+
+                    b.Property<string>("FForbidStatus")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("禁用状态");
+
+                    b.Property<string>("FForbidderId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("禁用人");
+
+                    b.Property<decimal?>("FGROSSWEIGHT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("毛重");
+
+                    b.Property<decimal?>("FHEIGHT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("高");
+
+                    b.Property<decimal?>("FIFAgentPurPlusRatesPR")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("代理采购加成比例");
+
+                    b.Property<string>("FISAFTERSALE")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用售后服务");
+
+                    b.Property<string>("FISMinIssueQty")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("领料考虑最小发料批量");
+
+                    b.Property<string>("FISPRODUCTFILES")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生成产品档案");
+
+                    b.Property<string>("FISWARRANTED")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否保修");
+
+                    b.Property<string>("FIncQcSchemeId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("质检方案");
+
+                    b.Property<string>("FIncSampSchemeId_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("抽样方案");
+
+                    b.Property<decimal?>("FIncreaseQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小包装量");
+
+                    b.Property<string>("FInspectGroupId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("质检组");
+
+                    b.Property<string>("FInspectorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("质检员");
+
+                    b.Property<string>("FIsATPCheck")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("ATP检查");
+
+                    b.Property<string>("FIsAffectCost1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("影响出库成本");
+
+                    b.Property<string>("FIsAffectPlan1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("影响计划");
+
+                    b.Property<string>("FIsAffectPrice1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("影响价格");
+
+                    b.Property<string>("FIsBatchManage")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用批号管理");
+
+                    b.Property<string>("FIsCoby")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("可为联副产品");
+
+                    b.Property<string>("FIsComControl")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("组合控制");
+
+                    b.Property<string>("FIsCompleteSet")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否齐套件");
+
+                    b.Property<string>("FIsCycleCounting")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用盘点周期");
+
+                    b.Property<string>("FIsECN")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用ECN");
+
+                    b.Property<string>("FIsEnable1")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用");
+
+                    b.Property<string>("FIsEnableMaxStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用最大库存");
+
+                    b.Property<string>("FIsEnableMinStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用最小库存");
+
+                    b.Property<string>("FIsEnableReOrder")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用再订货点");
+
+                    b.Property<string>("FIsEnableSafeStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用安全库存");
+
+                    b.Property<string>("FIsEnableSchedule")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用日排产");
+
+                    b.Property<string>("FIsExpParToFlot")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("批号附属信息");
+
+                    b.Property<string>("FIsFirstInspect")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("产品首检");
+
+                    b.Property<string>("FIsInventory")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许库存");
+
+                    b.Property<string>("FIsKFPeriod")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("启用保质期管理");
+
+                    b.Property<string>("FIsKitting")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否关键件");
+
+                    b.Property<string>("FIsLockStock")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("可锁库");
+
+                    b.Property<string>("FIsMainPrd")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("可为主产品");
+
+                    b.Property<string>("FIsMrpComBill")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("MRP计算是否按单合并");
 
-                    b.Property<long?>("factory_id")
-                        .HasColumnType("bigint")
-                        .HasComment("工厂ID");
+                    b.Property<string>("FIsMrpComReq")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("MRP计算是否合并需求");
 
-                    b.Property<int>("fse_status")
-                        .HasColumnType("int")
-                        .HasComment("使用状态");
+                    b.Property<string>("FIsMustCounting")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("必盘");
 
-                    b.Property<long>("icitem_id")
-                        .HasColumnType("bigint")
-                        .HasComment("物料id");
+                    b.Property<string>("FIsPR")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("需要请购");
 
-                    b.Property<string>("item_name")
-                        .HasMaxLength(200)
-                        .HasColumnType("varchar(200)")
-                        .HasComment("物料名称");
+                    b.Property<string>("FIsProductLine")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生产线生产");
 
-                    b.Property<string>("item_number")
+                    b.Property<string>("FIsPurchase")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许采购");
+
+                    b.Property<string>("FIsQuota")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("配额管理");
+
+                    b.Property<string>("FIsReturn")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许退货");
+
+                    b.Property<string>("FIsReturnMaterial")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许退料");
+
+                    b.Property<string>("FIsReturnPart")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("部件可退");
+
+                    b.Property<string>("FIsSNCarryToParent")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("序列号携带到父项");
+
+                    b.Property<string>("FIsSNManage")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("库存管理");
+
+                    b.Property<string>("FIsSNPRDTracy")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("生产追溯");
+
+                    b.Property<string>("FIsSale")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许销售");
+
+                    b.Property<string>("FIsSourceControl")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("货源控制");
+
+                    b.Property<string>("FIsSubContract")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许委外");
+
+                    b.Property<string>("FIsTaxEnjoy")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("享受税收优惠政策");
+
+                    b.Property<string>("FIsVmiBusiness")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("VMI业务");
+
+                    b.Property<string>("FIssueType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("发料方式");
+
+                    b.Property<decimal?>("FLENGTH")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("长");
+
+                    b.Property<decimal?>("FLOSSPERCENT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("变动损耗率(%)");
+
+                    b.Property<decimal?>("FLeadExtendDay")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("提前宽限期");
+
+                    b.Property<string>("FMaterialGroup")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料分组编码");
+
+                    b.Property<string>("FMaterialGroup_Name")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("物料代码");
+                        .HasComment("物料分组");
+
+                    b.Property<decimal?>("FMaxPOQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最大订货量");
+
+                    b.Property<decimal?>("FMaxStock")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最大库存");
 
-                    b.Property<long?>("org_id")
-                        .HasColumnType("bigint")
-                        .HasComment("组织ID");
+                    b.Property<string>("FMdlId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品模型");
 
-                    b.Property<string>("product_designer")
+                    b.Property<string>("FMdlMaterialId_Name")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("产品设计员");
+                        .HasComment("模型物料");
 
-                    b.Property<string>("product_principal")
+                    b.Property<string>("FMfgPolicyId_Name")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("生产负责人");
+                        .HasComment("制造策略");
+
+                    b.Property<decimal?>("FMinIssueQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小发料批量");
 
-                    b.Property<long>("tech_id")
-                        .HasColumnType("bigint")
-                        .HasComment("工艺主键");
+                    b.Property<string>("FMinIssueUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("最小发料批量单位");
 
-                    b.Property<string>("tech_name")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("工艺名称");
+                    b.Property<decimal?>("FMinPOQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小订货量");
 
-                    b.Property<long>("tenant_id")
-                        .HasColumnType("bigint")
-                        .HasComment("企业ID");
+                    b.Property<decimal?>("FMinPackCount")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小包装数");
 
-                    b.Property<string>("unit")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("单位");
+                    b.Property<decimal?>("FMinSplitQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小拆分数量");
 
-                    b.Property<long?>("update_by")
-                        .HasColumnType("bigint")
+                    b.Property<decimal?>("FMinStock")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("最小库存");
+
+                    b.Property<string>("FMnemonicCode")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("助记码");
+
+                    b.Property<string>("FModifierId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
                         .HasComment("修改人");
 
-                    b.Property<string>("update_by_name")
-                        .HasMaxLength(50)
-                        .HasColumnType("varchar(50)")
-                        .HasComment("修改人名称");
+                    b.Property<DateTime?>("FModifyDate")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("修改日期");
+
+                    b.Property<decimal?>("FNETWEIGHT")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("净重");
+
+                    b.Property<string>("FName_2052")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("名称");
+
+                    b.Property<string>("FNumber")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("编码");
+
+                    b.Property<string>("FOldNumber")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("旧物料编码");
+
+                    b.Property<decimal?>("FOnlineLife")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("在架寿命期");
+
+                    b.Property<decimal?>("FOrderIntervalTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("订货间隔期");
+
+                    b.Property<string>("FOrderIntervalTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("订货间隔期单位");
+
+                    b.Property<string>("FOrderPolicy")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("订货策略");
+
+                    b.Property<decimal?>("FOrderQty")
+                        .HasPrecision(20, 10)
+                        .HasColumnType("decimal(20,10)")
+                        .HasComment("起订量");
+
+                    b.Property<string>("FOrgTrustBillType_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("组织间受托类型");
+
+                    b.Property<string>("FOutLmtUnit")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("超发控制单位");
+
+                    b.Property<decimal?>("FOutStockLmtH")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("超发上限(%)");
+
+                    b.Property<decimal?>("FOutStockLmtL")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("超发下限(%)");
+
+                    b.Property<string>("FOverControlMode")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("超发控制方式");
+
+                    b.Property<string>("FPOBillTypeId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("采购类型");
+
+                    b.Property<decimal?>("FPerUnitStandHour")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准工时");
+
+                    b.Property<string>("FPickBinId_FF100002")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.客户.编码");
+
+                    b.Property<string>("FPickBinId_FF100002_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.客户.名称");
+
+                    b.Property<string>("FPickBinId_FF100003")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.供应商.编码");
+
+                    b.Property<string>("FPickBinId_FF100003_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.供应商.名称");
+
+                    b.Property<string>("FPickBinId_FF100004")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.服务机客户.编码");
+
+                    b.Property<string>("FPickBinId_FF100004_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位.服务机客户.名称");
+
+                    b.Property<string>("FPickStockId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓库");
+
+                    b.Property<string>("FPickStockLoc")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("发料仓位");
+
+                    b.Property<decimal?>("FPlanBatchSplitQty")
+                        .HasPrecision(20, 10)
+                        .HasColumnType("decimal(20,10)")
+                        .HasComment("拆分批量");
+
+                    b.Property<string>("FPlanGroupId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划组");
+
+                    b.Property<string>("FPlanIdent_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划标识");
+
+                    b.Property<decimal?>("FPlanIntervalsDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("批量拆分间隔天数");
+
+                    b.Property<decimal?>("FPlanOffsetTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("偏置时间");
+
+                    b.Property<string>("FPlanOffsetTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("时间单位");
+
+                    b.Property<decimal?>("FPlanSafeStockQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("安全库存");
+
+                    b.Property<decimal?>("FPlanTimeZone")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("计划时界");
+
+                    b.Property<string>("FPlanWorkshop_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划区");
+
+                    b.Property<string>("FPlanerID_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("计划员");
+
+                    b.Property<string>("FPlanningStrategy")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("计划策略");
+
+                    b.Property<decimal?>("FPrintCount")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("重复打印数");
+
+                    b.Property<string>("FProScheTrackId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("订单进度分组");
+
+                    b.Property<string>("FProduceBillType_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("生产类型");
+
+                    b.Property<string>("FProduceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("生产单位");
+
+                    b.Property<string>("FProductLine_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("产品系列");
+
+                    b.Property<string>("FPurchaseGroupId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("采购组");
+
+                    b.Property<string>("FPurchaseOrgId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("采购组织");
+
+                    b.Property<string>("FPurchasePriceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("采购计价单位");
+
+                    b.Property<string>("FPurchaseUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("采购单位");
+
+                    b.Property<string>("FPurchaserId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("采购员");
+
+                    b.Property<string>("FQtyFactorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("数量负荷系数");
+
+                    b.Property<string>("FQuotaType")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("配额方式");
+
+                    b.Property<decimal?>("FReOrderGood")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("再订货点");
+
+                    b.Property<decimal?>("FReceiveAdvanceDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货提前天数");
+
+                    b.Property<decimal?>("FReceiveDelayDays")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货延迟天数");
+
+                    b.Property<decimal?>("FReceiveMaxScale")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货上限比例(%)");
+
+                    b.Property<decimal?>("FReceiveMinScale")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("收货下限比例(%)");
+
+                    b.Property<decimal?>("FRefCost")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("参考成本");
+
+                    b.Property<decimal?>("FRequestTimeZone")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("需求时界");
+
+                    b.Property<string>("FReserveType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("预留类型");
+
+                    b.Property<string>("FSNCodeRule_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("序列号编码规则");
+
+                    b.Property<string>("FSNUnit_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("序列号单位");
+
+                    b.Property<decimal?>("FSafeStock")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("安全库存");
+
+                    b.Property<string>("FSalGroup_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("销售分组");
+
+                    b.Property<string>("FSalePriceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("销售计价单位");
+
+                    b.Property<string>("FSaleUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("销售单位");
+
+                    b.Property<string>("FSpecification_2052")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("规格型号");
+
+                    b.Property<string>("FStandHourUnitId")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("工时单位");
+
+                    b.Property<decimal?>("FStdLaborPrePareTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准人员准备工时");
+
+                    b.Property<decimal?>("FStdLaborProcessTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准人员实作工时");
+
+                    b.Property<decimal?>("FStdMachinePrepareTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准机器准备工时");
+
+                    b.Property<decimal?>("FStdMachineProcessTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("标准机器实作工时");
+
+                    b.Property<decimal?>("FStockCycle")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("复检周期");
+
+                    b.Property<string>("FStockId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓库");
+
+                    b.Property<string>("FStockLoc")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位");
+
+                    b.Property<string>("FStockPlaceId_FF100002")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.客户.编码");
+
+                    b.Property<string>("FStockPlaceId_FF100002_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.客户.名称");
+
+                    b.Property<string>("FStockPlaceId_FF100003")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.供应商.编码");
+
+                    b.Property<string>("FStockPlaceId_FF100003_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.供应商.名称");
+
+                    b.Property<string>("FStockPlaceId_FF100004")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.服务机客户.编码");
+
+                    b.Property<string>("FStockPlaceId_FF100004_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("仓位.服务机客户.名称");
+
+                    b.Property<string>("FStoreUnitID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("库存单位");
 
-                    b.Property<DateTime?>("update_time")
+                    b.Property<string>("FSubBillType_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("委外类型");
+
+                    b.Property<string>("FSubconPriceUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("委外计价单位");
+
+                    b.Property<string>("FSubconUnitId_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("委外单位");
+
+                    b.Property<string>("FSuite")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("套件");
+
+                    b.Property<string>("FSupplySourceId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("供应来源");
+
+                    b.Property<string>("FTaxCategoryCodeId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("税收分类编码");
+
+                    b.Property<string>("FTaxDiscountsType")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("税收优惠政策类型");
+
+                    b.Property<string>("FTaxRateId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("默认税率");
+
+                    b.Property<string>("FTaxType_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("税分类");
+
+                    b.Property<string>("FTimeFactorId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("时间紧迫系数");
+
+                    b.Property<string>("FUnValidateExpQty")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("不参与可发量统计");
+
+                    b.Property<string>("FUseOrgId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("使用组织");
+
+                    b.Property<string>("FUseStatus")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("数据状态");
+
+                    b.Property<decimal?>("FVOLUME")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("体积");
+
+                    b.Property<string>("FVOLUMEUNITID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("尺寸单位");
+
+                    b.Property<decimal?>("FVarLeadTime")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("变动提前期");
+
+                    b.Property<decimal?>("FVarLeadTimeLotSize")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("变动提前期批量");
+
+                    b.Property<string>("FVarLeadTimeType")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("变动提前期单位");
+
+                    b.Property<decimal?>("FWARRANTY")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("保修期");
+
+                    b.Property<string>("FWARRANTYUNITID")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("保修期单位");
+
+                    b.Property<string>("FWEIGHTUNITID_Name")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("重量单位");
+
+                    b.Property<decimal?>("FWIDTH")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("宽");
+
+                    b.Property<string>("FWorkShopId_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("生产车间");
+
+                    b.Property<decimal?>("FWriteOffQty")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("冲销数量");
+
+                    b.Property<string>("F_BZGG")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("包装规格");
+
+                    b.Property<string>("F_CPFL_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品分类");
+
+                    b.Property<string>("F_CPPLLB")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品披露类别");
+
+                    b.Property<string>("F_CPX_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("产品线");
+
+                    b.Property<string>("F_DYDWLX")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("电压/电网类型");
+
+                    b.Property<string>("F_DZLSX")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("电子料属性");
+
+                    b.Property<string>("F_GLD_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("功率段");
+
+                    b.Property<DateTime?>("F_GSZHGGRQ")
                         .HasColumnType("datetime(6)")
-                        .HasComment("修改时间");
+                        .HasComment("工时最后更改日期");
+
+                    b.Property<string>("F_GSZHGGR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("工时最后更改人");
 
-                    b.Property<DateTime?>("use_date")
+                    b.Property<string>("F_GWLH_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("根物料号");
+
+                    b.Property<string>("F_GYS")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("供应商");
+
+                    b.Property<decimal?>("F_HLBZL")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("回料包装量");
+
+                    b.Property<string>("F_JCYY")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("禁采原因");
+
+                    b.Property<string>("F_JWLBMU8")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("旧物料编码U8");
+
+                    b.Property<string>("F_PP_Name")
+                        .HasMaxLength(255)
+                        .HasColumnType("varchar(255)")
+                        .HasComment("品牌");
+
+                    b.Property<string>("F_SFJLPCH")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("是否记录批次号");
+
+                    b.Property<string>("F_SMZQ")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("料号生命周期");
+
+                    b.Property<DateTime?>("F_SMZQZHGGRQ")
+                        .HasColumnType("datetime(6)")
+                        .HasComment("生命周期最后更改日期");
+
+                    b.Property<string>("F_SMZQZHGGR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("生命周期最后更改人");
+
+                    b.Property<DateTime?>("F_TJZLZHGGRQ")
                         .HasColumnType("datetime(6)")
-                        .HasComment("bom创建时间");
+                        .HasComment("体积重量最后更改日期");
+
+                    b.Property<string>("F_TJZLZHGGR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("体积重量最后更改人");
+
+                    b.Property<string>("F_WLLX")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("物料类型");
+
+                    b.Property<string>("F_WLSQR_Name")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("物料申请人");
+
+                    b.Property<string>("F_XSXH_2052")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("SAJ型号");
+
+                    b.Property<string>("F_YWLX")
+                        .HasMaxLength(80)
+                        .HasColumnType("varchar(80)")
+                        .HasComment("业务类型");
+
+                    b.Property<string>("F_YXQG")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许请购");
+
+                    b.Property<string>("F_YXSL")
+                        .HasMaxLength(1)
+                        .HasColumnType("varchar(1)")
+                        .HasComment("允许收料");
 
-                    b.Property<string>("user")
-                        .HasMaxLength(20)
-                        .HasColumnType("varchar(20)")
-                        .HasComment("bom创建人");
+                    b.Property<string>("F_YZSG")
+                        .HasMaxLength(10)
+                        .HasColumnType("varchar(10)")
+                        .HasComment("已终审过");
 
-                    b.Property<string>("version")
+                    b.Property<decimal?>("F_ZJCSGS")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("整机测试工时");
+
+                    b.Property<string>("F_ZJGLWLH_Name")
                         .HasMaxLength(80)
                         .HasColumnType("varchar(80)")
-                        .HasComment("版本");
+                        .HasComment("直接关联物料号");
+
+                    b.Property<decimal?>("F_ZJZB_Name")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("整机质保(月)");
+
+                    b.Property<decimal?>("F_ZYGS")
+                        .HasPrecision(20, 8)
+                        .HasColumnType("decimal(20,8)")
+                        .HasComment("作业工时");
 
                     b.HasKey("Id");
 
-                    b.ToTable("ic_bom", (string)null);
+                    b.ToTable("material", (string)null);
 
-                    b.HasComment("物料BOM");
+                    b.HasComment("物料");
                 });
 #pragma warning restore 612, 618
         }

+ 2 - 2
MicroServices/Business/Business.Host/appsettings.json

@@ -3,10 +3,10 @@
     "CorsOrigins": "https://*.abc.com,http://localhost:9527"
   },
   "ConnectionStrings": {
-    "Default": "Server=123.60.180.165;Database=dopbizTest;Uid=root; Pwd=5heng=uN;Allow User Variables=true",
+    "Default": "Server=123.60.180.165;Database=dopbiz;Uid=root; Pwd=5heng=uN;Allow User Variables=true",
     "DOPLog": "Server=123.60.180.165;Database=doplog;Uid=root; Pwd=5heng=uN;Allow User Variables=true",
     "DOPBang": "Server=123.60.180.165;Database=dopbang;Uid=root; Pwd=5heng=uN;Allow User Variables=true",
-    "DOPExt": "Server=123.60.180.165;Database=dopextTest;Uid=root; Pwd=5heng=uN;Allow User Variables=true",
+    "DOPExt": "Server=123.60.180.165;Database=dopext;Uid=root; Pwd=5heng=uN;Allow User Variables=true",
     "MongoDB": "mongodb://zzydop:h1Q$us3r@123.60.180.165/",
     "DBName": "dopbase"
   },

+ 1797 - 0
MicroServices/Business/Bussiness.Model/Ext/material.cs

@@ -0,0 +1,1797 @@
+using Business.Core.Attributes;
+using Business.Model;
+using Microsoft.EntityFrameworkCore;
+using System.ComponentModel;
+using System.ComponentModel.DataAnnotations;
+using Volo.Abp.Domain.Entities;
+
+namespace Bussiness.Model.Ext
+{
+    /// <summary>
+    /// 物料
+    /// </summary>
+    [CollectionName("dopbase", "material")]
+    [Comment("物料")]
+    public class material : Entity<long>
+    {
+        /// <summary>
+        /// 创建组织
+        /// </summary>
+        [StringLength(80)]
+        [Comment("创建组织")]
+        public string? FCreateOrgId_Name { get; set; }
+        /// <summary>
+        /// 使用组织
+        /// </summary>
+        [StringLength(80)]
+        [Comment("使用组织")]
+        public string? FUseOrgId_Name { get; set; }
+
+        /// <summary>
+        /// 编码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("编码")]
+        public string? FNumber { get; set; }
+        /// <summary>
+        /// 物料来源
+        /// </summary>
+        [StringLength(10)]
+        [Comment("物料来源")]
+        public string? FDataSource { get; set; }
+        /// <summary>
+        /// 名称
+        /// </summary>
+        [StringLength(80)]
+        [Comment("名称")]
+        public string? FName_2052 { get; set; }
+
+        /// <summary>
+        /// 规格型号
+        /// </summary>
+        [StringLength(255)]
+        [Comment("规格型号")]
+        public string? FSpecification_2052 { get; set; }
+
+        /// <summary>
+        /// 助记码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("助记码")]
+        public string? FMnemonicCode { get; set; }
+
+        /// <summary>
+        /// 旧物料编码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("旧物料编码")]
+        public string? FOldNumber { get; set; }
+
+        /// <summary>
+        /// 描述
+        /// </summary>
+        [StringLength(255)]
+        [Comment("描述")]
+        public string? FDescription_2052 { get; set; }
+        /// <summary>
+        /// 物料分组
+        /// </summary>
+        [StringLength(80)]
+        [Comment("物料分组")]
+        public string? FMaterialGroup_Name { get; set; }
+
+        /// <summary>
+        /// 物料分组编码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("物料分组编码")]
+        public string? FMaterialGroup { get; set; }
+
+        /// <summary>
+        /// 数据状态
+        /// </summary>
+        [Comment("数据状态")]
+        [StringLength(255)]
+        public string? FUseStatus { get; set; }
+
+        /// <summary>
+        /// 禁用状态
+        /// </summary>
+        [Comment("禁用状态")]
+        [StringLength(10)]
+        public string? FForbidStatus { get; set; }
+
+        /// <summary>
+        /// 创建人
+        /// </summary>
+        [StringLength(80)]
+        [Comment("创建人")]
+        public string? FCreatorId_Name { get; set; }
+        /// <summary>
+        /// 创建日期
+        /// </summary>
+        [Comment("创建日期")]
+        public DateTime? FCreateDate { get; set; }
+
+        /// <summary>
+        /// 修改人
+        /// </summary>
+        [Comment("修改人")]
+        [StringLength(80)]
+        public string? FModifierId_Name { get; set; }
+        /// <summary>
+        /// 修改日期
+        /// </summary>
+        [Comment("修改日期")]
+        public DateTime? FModifyDate { get; set; }
+        /// <summary>
+        /// 审核人
+        /// </summary>
+        [StringLength(80)]
+        [Comment("审核人")]
+        public string? FApproverId_Name { get; set; }
+
+        /// <summary>
+        /// 审核日期
+        [Comment("审核日期")]
+        public DateTime? FApproveDate { get; set; }
+        /// <summary>
+        /// 禁用人
+        /// </summary>
+        [Comment("禁用人")]
+        [StringLength(80)]
+        public string? FForbidderId_Name { get; set; }
+        /// <summary>
+        /// 禁用日期
+        /// </summary>
+        [Comment("禁用日期")]
+        public DateTime? FForbidDate { get; set; }
+
+        /// <summary>
+        /// 物料属性
+        /// </summary>
+        [StringLength(80)]
+        [Comment("物料属性")]
+        public string? FErpClsID { get; set; }
+        /// <summary>
+        /// 存货类别
+        /// </summary>
+        [Comment("存货类别")]
+        [StringLength(80)]
+        public string? FCategoryID_Name { get; set; }
+        /// <summary>
+        /// 税分类
+        /// </summary>
+        [Comment("税分类")]
+        [StringLength(80)]
+        public string? FTaxType_Name { get; set; }
+        /// <summary>
+        /// 默认税率
+        /// </summary>
+        [Comment("默认税率")]
+        [StringLength(80)]
+        public string? FTaxRateId_Name { get; set; }
+        /// <summary>
+        /// 基本单位
+        /// </summary>
+         [StringLength(80)]
+        [Comment("基本单位")]
+        public string? FBaseUnitId_Name { get; set; }
+        /// <summary>
+        /// 允许采购
+        /// </summary>
+        [Comment("允许采购")]
+         [StringLength(1)]
+        public string? FIsPurchase { get; set; }
+        /// <summary>
+        /// 允许库存
+        /// </summary>
+         [StringLength(1)]
+        [Comment("允许库存")]
+        public string? FIsInventory { get; set; }
+        /// <summary>
+        /// 允许委外
+        /// </summary>
+        [Comment("允许委外")]
+         [StringLength(1)]
+        public string? FIsSubContract { get; set; }
+        /// <summary>
+        /// 允许销售
+        /// </summary>
+        [Comment("允许销售")]
+         [StringLength(1)]
+        public string? FIsSale { get; set; }
+
+        /// <summary>
+        /// 条码
+        /// </summary>
+        [Comment("条码")]
+        [StringLength(80)]
+        public string? FBARCODE { get; set; }
+        /// <summary>
+        /// 毛重
+        /// </summary>
+        [Precision(20,8)]
+        [Comment("毛重")]
+        public decimal? FGROSSWEIGHT { get; set; }
+        /// <summary>
+        /// 净重
+        /// </summary>
+        [Comment("净重")]
+        [Precision(20, 8)]
+        public decimal? FNETWEIGHT { get; set; }
+        /// <summary>
+        /// 尺寸单位
+        /// </summary>
+        [Comment("尺寸单位")]
+        [StringLength(10)]
+        public string? FVOLUMEUNITID_Name { get; set; }
+        /// <summary>
+        /// 长
+        /// </summary>
+        [Comment("长")]
+        [Precision(20, 8)]
+        public decimal? FLENGTH { get; set; }
+        /// <summary>
+        /// 宽
+        /// </summary>
+        [Comment("宽")]
+        [Precision(20, 8)]
+        public decimal? FWIDTH { get; set; }
+
+        /// <summary>
+        /// 高
+        /// </summary>
+        [Comment("高")]
+        [Precision(20, 8)]
+        public decimal? FHEIGHT { get; set; }
+        /// <summary>
+        /// 重量单位
+        /// </summary>
+        [Comment("重量单位")]
+        [StringLength(10)]
+        public string? FWEIGHTUNITID_Name { get; set; }
+        /// <summary>
+        /// 体积
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("体积")]
+        public decimal? FVOLUME { get; set; }
+
+        /// <summary>
+        /// 库存单位
+        /// </summary>
+        [Comment("库存单位")]
+        [StringLength(10)]
+        public string? FStoreUnitID_Name { get; set; }
+        /// <summary>
+        /// 辅助单位
+        /// </summary>
+        [Comment("辅助单位")]
+        [StringLength(10)]
+        public string? FAuxUnitID_Name { get; set; }
+        /// <summary>
+        /// 仓库
+        /// </summary>
+        [Comment("仓库")]
+        [StringLength(80)]
+        public string? FStockId_Name{ get; set;}
+
+        /// <summary>
+        /// 仓位
+        /// </summary>
+        [Comment("仓位")]
+        [StringLength(80)]
+        public string? FStockLoc { get; set; }
+        /// <summary>
+        /// 仓位.客户.编码
+        /// </summary>
+       
+        [Comment("仓位.客户.编码")]
+        [StringLength(80)]
+        public string? FStockPlaceId_FF100002 { get; set; }
+        /// <summary>
+        /// 仓位.客户.名称
+        /// </summary>
+        [Comment("仓位.客户.名称")]
+        [StringLength(80)]
+        public string? FStockPlaceId_FF100002_Name { get; set; }
+
+
+        /// <summary>
+        /// 仓位.供应商.编码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("仓位.供应商.编码")]
+        public string? FStockPlaceId_FF100003 { get; set; }
+        /// <summary>
+        /// 仓位.客户.编码
+        /// </summary>
+       
+        [Comment("仓位.供应商.名称")]
+        [StringLength(80)]
+        public string? FStockPlaceId_FF100003_Name { get; set; }
+        /// <summary>
+        /// 仓位.服务机客户.编码
+        /// </summary>
+        [Comment("仓位.服务机客户.编码")]
+        [StringLength(80)]
+        public string? FStockPlaceId_FF100004 { get; set; }
+
+
+        /// <summary>
+        /// 仓位.服务机客户.名称
+        /// </summary>
+        [Comment("仓位.服务机客户.名称")]
+        [StringLength(80)]
+        public string? FStockPlaceId_FF100004_Name { get; set; }
+        /// <summary>
+        /// 可锁库
+        /// </summary>
+        [StringLength(1)]
+        [Comment("可锁库")]
+        public string? FIsLockStock { get; set; }
+        /// <summary>
+        /// 启用盘点周期
+        /// </summary>
+        [Comment("启用盘点周期")]
+        [StringLength(1)]
+        public string? FIsCycleCounting { get; set; }
+
+
+        /// <summary>
+        /// 盘点周期单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("盘点周期单位")]
+        public string? FCountCycle { get; set; }
+        /// <summary>
+        /// 盘点周期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("盘点周期")]
+        public decimal? FCountDay { get; set; }
+        /// <summary>
+        /// 必盘
+        /// </summary>
+        [Comment("必盘")]
+        [StringLength(1)]
+        public string? FIsMustCounting { get; set; }
+
+        /// <summary>
+        /// 启用批号管理
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用批号管理")]
+        public string? FIsBatchManage { get; set; }
+        /// <summary>
+        /// 批号编码规则
+        /// </summary>
+        [StringLength(80)]
+        [Comment("批号编码规则")]
+        public string? FBatchRuleID_Name { get; set; }
+        /// <summary>
+        /// 启用保质期管理
+        /// </summary>
+        [Comment("启用保质期管理")]
+        [StringLength(1)]
+        public string? FIsKFPeriod { get; set; }
+
+
+        /// <summary>
+        /// 批号附属信息
+        /// </summary>
+        [StringLength(1)]
+        [Comment("批号附属信息")]
+        public string? FIsExpParToFlot { get; set; }
+        /// <summary>
+        /// 保质期单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("保质期单位")]
+        public string? FExpUnit { get; set; }
+        /// <summary>
+        /// 保质期
+        /// </summary>
+        [Comment("保质期")]
+        [Precision(20, 8)]
+        public decimal? FExpPeriod { get; set; }
+
+        /// <summary>
+        /// 在架寿命期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("在架寿命期")]
+        public decimal? FOnlineLife { get; set; }
+        /// <summary>
+        /// 参考成本
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("参考成本")]
+        public decimal? FRefCost { get; set; }
+        /// <summary>
+        /// 币别
+        /// </summary>
+        [Comment("币别")]
+        [StringLength(80)]
+        public string? FCurrencyId_Name { get; set; }
+
+        /// <summary>
+        /// 库存管理
+        /// </summary>
+        [StringLength(1)]
+        [Comment("库存管理")]
+        public string? FIsSNManage { get; set; }
+        /// <summary>
+        /// 启用最小库存
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用最小库存")]
+        public string? FIsEnableMinStock { get; set; }
+        /// <summary>
+        /// 启用安全库存
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用安全库存")]
+        public string? FIsEnableSafeStock { get; set; }
+
+
+        /// <summary>
+        /// 序列号编码规则
+        /// </summary>
+        [StringLength(80)]
+        [Comment("序列号编码规则")]
+        public string? FSNCodeRule_Name { get; set; }
+        /// <summary>
+        /// 启用再订货点
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用再订货点")]
+        public string? FIsEnableReOrder { get; set; }
+        /// <summary>
+        /// 启用最大库存
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用最大库存")]
+        public string? FIsEnableMaxStock { get; set; }
+
+
+        /// <summary>
+        /// 序列号单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("序列号单位")]
+        public string? FSNUnit_Name { get; set; }
+        /// <summary>
+        /// 最小库存
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最小库存")]
+        public decimal? FMinStock { get; set; }
+        /// <summary>
+        /// 安全库存
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("安全库存")]
+        public decimal? FSafeStock { get; set; }
+
+
+        /// <summary>
+        /// 再订货点
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("再订货点")]
+        public decimal? FReOrderGood { get; set; }
+        /// <summary>
+        /// 经济订货批量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("经济订货批量")]
+        public decimal? FEconReOrderQty { get; set; }
+        /// <summary>
+        /// 最大库存
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最大库存")]
+        public decimal? FMaxStock { get; set; }
+
+
+        /// <summary>
+        /// 销售单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("销售单位")]
+        public string? FSaleUnitId_Name { get; set; }
+        /// <summary>
+        /// 销售计价单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("销售计价单位")]
+        public string? FSalePriceUnitId_Name { get; set; }
+        /// <summary>
+        /// 起订量
+        /// </summary>
+        [Precision(20, 10)]
+        [Comment("起订量")]
+        public decimal? FOrderQty { get; set; }
+
+        /// <summary>
+        /// 超发上限(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("超发上限(%)")]
+        public decimal? FOutStockLmtH { get; set; }
+        /// <summary>
+        /// 超发下限(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("超发下限(%)")]
+        public decimal? FOutStockLmtL { get; set; }
+        /// <summary>
+        /// 代理销售减价比例(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("代理销售减价比例(%)")]
+        public decimal? FAgentSalReduceRate { get; set; }
+
+        /// <summary>
+        /// ATP检查
+        /// </summary>
+        [StringLength(1)]
+        [Comment("ATP检查")]
+        public string? FIsATPCheck { get; set; }
+        /// <summary>
+        /// 允许退货
+        /// </summary>
+         [StringLength(1)]
+        [Comment("允许退货")]
+        public string? FIsReturn { get; set; }
+        /// <summary>
+        /// 部件可退
+        /// </summary>
+        [StringLength(1)]
+        [Comment("部件可退")]
+        public string? FIsReturnPart { get; set; }
+
+        /// <summary>
+        /// 允许发布到订货平台
+        /// </summary>
+        [StringLength(1)]
+        [Comment("允许发布到订货平台")]
+        public string? FAllowPublish { get; set; }
+        /// <summary>
+        /// 启用售后服务
+        /// </summary>
+         [StringLength(1)]
+        [Comment("启用售后服务")]
+        public string? FISAFTERSALE { get; set; }
+        /// <summary>
+        /// 生成产品档案
+        /// </summary>
+        [StringLength(1)]
+        [Comment("生成产品档案")]
+        public string? FISPRODUCTFILES { get; set; }
+
+
+        /// <summary>
+        /// 是否保修
+        /// </summary>
+        [StringLength(1)]
+        [Comment("是否保修")]
+        public string? FISWARRANTED { get; set; }
+        /// <summary>
+        /// 保修期单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("保修期单位")]
+        public string? FWARRANTYUNITID { get; set; }
+        /// <summary>
+        /// 采购单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("采购单位")]
+        public string? FPurchaseUnitId_Name { get; set; }
+
+        /// <summary>
+        /// 采购计价单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("采购计价单位")]
+        public string? FPurchasePriceUnitId_Name { get; set; }
+        /// <summary>
+        /// 采购组
+        /// </summary>
+         [StringLength(80)]
+        [Comment("采购组")]
+        public string? FPurchaseGroupId_Name { get; set; }
+        /// <summary>
+        /// 采购员
+        /// </summary>
+        [StringLength(80)]
+        [Comment("采购员")]
+        public string? FPurchaserId_Name { get; set; }
+
+        /// <summary>
+        /// 配额管理
+        /// </summary>
+        [StringLength(1)]
+        [Comment("配额管理")]
+        public string? FIsQuota { get; set; }
+        /// <summary>
+        /// 配额方式
+        /// </summary>
+         [StringLength(80)]
+        [Comment("配额方式")]
+        public string? FQuotaType { get; set; }
+        /// <summary>
+        /// 最小拆分数量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最小拆分数量")]
+        public decimal? FMinSplitQty { get; set; }
+
+
+        /// <summary>
+        /// VMI业务
+        /// </summary>
+        [StringLength(1)]
+        [Comment("VMI业务")]
+        public string? FIsVmiBusiness { get; set; }
+        /// <summary>
+        /// 默认供应商
+        /// </summary>
+         [StringLength(80)]
+        [Comment("默认供应商")]
+        public string? FDefaultVendor_Name { get; set; }
+        /// <summary>
+        /// 费用项目
+        /// </summary>
+        [StringLength(80)]
+        [Comment("费用项目")]
+        public string? FChargeID_Name { get; set; }
+
+
+        /// <summary>
+        /// 货源控制
+        /// </summary>
+        [StringLength(1)]
+        [Comment("货源控制")]
+        public string? FIsSourceControl { get; set; }
+        /// <summary>
+        /// 需要请购
+        /// </summary>
+         [StringLength(1)]
+        [Comment("需要请购")]
+        public string? FIsPR { get; set; }
+        /// <summary>
+        /// 收货上限比例(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("收货上限比例(%)")]
+        public decimal? FReceiveMaxScale { get; set; }
+
+        /// <summary>
+        ///收货下限比例(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("收货下限比例(%)")]
+        public decimal? FReceiveMinScale { get; set; }
+        /// <summary>
+        /// 代理采购加成比例
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("代理采购加成比例")]
+        public decimal? FIFAgentPurPlusRatesPR { get; set; }
+        /// <summary>
+        /// 收货提前天数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("收货提前天数")]
+        public decimal? FReceiveAdvanceDays { get; set; }
+
+        /// <summary>
+        ///收货延迟天数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("收货延迟天数")]
+        public decimal? FReceiveDelayDays { get; set; }
+        /// <summary>
+        /// 允许退料
+        /// </summary>
+        [StringLength(1)]
+        [Comment("允许退料")]
+        public string? FIsReturnMaterial { get; set; }
+        /// <summary>
+        /// 采购组织
+        /// </summary>
+        [StringLength(80)]
+        [Comment("采购组织")]
+        public string? FPurchaseOrgId_Name { get; set; }
+
+        /// <summary>
+        ///委外单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("委外单位")]
+        public string? FSubconUnitId_Name { get; set; }
+        /// <summary>
+        /// 委外计价单位
+        /// </summary>
+         [StringLength(10)]
+        [Comment("委外计价单位")]
+        public string? FSubconPriceUnitId_Name { get; set; }
+        /// <summary>
+        /// 采购类型
+        /// </summary>
+        [StringLength(10)]
+        [Comment("采购类型")]
+        public string? FPOBillTypeId_Name { get; set; }
+
+
+        /// <summary>
+        ///委外类型
+        /// </summary>
+        [StringLength(10)]
+        [Comment("委外类型")]
+        public string? FSubBillType_Name { get; set; }
+        /// <summary>
+        /// 计划策略
+        /// </summary>
+         [StringLength(10)]
+        [Comment("计划策略")]
+        public string? FPlanningStrategy { get; set; }
+        /// <summary>
+        /// 制造策略
+        /// </summary>
+        [StringLength(80)]
+        [Comment("制造策略")]
+        public string? FMfgPolicyId_Name { get; set; }
+
+        /// <summary>
+        ///检验提前期单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("检验提前期单位")]
+        public string? FCheckLeadTimeType { get; set; }
+        /// <summary>
+        /// 订货策略
+        /// </summary>
+         [StringLength(80)]
+        [Comment("订货策略")]
+        public string? FOrderPolicy { get; set; }
+        /// <summary>
+        /// 最小订货量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最小订货量")]
+        public decimal? FMinPOQty { get; set; }
+
+
+        /// <summary>
+        ///计划区
+        /// </summary>
+        [StringLength(80)]
+        [Comment("计划区")]
+        public string? FPlanWorkshop_Name { get; set; }
+        /// <summary>
+        /// 订货间隔期单位
+        /// </summary>
+         [StringLength(10)]
+        [Comment("订货间隔期单位")]
+        public string? FOrderIntervalTimeType { get; set; }
+        /// <summary>
+        /// 固定提前期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("固定提前期")]
+        public decimal? FFixLeadTime { get; set; }
+
+
+        /// <summary>
+        ///最小包装量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最小包装量")]
+        public decimal? FIncreaseQty { get; set; }
+        /// <summary>
+        /// 固定提前期单位
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("固定提前期单位")]
+        public decimal? FFixLeadTimeType { get; set; }
+        /// <summary>
+        /// 订货间隔期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("订货间隔期")]
+        public decimal? FOrderIntervalTime { get; set; }
+
+
+
+        /// <summary>
+        ///变动提前期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("变动提前期")]
+        public decimal? FVarLeadTime { get; set; }
+        /// <summary>
+        /// 变动提前期批量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("变动提前期批量")]
+        public decimal? FVarLeadTimeLotSize { get; set; }
+        /// <summary>
+        /// 变动提前期单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("变动提前期单位")]
+        public string? FVarLeadTimeType { get; set; }
+
+
+        /// <summary>
+        ///最大订货量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最大订货量")]
+        public decimal? FMaxPOQty { get; set; }
+        /// <summary>
+        /// 检验提前期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("检验提前期")]
+        public decimal? FCheckLeadTime { get; set; }
+        /// <summary>
+        /// 固定/经济批量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("固定/经济批量")]
+        public decimal? FEOQ { get; set; }
+
+
+        /// <summary>
+        ///批量拆分间隔天数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("批量拆分间隔天数")]
+        public decimal? FPlanIntervalsDays { get; set; }
+        /// <summary>
+        /// 拆分批量
+        /// </summary>
+        [Precision(20, 10)]
+        [Comment("拆分批量")]
+        public decimal? FPlanBatchSplitQty { get; set; }
+        /// <summary>
+        /// MRP计算是否合并需求
+        /// </summary>
+        [StringLength(1)]
+        [Comment("MRP计算是否合并需求")]
+        public string? FIsMrpComReq { get; set; }
+
+        /// <summary>
+        ///需求时界
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("需求时界")]
+        public decimal? FRequestTimeZone { get; set; }
+        /// <summary>
+        /// MRP计算是否按单合并
+        /// </summary>
+        [StringLength(1)]
+        [Comment("MRP计算是否按单合并")]
+        public string? FIsMrpComBill { get; set; }
+        /// <summary>
+        /// 允许提前天数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("允许提前天数")]
+        public decimal? FCanLeadDays { get; set; }
+
+
+        /// <summary>
+        ///计划时界
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("计划时界")]
+        public decimal? FPlanTimeZone { get; set; }
+        /// <summary>
+        /// 预留类型
+        /// </summary>
+         [StringLength(10)]
+        [Comment("预留类型")]
+        public string? FReserveType { get; set; }
+        /// <summary>
+        /// 计划组
+        /// </summary>
+        [StringLength(80)]
+        [Comment("计划组")]
+        public string? FPlanGroupId_Name { get; set; }
+
+
+        /// <summary>
+        ///提前宽限期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("提前宽限期")]
+        public decimal? FLeadExtendDay { get; set; }
+        /// <summary>
+        /// 计划员
+        /// </summary>
+        [StringLength(80)]
+        [Comment("计划员")]
+        public string? FPlanerID_Name { get; set; }
+        /// <summary>
+        /// ATO预测冲销方案
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("ATO预测冲销方案")]
+        public decimal? FATOSchemeId_Name { get; set; }
+
+        /// <summary>
+        ///允许延后天数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("允许延后天数")]
+        public decimal? FCanDelayDays { get; set; }
+        /// <summary>
+        /// 偏置时间
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("偏置时间")]
+        public decimal? FPlanOffsetTime { get; set; }
+        /// <summary>
+        /// 安全库存
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("安全库存")]
+        public decimal? FPlanSafeStockQty { get; set; }
+
+
+        /// <summary>
+        ///按批号匹配供需
+        /// </summary>
+        [StringLength(1)]
+        [Comment("按批号匹配供需")]
+        public string? FDSMatchByLot { get; set; }
+        /// <summary>
+        /// 预计入库允许部分提前
+        /// </summary>
+        [StringLength(1)]
+        [Comment("预计入库允许部分提前")]
+        public string? FAllowPartAhead { get; set; }
+        /// <summary>
+        /// 时间紧迫系数
+        /// </summary>
+        [StringLength(80)]
+        [Comment("时间紧迫系数")]
+        public string? FTimeFactorId_Name { get; set; }
+
+        /// <summary>
+        ///预计入库允许部分延后
+        /// </summary>
+        [StringLength(1)]
+        [Comment("预计入库允许部分延后")]
+        public string? FAllowPartDelay { get; set; }
+        /// <summary>
+        /// 数量负荷系数
+        /// </summary>
+         [StringLength(80)]
+        [Comment("数量负荷系数")]
+        public string? FQtyFactorId_Name { get; set; }
+        /// <summary>
+        /// 供应来源
+        /// </summary>
+        [StringLength(80)]
+        [Comment("供应来源")]
+        public string? FSupplySourceId_Name { get; set; }
+
+        /// <summary>
+        ///延后宽限期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("延后宽限期")]
+        public decimal? FDelayExtendDay { get; set; }
+        /// <summary>
+        /// 时间单位
+        /// </summary>
+         [StringLength(10)]
+        [Comment("时间单位")]
+        public string? FPlanOffsetTimeType { get; set; }
+        /// <summary>
+        /// 发料方式
+        /// </summary>
+        [StringLength(10)]
+        [Comment("发料方式")]
+        public string? FIssueType { get; set; }
+
+
+        /// <summary>
+        ///生产车间
+        /// </summary>
+        [StringLength(80)]
+        [Comment("生产车间")]
+        public string? FWorkShopId_Name { get; set; }
+        /// <summary>
+        /// 可为联副产品
+        /// </summary>
+         [StringLength(1)]
+        [Comment("可为联副产品")]
+        public string? FIsCoby { get; set; }
+        /// <summary>
+        /// 生产单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("生产单位")]
+        public string? FProduceUnitId_Name { get; set; }
+
+
+        /// <summary>
+        ///可为主产品
+        /// </summary>
+        [StringLength(1)]
+        [Comment("可为主产品")]
+        public string? FIsMainPrd { get; set; }
+        /// <summary>
+        /// 倒冲时机
+        /// </summary>
+         [StringLength(80)]
+        [Comment("倒冲时机")]
+        public string? FBKFLTime { get; set; }
+        /// <summary>
+        /// 入库超收比例(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("入库超收比例(%)")]
+        public decimal? FFinishReceiptOverRate { get; set; }
+
+
+        /// <summary>
+        ///发料仓库
+        /// </summary>
+        [StringLength(80)]
+        [Comment("发料仓库")]
+        public string? FPickStockId_Name { get; set; }
+        /// <summary>
+        /// 入库欠收比例(%)
+        /// </summary>
+         [StringLength(255)]
+        [Comment("入库欠收比例(%)")]
+        public string? FFinishReceiptShortRate { get; set; }
+        /// <summary>
+        /// 发料仓位
+        /// </summary>
+        [StringLength(80)]
+        [Comment("发料仓位")]
+        public string? FPickStockLoc { get; set; }
+
+
+        /// <summary>
+        ///发料仓位.客户.编码
+        [Comment("发料仓位.客户.编码")]
+        [StringLength(80)]
+        public string? FPickBinId_FF100002 { get; set; }
+        /// <summary>
+        /// 发料仓位.客户.名称
+        /// </summary>
+         [StringLength(80)]
+        [Comment("发料仓位.客户.名称")]
+        public string? FPickBinId_FF100002_Name { get; set; }
+        /// <summary>
+        ///  发料仓位.供应商.编码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("发料仓位.供应商.编码")]
+        public string? FPickBinId_FF100003 { get; set; }
+
+
+        /// <summary>
+        ///发料仓位.供应商.名称
+        /// </summary>
+        [Comment("发料仓位.供应商.名称")]
+        [StringLength(80)]
+        public string? FPickBinId_FF100003_Name { get; set; }
+        /// <summary>
+        /// 发料仓位.服务机客户.编码
+        /// </summary>
+         [StringLength(80)]
+        [Comment("发料仓位.服务机客户.编码")]
+        public string? FPickBinId_FF100004 { get; set; }
+        /// <summary>
+        ///发料仓位.服务机客户.名称
+        /// </summary>
+        [StringLength(80)]
+        [Comment("发料仓位.服务机客户.名称")]
+        public string? FPickBinId_FF100004_Name { get; set; }
+
+
+        /// <summary>
+        ///超发控制方式
+        /// </summary>
+        [StringLength(10)]
+        [Comment("超发控制方式")]
+        public string? FOverControlMode { get; set; }
+        /// <summary>
+        /// 子项单位
+        /// </summary>
+         [StringLength(10)]
+        [Comment("子项单位")]
+        public string? FBOMUnitId_Name { get; set; }
+        /// <summary>
+        ///最小发料批量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最小发料批量")]
+        public decimal? FMinIssueQty { get; set; }
+
+
+
+        /// <summary>
+        ///是否关键件
+        /// </summary>
+        [StringLength(1)]
+        [Comment("是否关键件")]
+        public string? FIsKitting { get; set; }
+        /// <summary>
+        /// 是否齐套件
+        /// </summary>
+         [StringLength(1)]
+        [Comment("是否齐套件")]
+        public string? FIsCompleteSet { get; set; }
+        /// <summary>
+        ///标准人员准备工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("标准人员准备工时")]
+        public decimal? FStdLaborPrePareTime { get; set; }
+
+        /// <summary>
+        ///标准人员实作工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("标准人员实作工时")]
+        public decimal? FStdLaborProcessTime { get; set; }
+        /// <summary>
+        /// 默认工艺路线
+        /// </summary>
+         [StringLength(255)]
+        [Comment("默认工艺路线")]
+        public string? FDefaultRouting_Name { get; set; }
+        /// <summary>
+        ///标准工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("标准工时")]
+        public decimal? FPerUnitStandHour { get; set; }
+
+
+        /// <summary>
+        ///标准机器准备工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("标准机器准备工时")]
+        public decimal? FStdMachinePrepareTime { get; set; }
+        /// <summary>
+        /// 消耗波动(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("消耗波动(%)")]
+        public decimal? FConsumVolatility { get; set; }
+        /// <summary>
+        ///变动损耗率(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("变动损耗率(%)")]
+        public decimal? FLOSSPERCENT { get; set; }
+
+
+
+        /// <summary>
+        ///序列号携带到父项
+        /// </summary>
+        [StringLength(1)]
+        [Comment("序列号携带到父项")]
+        public string? FIsSNCarryToParent { get; set; }
+        /// <summary>
+        /// 标准机器实作工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("标准机器实作工时")]
+        public decimal? FStdMachineProcessTime { get; set; }
+        /// <summary>
+        ///生产线生产
+        /// </summary>
+        [StringLength(1)]
+        [Comment("生产线生产")]
+        public string? FIsProductLine { get; set; }
+
+        /// <summary>
+        ///生产类型
+        /// </summary>
+        [StringLength(10)]
+        [Comment("生产类型")]
+        public string? FProduceBillType_Name { get; set; }
+        /// <summary>
+        /// 组织间受托类型
+        /// </summary>
+         [StringLength(10)]
+        [Comment("组织间受托类型")]
+        public string? FOrgTrustBillType_Name { get; set; }
+        /// <summary>
+        ///领料考虑最小发料批量
+        /// </summary>
+        [StringLength(1)]
+        [Comment("领料考虑最小发料批量")]
+        public string? FISMinIssueQty { get; set; }
+
+        /// <summary>
+        ///启用ECN
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用ECN")]
+        public string? FIsECN { get; set; }
+        /// <summary>
+        /// 启用
+        /// </summary>
+         [StringLength(1)]
+        [Comment("启用")]
+        public string? FIsEnable1 { get; set; }
+        /// <summary>
+        ///影响价格
+        /// </summary>
+        [StringLength(1)]
+        [Comment("影响价格")]
+        public string? FIsAffectPrice1 { get; set; }
+
+
+        /// <summary>
+        ///影响计划
+        /// </summary>
+        [StringLength(1)]
+        [Comment("影响计划")]
+        public string? FIsAffectPlan1 { get; set; }
+        /// <summary>
+        /// 影响出库成本
+        /// </summary>
+         [StringLength(1)]
+        [Comment("影响出库成本")]
+        public string? FIsAffectCost1 { get; set; }
+        /// <summary>
+        ///辅助属性
+        /// </summary>
+        [StringLength(255)]
+        [Comment("辅助属性")]
+        public string? FAuxPropertyId_Name { get; set; }
+
+        /// <summary>
+        ///组合控制
+        /// </summary>
+        [StringLength(1)]
+        [Comment("组合控制")]
+        public string? FIsComControl { get; set; }
+        /// <summary>
+        /// 来料检验
+        /// </summary>
+         [StringLength(1)]
+        [Comment("来料检验")]
+        public string? FCheckIncoming { get; set; }
+        /// <summary>
+        ///库存检验
+        /// </summary>
+        [StringLength(1)]
+        [Comment("库存检验")]
+        public string? FCheckStock { get; set; }
+
+        /// <summary>
+        ///产品检验
+        /// </summary>
+        [StringLength(1)]
+        [Comment("产品检验")]
+        public string? FCheckProduct { get; set; }
+        /// <summary>
+        /// 抽样方案
+        /// </summary>
+         [StringLength(255)]
+        [Comment("抽样方案")]
+        public string? FIncSampSchemeId_Name { get; set; }
+        /// <summary>
+        ///质检方案
+        /// </summary>
+        [StringLength(255)]
+        [Comment("质检方案")]
+        public string? FIncQcSchemeId_Name { get; set; }
+
+        /// <summary>
+        ///启用库存周期复检
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用库存周期复检")]
+        public string? FEnableCyclistQCSTK { get; set; }
+        /// <summary>
+        /// 复检周期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("复检周期")]
+        public decimal? FStockCycle { get; set; }
+        /// <summary>
+        ///启用库存周期复检提醒
+        /// </summary>
+        [StringLength(1)]
+        [Comment("启用库存周期复检提醒")]
+        public string? FEnableCyclistQCSTKEW { get; set; }
+
+
+        /// <summary>
+        ///生产追溯
+        /// </summary>
+        [StringLength(1)]
+        [Comment("生产追溯")]
+        public string? FIsSNPRDTracy { get; set; }
+        /// <summary>
+        /// 提醒提前期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("提醒提前期")]
+        public decimal? FEWLeadDay { get; set; }
+        /// <summary>
+        ///保修期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("保修期")]
+        public decimal? FWARRANTY { get; set; }
+
+
+        /// <summary>
+        ///超发控制单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("超发控制单位")]
+        public string? FOutLmtUnit { get; set; }
+        /// <summary>
+        /// 质检组
+        /// </summary>
+         [StringLength(80)]
+        [Comment("质检组")]
+        public string? FInspectGroupId_Name { get; set; }
+        /// <summary>
+        ///发货检验
+        /// </summary>
+        [StringLength(1)]
+        [Comment("发货检验")]
+        public string? FCheckDelivery { get; set; }
+
+
+        /// <summary>
+        ///默认条码规则
+        /// </summary>
+        [StringLength(255)]
+        [Comment("默认条码规则")]
+        public string? FDefBarCodeRuleId_Name { get; set; }
+        /// <summary>
+        /// 退货检验
+        /// </summary>
+         [StringLength(1)]
+        [Comment("退货检验")]
+        public string? FCheckReturn { get; set; }
+        /// <summary>
+        ///质检员
+        /// </summary>
+        [StringLength(80)]
+        [Comment("质检员")]
+        public string? FInspectorId_Name { get; set; }
+
+
+
+        /// <summary>
+        ///配置生产
+        /// </summary>
+        [StringLength(255)]
+        [Comment("配置生产")]
+        public string? FCONFIGTYPE { get; set; }
+        /// <summary>
+        /// 特征件子项
+        /// </summary>
+         [StringLength(80)]
+        [Comment("特征件子项")]
+        public string? FFeatureItem { get; set; }
+        /// <summary>
+        ///重复打印数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("重复打印数")]
+        public decimal? FPrintCount { get; set; }
+
+
+        /// <summary>
+        ///最小发料批量单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("最小发料批量单位")]
+        public string? FMinIssueUnitId_Name { get; set; }
+        /// <summary>
+        /// 产品模型
+        /// </summary>
+         [StringLength(80)]
+        [Comment("产品模型")]
+        public string? FMdlId_Name { get; set; }
+        /// <summary>
+        ///模型物料
+        /// </summary>
+        [StringLength(80)]
+        [Comment("模型物料")]
+        public string? FMdlMaterialId_Name { get; set; }
+
+
+        /// <summary>
+        ///税收分类编码
+        /// </summary>
+        [StringLength(80)]
+        [Comment("税收分类编码")]
+        public string? FTaxCategoryCodeId_Name { get; set; }
+        /// <summary>
+        /// 受托材料检验
+        /// </summary>
+         [StringLength(1)]
+        [Comment("受托材料检验")]
+        public string? FCheckEntrusted { get; set; }
+        /// <summary>
+        ///套件
+        /// </summary>
+        [StringLength(1)]
+        [Comment("套件")]
+        public string? FSuite { get; set; }
+
+        /// <summary>
+        ///单箱标准数量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("单箱标准数量")]
+        public decimal? FBoxStandardQty { get; set; }
+        /// <summary>
+        /// 销售分组
+        /// </summary>
+         [StringLength(80)]
+        [Comment("销售分组")]
+        public string? FSalGroup_Name { get; set; }
+        /// <summary>
+        ///其他检验
+        /// </summary>
+        [StringLength(1)]
+        [Comment("其他检验")]
+        public string? FCheckOther { get; set; }
+
+
+        /// <summary>
+        ///享受税收优惠政策
+        /// </summary>
+        [StringLength(1)]
+        [Comment("享受税收优惠政策")]
+        public string? FIsTaxEnjoy { get; set; }
+        /// <summary>
+        /// 税收优惠政策类型
+        /// </summary>
+         [StringLength(80)]
+        [Comment("税收优惠政策类型")]
+        public string? FTaxDiscountsType { get; set; }
+        /// <summary>
+        ///工时单位
+        /// </summary>
+        [StringLength(10)]
+        [Comment("工时单位")]
+        public string? FStandHourUnitId { get; set; }
+
+        /// <summary>
+        ///结算成本价加减价比例(%)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("结算成本价加减价比例(%)")]
+        public decimal? FCostPriceRate { get; set; }
+        /// <summary>
+        /// 倒冲数量
+        /// </summary>
+         [StringLength(80)]
+        [Comment("倒冲数量")]
+        public string? FBackFlushType { get; set; }
+        /// <summary>
+        ///累计提前期
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("累计提前期")]
+        public decimal? FAccuLeadTime { get; set; }
+
+
+
+        /// <summary>
+        ///产品系列
+        /// </summary>
+        [StringLength(255)]
+        [Comment("产品系列")]
+        public string? FProductLine_Name { get; set; }
+        /// <summary>
+        /// 冲销数量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("冲销数量")]
+        public decimal? FWriteOffQty { get; set; }
+        /// <summary>
+        ///固定损耗
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("固定损耗")]
+        public decimal? FFIXLOSS { get; set; }
+
+
+        /// <summary>
+        ///计划标识
+        /// </summary>
+        [StringLength(80)]
+        [Comment("计划标识")]
+        public string? FPlanIdent_Name { get; set; }
+        /// <summary>
+        /// 订单进度分组
+        /// </summary>
+         [StringLength(80)]
+        [Comment("订单进度分组")]
+        public string? FProScheTrackId_Name { get; set; }
+        /// <summary>
+        ///最小包装数
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("最小包装数")]
+        public decimal? FMinPackCount { get; set; }
+
+        /// <summary>
+        ///日产量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("日产量")]
+        public decimal? FDailyOutQty { get; set; }
+        /// <summary>
+        /// 产品首检
+        /// </summary>
+         [StringLength(1)]
+        [Comment("产品首检")]
+        public string? FIsFirstInspect { get; set; }
+        /// <summary>
+        ///生产退料检验
+        /// </summary>
+        [StringLength(1)]
+        [Comment("生产退料检验")]
+        public string? FCheckReturnMtrl { get; set; }
+
+
+        /// <summary>
+        ///禁用原因
+        /// </summary>
+        [StringLength(255)]
+        [Comment("禁用原因")]
+        public string? FForbidReson_2052 { get; set; }
+        /// <summary>
+        /// 已使用
+        /// </summary>
+         [StringLength(1)]
+        [Comment("已使用")]
+        public string? FForbidResonIsUsed { get; set; }
+        /// <summary>
+        ///不参与可发量统计
+        /// </summary>
+        [StringLength(1)]
+        [Comment("不参与可发量统计")]
+        public string? FUnValidateExpQty { get; set; }
+
+
+        /// <summary>
+        ///物料类型
+        /// </summary>
+        [StringLength(10)]
+        [Comment("物料类型")]
+        public string? F_WLLX { get; set; }
+        /// <summary>
+        /// 启用日排产
+        /// </summary>
+         [StringLength(1)]
+        [Comment("启用日排产")]
+        public string? FIsEnableSchedule { get; set; }
+        /// <summary>
+        ///直接关联物料号
+        /// </summary>
+        [StringLength(80)]
+        [Comment("直接关联物料号")]
+        public string? F_ZJGLWLH_Name { get; set; }
+
+        /// <summary>
+        ///默认产线
+        /// </summary>
+        [StringLength(80)]
+        [Comment("默认产线")]
+        public string? FDefaultLineId_Name { get; set; }
+        /// <summary>
+        /// 电压/电网类型
+        /// </summary>
+         [StringLength(80)]
+        [Comment("电压/电网类型")]
+        public string? F_DYDWLX { get; set; }
+        /// <summary>
+        ///根物料号
+        /// </summary>
+        [StringLength(80)]
+        [Comment("根物料号")]
+        public string? F_GWLH_Name { get; set; }
+
+
+        /// <summary>
+        ///功率段
+        /// </summary>
+        [StringLength(80)]
+        [Comment("功率段")]
+        public string? F_GLD_Name { get; set; }
+        /// <summary>
+        ///电子料属性
+        /// </summary>
+         [StringLength(80)]
+        [Comment("电子料属性")]
+        public string? F_DZLSX { get; set; }
+        /// <summary>
+        ///旧物料编码U8
+        /// </summary>
+        [StringLength(80)]
+        [Comment("旧物料编码U8")]
+        public string? F_JWLBMU8 { get; set; }
+
+        /// <summary>
+        ///品牌
+        /// </summary>
+        [StringLength(255)]
+        [Comment("品牌")]
+        public string? F_PP_Name { get; set; }
+        /// <summary>
+        ///整机测试工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("整机测试工时")]
+        public decimal? F_ZJCSGS { get; set; }
+        /// <summary>
+        ///作业工时
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("作业工时")]
+        public decimal? F_ZYGS { get; set; }
+
+        /// <summary>
+        ///工时最后更改日期
+        /// </summary>
+        [Comment("工时最后更改日期")]
+        public DateTime? F_GSZHGGRQ { get; set; }
+        /// <summary>
+        ///体积重量最后更改日期
+        [Comment("体积重量最后更改日期")]
+        public DateTime? F_TJZLZHGGRQ { get; set; }
+        /// <summary>
+        ///生命周期最后更改日期
+        /// </summary>
+        [Comment("生命周期最后更改日期")]
+        public DateTime? F_SMZQZHGGRQ { get; set; }
+
+
+        /// <summary>
+        ///体积重量最后更改人
+        /// </summary>
+        [StringLength(80)]
+        [Comment("体积重量最后更改人")]
+        public string? F_TJZLZHGGR_Name { get; set; }
+        /// <summary>
+        ///生命周期最后更改人
+        /// </summary>
+         [StringLength(80)]
+        [Comment("生命周期最后更改人")]
+        public string? F_SMZQZHGGR_Name { get; set; }
+        /// <summary>
+        ///工时最后更改人
+        /// </summary>
+        [StringLength(80)]
+        [Comment("工时最后更改人")]
+        public string? F_GSZHGGR_Name { get; set; }
+
+
+        /// <summary>
+        ///整机质保(月)
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("整机质保(月)")]
+        public decimal? F_ZJZB_Name { get; set; }
+        /// <summary>
+        ///是否记录批次号
+        /// </summary>
+         [StringLength(1)]
+        [Comment("是否记录批次号")]
+        public string? F_SFJLPCH { get; set; }
+        /// <summary>
+        ///业务类型
+        /// </summary>
+        [StringLength(80)]
+        [Comment("业务类型")]
+        public string? F_YWLX { get; set; }
+
+        /// <summary>
+        ///产品披露类别
+        /// </summary>
+        [StringLength(80)]
+        [Comment("产品披露类别")]
+        public string? F_CPPLLB { get; set; }
+        /// <summary>
+        ///已终审过
+        /// </summary>
+         [StringLength(10)]
+        [Comment("已终审过")]
+        public string? F_YZSG { get; set; }
+        /// <summary>
+        ///物料申请人
+        /// </summary>
+        [StringLength(80)]
+        [Comment("物料申请人")]
+        public string? F_WLSQR_Name { get; set; }
+
+        /// <summary>
+        ///产品线
+        /// </summary>
+        [StringLength(80)]
+        [Comment("产品线")]
+        public string? F_CPX_Name { get; set; }
+        /// <summary>
+        ///产品分类
+        /// </summary>
+         [StringLength(80)]
+        [Comment("产品分类")]
+        public string? F_CPFL_Name { get; set; }
+        /// <summary>
+        ///料号生命周期
+        /// </summary>
+        [StringLength(80)]
+        [Comment("料号生命周期")]
+        public string? F_SMZQ { get; set; }
+
+        ///<summary>
+        ///允许收料
+        ///</summary>
+        [StringLength(1)]
+        [Comment("允许收料")]
+        public string? F_YXSL { get; set; }
+
+        /// <summary>
+        ///SAJ型号
+        /// </summary>
+        [StringLength(80)]
+        [Comment("SAJ型号")]
+        public string? F_XSXH_2052 { get; set; }
+        /// <summary>
+        ///回料包装量
+        /// </summary>
+        [Precision(20, 8)]
+        [Comment("回料包装量")]
+        public decimal? F_HLBZL { get; set; }
+        /// <summary>
+        ///包装规格
+        /// </summary>
+        [StringLength(255)]
+        [Comment("包装规格")]
+        public string? F_BZGG { get; set; }
+
+        /// <summary>
+        ///供应商
+        /// </summary>
+        [StringLength(255)]
+        [Comment("供应商")]
+        public string? F_GYS { get; set; }
+        /// <summary>
+        ///禁采原因
+        /// </summary>
+        [StringLength(255)]
+        [Comment("禁采原因")]
+        public string? F_JCYY { get; set; }
+
+        /// <summary>
+        ///允许请购
+        /// </summary>
+        [StringLength(1)]
+        [Comment("允许请购")]
+        public string? F_YXQG { get; set; }
+    }
+}

+ 0 - 246
MicroServices/Business/Bussiness.Model/Test/ic_item.cs

@@ -1,246 +0,0 @@
-using Business.Core.Attributes;
-using Business.Model;
-using Microsoft.EntityFrameworkCore;
-using System.ComponentModel;
-using System.ComponentModel.DataAnnotations;
-
-namespace Bussiness.Model.Test
-{
-    /// <summary>
-    /// 物料详情
-    /// </summary>
-    [CollectionName("dopbase", "ic_item")]
-    [Comment("物料详情")]
-    public class ic_item : BaseEntity
-    {
-        /// <summary>
-        /// 物料编码
-        /// </summary>
-        [StringLength(80)]
-        [Comment("物料编码")]
-        public string? number { get; set; }
-        /// <summary>
-        /// 物料名称
-        /// </summary>
-        [StringLength(80)]
-        [Comment("物料名称")]
-        public string? name { get; set; }
-        /// <summary>
-        /// 规格型号
-        /// </summary>
-        [StringLength(200)]
-        [Comment("规格型号")]
-        public string? model { get; set; }
-        /// <summary>
-        /// 全名
-        /// </summary>
-        [StringLength(255)]
-        [Comment("全名")]
-        public string? full_name { get; set; }
-        /// <summary>
-        /// fms旧料号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("fms旧料号")]
-        public string? fms_number { get; set; }
-        /// <summary>
-        /// erp旧料号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("erp旧料号")]
-        public string? erp_oldnumber { get; set; }
-        /// <summary>
-        /// 图号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("图号")]
-        public string? chart_number { get; set; }
-        /// <summary>
-        /// 版本号
-        /// </summary>
-        [StringLength(80)]
-        [Comment("版本号")]
-        public string? fversion { get; set; }
-        /// <summary>
-        /// 盒贴规格
-        /// </summary>
-        [StringLength(200)]
-        [Comment("盒贴规格")]
-        public string? box_model { get; set; }
-        /// <summary>
-        /// 物料属性
-        /// </summary>
-        [Comment("物料属性")]
-        public int erp_cls { get; set; }
-        /// <summary>
-        /// 物料属性名称
-        /// </summary>
-        [Comment("物料属性")]
-        public string? erp_cls_name { get; set; }
-        /// <summary>
-        /// 单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("单位")]
-        public string? unit { get; set; }
-        /// <summary>
-        /// 物料等级
-        /// </summary>
-        [Required]
-        [Comment("物料等级")]
-        public long item_level { get; set; }
-        /// <summary>
-        /// 环保等级
-        /// </summary>
-        [Required]
-        [Comment("环保等级")]
-        public long hb_level { get; set; }
-        /// <summary>
-        /// 单位标准工时_小时
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("单位标准工时_小时")]
-        public decimal? standard_manhour { get; set; }
-        /// <summary>
-        /// 单位材料定额_元
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("单位材料定额_元")]
-        public decimal? unititem_amount { get; set; }
-        /// <summary>
-        /// 来源
-        /// </summary>
-        [StringLength(200)]
-        [Comment("来源")]
-        public string? source { get; set; }
-        /// <summary>
-        /// 是否为设备
-        /// </summary>
-        [Comment("是否为设备")]
-        public int is_equipment { get; set; }
-        /// <summary>
-        /// 单位包装数量
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("单位包装数量")]
-        public decimal? unit_qty { get; set; }
-        /// <summary>
-        /// 严格进行二维码数量校验
-        /// </summary>
-        [StringLength(80)]
-        [Comment("严格进行二维码数量校验")]
-        public string? check_bybarcode { get; set; }
-        /// <summary>
-        /// 是否关键件
-        /// </summary>
-        [Comment("是否关键件")]
-        public int iskeyitem { get; set; }
-        /// <summary>
-        /// 毛重
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("毛重")]
-        public decimal? gross_weight { get; set; }
-        /// <summary>
-        /// 净重
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("净重")]
-        public decimal? net_weight { get; set; }
-        /// <summary>
-        /// 重量单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("重量单位")]
-        public string? maund { get; set; }
-        /// <summary>
-        /// 长度
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("长度")]
-        public decimal? length { get; set; }
-        /// <summary>
-        /// 长度单位
-        /// </summary>
-        [StringLength(80)]
-        [Comment("长度单位")]
-        public string? cubic_measure { get; set; }
-        /// <summary>
-        /// 宽度
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("宽度")]
-        public decimal? width { get; set; }
-        /// <summary>
-        /// 高度
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("高度")]
-        public decimal? height { get; set; }
-        /// <summary>
-        /// 体积
-        /// </summary>
-        [Precision(20, 8)]
-        [Comment("体积")]
-        public decimal? size { get; set; }
-        /// <summary>
-        /// 物料类别
-        /// </summary>
-        [Required]
-        [Comment("物料类别")]
-        public long matatt { get; set; }
-        /// <summary>
-        /// 允许采购
-        /// </summary>
-        [Comment("允许采购")]
-        public int allowpur { get; set; }
-        /// <summary>
-        /// 允许销售
-        /// </summary>
-        [Comment("允许销售")]
-        public int allowsale { get; set; }
-        /// <summary>
-        /// 允许生产
-        /// </summary>
-        [Comment("允许生产")]
-        public int allowmanu { get; set; }
-        /// <summary>
-        /// 允许委外
-        /// </summary>
-        [Comment("允许委外")]
-        public int allowout { get; set; }
-        /// <summary>
-        /// 批号管理
-        /// </summary>
-        [Comment("批号管理")]
-        public int allowbatch { get; set; }
-        /// <summary>
-        /// 序列号管理
-        /// </summary>
-        [Comment("序列号管理")]
-        public int allowserial { get; set; }
-        /// <summary>
-        /// 图片
-        /// </summary>
-        [StringLength(80)]
-        [Comment("图片")]
-        public string? photo { get; set; }
-        /// <summary>
-        /// 领料类型
-        /// </summary>
-        [Required]
-        [Comment("领料类型")]
-        public long picktype { get; set; }
-        /// <summary>
-        /// 出库类型
-        /// </summary>
-        [Required]
-        [Comment("出库类型")]
-        public long output_type_id { get; set; }
-        /// <summary>
-        /// 启用预警
-        /// </summary>
-        [Comment("启用预警")]
-        public int enable_warning { get; set; }
-    }
-}