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