From 0057ff26d5e835629d9d85d63f4bbe723e5c9e44 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周日, 18 5月 2025 19:47:32 +0800 Subject: [PATCH] 项目 --- PipeLineLems/server/src/CMS.Plugin.PipeLineLems.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WorkPlan.cs | 11 ++++++++--- 1 files changed, 8 insertions(+), 3 deletions(-) diff --git a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WorkPlan.cs b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WorkPlan.cs index e9d55d9..acac07c 100644 --- a/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WorkPlan.cs +++ b/PipeLineLems/server/src/CMS.Plugin.PipeLineLems.EntityFrameworkCore/Extensions/CMSPluginEfCoreExtensions.WorkPlan.cs @@ -40,12 +40,14 @@ builder.Entity<WorkPlan>(b => { //Configure table & schema name - b.ToTable((CMSPluginDbProperties.DbTablePrefix + "_WorkPlans").ToLower(), CMSPluginDbProperties.DbSchema).HasComment("WorkPlan"); + b.ToTable((CMSPluginDbProperties.DbTablePrefix + "_WorkPlans").ToLower(), CMSPluginDbProperties.DbSchema).HasComment("浣滀笟璁″垝琛�"); b.ConfigureByConvention(); // Configure properties b.Property(x => x.TaskCode).HasMaxLength(256).IsRequired().HasComment("浠诲姟缂栫爜"); + b.Property(x => x.WorkPlanStatus).IsRequired().HasComment("璁″垝鐘舵��"); + b.Property(x => x.CallMaterialStatus).IsRequired().HasComment("鍙枡鐘舵��"); b.Property(x => x.DataIdentifier).HasMaxLength(256).HasComment("鍘熸枡鏍囪瘑"); b.Property(x => x.MaterialMode).HasMaxLength(256).HasComment("鍘熸枡鍨嬪彿"); b.Property(x => x.Length).HasColumnType("decimal(18,2)").HasComment("闀垮害(mm)"); @@ -62,7 +64,10 @@ b.Property(x => x.ProductCode).HasMaxLength(256).HasComment("浜у搧浠g爜"); b.Property(x => x.WorkstationCode).HasMaxLength(256).HasComment("宸ヤ綅浠g爜"); b.Property(x => x.EquipmentCode).HasMaxLength(256).HasComment("璁惧浠g爜"); - b.Property(x => x.WorkpieceName).HasMaxLength(256).HasComment("宸ヤ欢鍚嶇О"); + b.Property(x => x.ProdLineCode).HasMaxLength(256).HasComment("浜х嚎缂栫爜"); + b.Property(x => x.ShipNumber).HasMaxLength(256).HasComment("鑸瑰彿"); + b.Property(x => x.ProjectNumber).HasMaxLength(256).HasComment("椤圭洰鍙�"); + b.Property(x => x.ProcessName).HasMaxLength(256).HasComment("宸ュ簭鍚嶇О"); b.Property(x => x.PipeFittingCode).HasMaxLength(256).HasComment("绠′欢缂栫爜"); b.Property(x => x.PreSerialNumber).HasMaxLength(256).HasComment("椤哄簭鍙�"); @@ -71,7 +76,7 @@ b.Property(x => x.OuterDiameter).HasColumnType("decimal(18,2)").HasComment("澶栧緞(mm)"); b.Property(x => x.Thickness).HasColumnType("decimal(18,2)").HasComment("澹佸帤(mm)"); b.Property(x => x.Material).HasMaxLength(256).HasComment("鏉愯川"); - b.Property(x => x.HasMainSignature).HasComment("鏄惁涓绘敮绠�"); + b.Property(x => x.MarkingPosition).HasColumnType("decimal(18,2)").HasComment("鎵撶爜浣嶇疆"); b.Property(x => x.CuttingPosition).HasColumnType("decimal(18,2)").HasComment("鍒囧壊浣嶇疆"); -- Gitblit v1.9.3