22
schangxiang@126.com
2025-05-11 8692b1646a52670e80354e4d2e6cd3f54dc33bb0
PipeLineLems/server/src/CMS.Plugin.PipeLineLems.MySQL/Migrations/CMSPluginDbContextModelSnapshot.cs
@@ -21,6 +21,279 @@
                .HasAnnotation("ProductVersion", "6.0.16")
                .HasAnnotation("Relational:MaxIdentifierLength", 64);
            modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.CallMaterialOrder.CallMaterialOrder", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("char(36)");
                    b.Property<byte>("CallMaterialStatus")
                        .HasColumnType("tinyint unsigned")
                        .HasComment("叫料状态");
                    b.Property<string>("ConcurrencyStamp")
                        .IsConcurrencyToken()
                        .HasMaxLength(40)
                        .HasColumnType("varchar(40)")
                        .HasColumnName("ConcurrencyStamp")
                        .HasComment("并发戳");
                    b.Property<DateTime>("CreationTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("CreationTime")
                        .HasComment("创建时间");
                    b.Property<Guid?>("CreatorId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("CreatorId")
                        .HasComment("创建人ID");
                    b.Property<string>("CreatorName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("创建人");
                    b.Property<string>("DataIdentifier")
                        .IsRequired()
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("原料标识");
                    b.Property<string>("DeleteRemark")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("删除备注");
                    b.Property<Guid?>("DeleterId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("DeleterId")
                        .HasComment("删除人ID");
                    b.Property<DateTime?>("DeletionTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("DeletionTime")
                        .HasComment("删除时间");
                    b.Property<string>("ExtraField1")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段1");
                    b.Property<string>("ExtraField2")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段2");
                    b.Property<string>("ExtraField3")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段3");
                    b.Property<string>("ExtraProperties")
                        .HasColumnType("longtext")
                        .HasColumnName("ExtraProperties")
                        .HasComment("扩展属性");
                    b.Property<bool>("IsDeleted")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("tinyint(1)")
                        .HasDefaultValue(false)
                        .HasColumnName("IsDeleted")
                        .HasComment("是否删除");
                    b.Property<bool?>("IsDisabled")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("tinyint(1)")
                        .HasDefaultValue(false)
                        .HasComment("是否禁用");
                    b.Property<DateTime?>("LastModificationTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("LastModificationTime")
                        .HasComment("修改时间");
                    b.Property<Guid?>("LastModifierId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("LastModifierId")
                        .HasComment("修改人ID");
                    b.Property<string>("LastModifierName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("修改人");
                    b.Property<string>("MaterialMode")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("原料型号");
                    b.Property<string>("OperationRemark")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("操作备注");
                    b.Property<int>("Quantity")
                        .HasColumnType("int")
                        .HasComment("叫料数量");
                    b.Property<string>("Remark")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("备注");
                    b.Property<int>("Sort")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("int")
                        .HasDefaultValue(0)
                        .HasComment("排序");
                    b.Property<string>("WmsRetResult")
                        .HasColumnType("longtext")
                        .HasComment("WMS返回结果");
                    b.Property<string>("WmsTaskNo")
                        .HasColumnType("longtext")
                        .HasComment("WMS任务号");
                    b.HasKey("Id");
                    b.HasIndex("DataIdentifier")
                        .IsUnique();
                    b.ToTable("scms_callmaterialorders", (string)null);
                    b.HasComment("叫料单表");
                });
            modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.CallMaterialOrderRecord.CallMaterialOrderRecord", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("char(36)");
                    b.Property<byte>("CallMaterialStatus")
                        .HasColumnType("tinyint unsigned")
                        .HasComment("叫料状态");
                    b.Property<string>("ConcurrencyStamp")
                        .IsConcurrencyToken()
                        .HasMaxLength(40)
                        .HasColumnType("varchar(40)")
                        .HasColumnName("ConcurrencyStamp")
                        .HasComment("并发戳");
                    b.Property<DateTime>("CreationTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("CreationTime")
                        .HasComment("创建时间");
                    b.Property<Guid?>("CreatorId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("CreatorId")
                        .HasComment("创建人ID");
                    b.Property<string>("CreatorName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("创建人");
                    b.Property<string>("DataIdentifier")
                        .IsRequired()
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("原料标识");
                    b.Property<Guid?>("DeleterId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("DeleterId")
                        .HasComment("删除人ID");
                    b.Property<DateTime?>("DeletionTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("DeletionTime")
                        .HasComment("删除时间");
                    b.Property<string>("ExtraField1")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段1");
                    b.Property<string>("ExtraField2")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段2");
                    b.Property<string>("ExtraField3")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段3");
                    b.Property<string>("ExtraProperties")
                        .HasColumnType("longtext")
                        .HasColumnName("ExtraProperties")
                        .HasComment("扩展属性");
                    b.Property<bool>("IsDeleted")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("tinyint(1)")
                        .HasDefaultValue(false)
                        .HasColumnName("IsDeleted")
                        .HasComment("是否删除");
                    b.Property<DateTime?>("LastModificationTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("LastModificationTime")
                        .HasComment("修改时间");
                    b.Property<Guid?>("LastModifierId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("LastModifierId")
                        .HasComment("修改人ID");
                    b.Property<string>("MaterialMode")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("原料型号");
                    b.Property<int>("Quantity")
                        .HasColumnType("int")
                        .HasComment("叫料数量");
                    b.Property<string>("Remark")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("备注");
                    b.Property<int>("Sort")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("int")
                        .HasDefaultValue(0)
                        .HasComment("排序");
                    b.Property<string>("WmsRetResult")
                        .HasColumnType("longtext")
                        .HasComment("WMS返回结果");
                    b.Property<string>("WmsTaskNo")
                        .HasColumnType("longtext")
                        .HasComment("WMS任务号");
                    b.HasKey("Id");
                    b.HasIndex("DataIdentifier")
                        .IsUnique();
                    b.ToTable("scms_callmaterialorderrecords", (string)null);
                    b.HasComment("叫料记录表");
                });
            modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.MyTestEntityNames.MyTestEntityName", b =>
                {
                    b.Property<Guid>("Id")
@@ -101,210 +374,190 @@
                    b.HasComment("MyTestEntityName");
                });
            modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.WmsAreas.WorkPlan", b =>
            modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.WorkPlan.WorkPlan", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("char(36)");
                    b.Property<string>("Bevel")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("坡口");
                    b.Property<string>("BranchMaterial")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("支管材质");
                    b.Property<string>("BranchOuterDiameter")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("支外径");
                    b.Property<string>("BranchPortAngle")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("支管端口角度");
                    b.Property<string>("BranchPortRadius")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("支管端口曲率半径");
                    b.Property<string>("BranchPortRequirement")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("支管端口要求");
                    b.Property<string>("BranchWallThickness")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("支管壁厚");
                    b.Property<byte>("CallMaterialStatus")
                        .HasColumnType("tinyint unsigned")
                        .HasComment("叫料状态");
                    b.Property<string>("ConcurrencyStamp")
                        .IsConcurrencyToken()
                        .HasMaxLength(40)
                        .HasColumnType("varchar(40)")
                        .HasColumnName("ConcurrencyStamp");
                        .HasColumnName("ConcurrencyStamp")
                        .HasComment("并发戳");
                    b.Property<DateTime>("CreationTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("CreationTime");
                        .HasColumnName("CreationTime")
                        .HasComment("创建时间");
                    b.Property<Guid?>("CreatorId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("CreatorId");
                        .HasColumnName("CreatorId")
                        .HasComment("创建人ID");
                    b.Property<string>("CuttingFile")
                    b.Property<string>("CreatorName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("切割文件");
                        .HasComment("创建人");
                    b.Property<decimal>("CuttingPosition")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("切割位置");
                    b.Property<string>("DataIdentifier")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("原料标识");
                    b.Property<string>("DeleteRemark")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("删除备注");
                    b.Property<Guid?>("DeleterId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("DeleterId");
                        .HasColumnName("DeleterId")
                        .HasComment("删除人ID");
                    b.Property<DateTime?>("DeletionTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("DeletionTime");
                    b.Property<string>("DrillingPosition")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("打孔位");
                        .HasColumnName("DeletionTime")
                        .HasComment("删除时间");
                    b.Property<string>("EquipmentCode")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("设备代码");
                    b.Property<string>("ExtraField1")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段1");
                    b.Property<string>("ExtraField2")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段2");
                    b.Property<string>("ExtraField3")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("扩展字段3");
                    b.Property<string>("ExtraProperties")
                        .HasColumnType("longtext")
                        .HasColumnName("ExtraProperties");
                        .HasColumnName("ExtraProperties")
                        .HasComment("扩展属性");
                    b.Property<string>("FactoryCode")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("工厂代码");
                    b.Property<string>("FinishedProductScale")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("成品图幅");
                    b.Property<decimal>("FlangeInnerDiameter")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("法兰直径(mm)");
                    b.Property<string>("FlangeInnerDiameter")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("法兰内径");
                    b.Property<string>("FlangeThickness")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("法兰厚度");
                    b.Property<bool>("HasMainSignature")
                        .HasColumnType("tinyint(1)")
                        .HasComment("是否有主签");
                    b.Property<string>("InterfaceRequirement")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("接口要求");
                    b.Property<string>("Intersecting")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("相贯");
                    b.Property<string>("IntersectingLineCategory")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("相贯线类别");
                    b.Property<string>("IntersectingLineType")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("相贯线类型");
                    b.Property<decimal>("FlangeThickness")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("法兰厚度(mm)");
                    b.Property<bool>("IsDeleted")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("tinyint(1)")
                        .HasDefaultValue(false)
                        .HasColumnName("IsDeleted");
                        .HasColumnName("IsDeleted")
                        .HasComment("是否删除");
                    b.Property<bool?>("IsDisabled")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("tinyint(1)")
                        .HasDefaultValue(false)
                        .HasComment("是否禁用");
                    b.Property<DateTime?>("LastModificationTime")
                        .HasColumnType("datetime(6)")
                        .HasColumnName("LastModificationTime");
                        .HasColumnName("LastModificationTime")
                        .HasComment("修改时间");
                    b.Property<Guid?>("LastModifierId")
                        .HasMaxLength(36)
                        .HasColumnType("char(36)")
                        .HasColumnName("LastModifierId");
                        .HasColumnName("LastModifierId")
                        .HasComment("修改人ID");
                    b.Property<string>("Length")
                    b.Property<string>("LastModifierName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("长度");
                        .HasComment("修改人");
                    b.Property<decimal>("Length")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("长度(mm)");
                    b.Property<string>("MarkingContent")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(1024)
                        .HasColumnType("varchar(1024)")
                        .HasComment("打码内容");
                    b.Property<decimal>("MarkingPosition")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("打码位置");
                    b.Property<string>("Material")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("材质");
                    b.Property<string>("OrgMaterialCode")
                        .IsRequired()
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("原料编号");
                    b.Property<string>("MaterialMode")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("原料型号");
                    b.Property<string>("OuterDiameter")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("外径");
                    b.Property<string>("OperationRemark")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("操作备注");
                    b.Property<decimal>("OuterDiameter")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("外径(mm)");
                    b.Property<string>("PipeAllowableStress")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("管道允许应力");
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("法兰冲码内容");
                    b.Property<string>("PipeDiameter")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("管径");
                    b.Property<decimal>("PipeDiameter")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("套管长度(mm)");
                    b.Property<string>("PipeFittingCode")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("管件编码");
                    b.Property<string>("PipeSectionName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("管段名称");
                    b.Property<string>("PipeSpecCode")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("管规格码");
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("管段编码");
                    b.Property<string>("PipeWallThickness")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("管道壁厚");
                    b.Property<decimal>("PipeWallThickness")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("套管直径(mm)");
                    b.Property<DateTime?>("PlannedEndTime")
                        .HasColumnType("datetime(6)")
@@ -315,37 +568,28 @@
                        .HasComment("计划开始时间");
                    b.Property<string>("PreSerialNumber")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("顺序号");
                    b.Property<string>("ProcessName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("工序名称");
                    b.Property<string>("ProcessRouteNumber")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("工艺路线编号");
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("工艺流向编号");
                    b.Property<string>("ProductCode")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("产品代码");
                    b.Property<int>("Quantity")
                        .HasColumnType("int")
                        .HasComment("包括数量");
                    b.Property<string>("RedundantField1")
                        .HasColumnType("longtext");
                    b.Property<string>("RedundantField2")
                        .HasColumnType("longtext");
                    b.Property<string>("RedundantField3")
                        .HasColumnType("longtext");
                        .HasComment("管段数量");
                    b.Property<string>("Remark")
                        .HasMaxLength(256)
@@ -353,47 +597,64 @@
                        .HasComment("备注");
                    b.Property<int>("Sort")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("int")
                        .HasDefaultValue(0)
                        .HasComment("排序");
                    b.Property<string>("TaskCode")
                        .IsRequired()
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("任务编码");
                    b.Property<string>("TimeInfo")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("时间信息");
                    b.Property<string>("TeamInfo")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("班组信息");
                    b.Property<string>("VRData")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("VR数据");
                    b.Property<decimal>("Thickness")
                        .HasColumnType("decimal(18,2)")
                        .HasComment("壁厚(mm)");
                    b.Property<string>("Timestamp")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("时间戳");
                    b.Property<string>("WeldingHeatInput")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasComment("焊接热输入");
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("法兰公称压力");
                    b.Property<byte>("WorkPlanStatus")
                        .HasColumnType("tinyint unsigned")
                        .HasComment("计划状态");
                    b.Property<string>("WorkpieceName")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("工件名称");
                    b.Property<string>("WorkstationCode")
                        .HasMaxLength(64)
                        .HasColumnType("varchar(64)")
                        .HasMaxLength(256)
                        .HasColumnType("varchar(256)")
                        .HasComment("工位代码");
                    b.HasKey("Id");
                    b.HasIndex("TaskCode");
                    b.HasIndex("DataIdentifier");
                    b.HasIndex("PlannedEndTime");
                    b.HasIndex("PlannedStartTime");
                    b.HasIndex("TaskCode")
                        .IsUnique();
                    b.ToTable("scms_workplans", (string)null);
                    b.HasComment("WorkPlan");
                    b.HasComment("作业计划表");
                });
#pragma warning restore 612, 618
        }