// using System; using CMS.Plugin.PipeLineLems.MySQL; using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Storage.ValueConversion; using Volo.Abp.EntityFrameworkCore; #nullable disable namespace CMS.Plugin.PipeLineLems.MySQL.Migrations { [DbContext(typeof(CMSPluginDbContext))] partial class CMSPluginDbContextModelSnapshot : ModelSnapshot { protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.MySql) .HasAnnotation("ProductVersion", "6.0.16") .HasAnnotation("Relational:MaxIdentifierLength", 64); modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.CallMaterialOrder.CallMaterialOrder", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("char(36)"); b.Property("CallMaterialStatus") .HasColumnType("int") .HasComment("叫料状态"); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("varchar(40)") .HasColumnName("ConcurrencyStamp") .HasComment("并发戳"); b.Property("CreationTime") .HasColumnType("datetime(6)") .HasColumnName("CreationTime") .HasComment("创建时间"); b.Property("CreatorId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("CreatorId") .HasComment("创建人ID"); b.Property("CreatorName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("创建人"); b.Property("DataIdentifier") .IsRequired() .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料标识"); b.Property("DeleteRemark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("删除备注"); b.Property("DeleterId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("DeleterId") .HasComment("删除人ID"); b.Property("DeletionTime") .HasColumnType("datetime(6)") .HasColumnName("DeletionTime") .HasComment("删除时间"); b.Property("ExtraField1") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段1"); b.Property("ExtraField2") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段2"); b.Property("ExtraField3") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段3"); b.Property("ExtraProperties") .HasColumnType("longtext") .HasColumnName("ExtraProperties") .HasComment("扩展属性"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasColumnName("IsDeleted") .HasComment("是否删除"); b.Property("IsDisabled") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasComment("是否禁用"); b.Property("LastModificationTime") .HasColumnType("datetime(6)") .HasColumnName("LastModificationTime") .HasComment("修改时间"); b.Property("LastModifierId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("LastModifierId") .HasComment("修改人ID"); b.Property("LastModifierName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("修改人"); b.Property("MaterialBatch") .HasColumnType("longtext"); b.Property("MaterialMode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料型号"); b.Property("OperationRemark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("操作备注"); b.Property("Quantity") .HasColumnType("int") .HasComment("叫料数量"); b.Property("Remark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("备注"); b.Property("Sort") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0) .HasComment("排序"); b.Property("WmsRetResult") .HasColumnType("longtext") .HasComment("WMS返回结果"); b.Property("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("Id") .ValueGeneratedOnAdd() .HasColumnType("char(36)"); b.Property("CallMaterialStatus") .HasColumnType("int") .HasComment("叫料状态"); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("varchar(40)") .HasColumnName("ConcurrencyStamp") .HasComment("并发戳"); b.Property("CreationTime") .HasColumnType("datetime(6)") .HasColumnName("CreationTime") .HasComment("创建时间"); b.Property("CreatorId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("CreatorId") .HasComment("创建人ID"); b.Property("CreatorName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("创建人"); b.Property("DataIdentifier") .IsRequired() .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料标识"); b.Property("DeleterId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("DeleterId") .HasComment("删除人ID"); b.Property("DeletionTime") .HasColumnType("datetime(6)") .HasColumnName("DeletionTime") .HasComment("删除时间"); b.Property("ExtraField1") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段1"); b.Property("ExtraField2") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段2"); b.Property("ExtraField3") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段3"); b.Property("ExtraProperties") .HasColumnType("longtext") .HasColumnName("ExtraProperties") .HasComment("扩展属性"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasColumnName("IsDeleted") .HasComment("是否删除"); b.Property("LastModificationTime") .HasColumnType("datetime(6)") .HasColumnName("LastModificationTime") .HasComment("修改时间"); b.Property("LastModifierId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("LastModifierId") .HasComment("修改人ID"); b.Property("MaterialBatch") .HasColumnType("longtext"); b.Property("MaterialMode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料型号"); b.Property("Quantity") .HasColumnType("int") .HasComment("叫料数量"); b.Property("Remark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("备注"); b.Property("Sort") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0) .HasComment("排序"); b.Property("WmsRetResult") .HasColumnType("longtext") .HasComment("WMS返回结果"); b.Property("WmsTaskNo") .HasColumnType("longtext") .HasComment("WMS任务号"); b.HasKey("Id"); b.HasIndex("DataIdentifier"); b.ToTable("scms_callmaterialorderrecords", (string)null); b.HasComment("叫料记录表"); }); modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.MyTestEntityNames.MyTestEntityName", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("char(36)"); b.Property("Code") .IsRequired() .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("编码"); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("varchar(40)") .HasColumnName("ConcurrencyStamp"); b.Property("CreationTime") .HasColumnType("datetime(6)") .HasColumnName("CreationTime"); b.Property("CreatorId") .HasColumnType("char(36)") .HasColumnName("CreatorId"); b.Property("DeleterId") .HasColumnType("char(36)") .HasColumnName("DeleterId"); b.Property("DeletionTime") .HasColumnType("datetime(6)") .HasColumnName("DeletionTime"); b.Property("ExtraProperties") .HasColumnType("longtext") .HasColumnName("ExtraProperties"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasColumnName("IsDeleted"); b.Property("IsDisabled") .HasColumnType("tinyint(1)") .HasComment("是否禁用"); b.Property("LastModificationTime") .HasColumnType("datetime(6)") .HasColumnName("LastModificationTime"); b.Property("LastModifierId") .HasColumnType("char(36)") .HasColumnName("LastModifierId"); b.Property("Name") .IsRequired() .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("名称"); b.Property("Remark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("备注"); b.Property("Sort") .HasColumnType("int") .HasComment("排序"); b.HasKey("Id"); b.HasIndex("Name"); b.ToTable("scms_mytestentitynames", (string)null); b.HasComment("MyTestEntityName"); }); modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.WorkPlan.WorkPlan", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("char(36)"); b.Property("CallMaterialStatus") .HasColumnType("int") .HasComment("叫料状态"); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("varchar(40)") .HasColumnName("ConcurrencyStamp") .HasComment("并发戳"); b.Property("CreationTime") .HasColumnType("datetime(6)") .HasColumnName("CreationTime") .HasComment("创建时间"); b.Property("CreatorId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("CreatorId") .HasComment("创建人ID"); b.Property("CreatorName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("创建人"); b.Property("CuttingPosition") .HasColumnType("decimal(18,2)") .HasComment("切割位置"); b.Property("DataIdentifier") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料标识"); b.Property("DeleteRemark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("删除备注"); b.Property("DeleterId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("DeleterId") .HasComment("删除人ID"); b.Property("DeletionTime") .HasColumnType("datetime(6)") .HasColumnName("DeletionTime") .HasComment("删除时间"); b.Property("EquipmentCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("设备代码"); b.Property("ExtraField1") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段1"); b.Property("ExtraField2") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段2"); b.Property("ExtraField3") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段3"); b.Property("ExtraProperties") .HasColumnType("longtext") .HasColumnName("ExtraProperties") .HasComment("扩展属性"); b.Property("FactoryCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工厂代码"); b.Property("FlangeInnerDiameter") .HasColumnType("decimal(18,2)") .HasComment("法兰直径(mm)"); b.Property("FlangeThickness") .HasColumnType("decimal(18,2)") .HasComment("法兰厚度(mm)"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasColumnName("IsDeleted") .HasComment("是否删除"); b.Property("IsDisabled") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasComment("是否禁用"); b.Property("LastModificationTime") .HasColumnType("datetime(6)") .HasColumnName("LastModificationTime") .HasComment("修改时间"); b.Property("LastModifierId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("LastModifierId") .HasComment("修改人ID"); b.Property("LastModifierName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("修改人"); b.Property("Length") .HasColumnType("decimal(18,2)") .HasComment("长度(mm)"); b.Property("MarkingContent") .HasMaxLength(1024) .HasColumnType("varchar(1024)") .HasComment("打码内容"); b.Property("MarkingPosition") .HasColumnType("decimal(18,2)") .HasComment("打码位置"); b.Property("Material") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("材质"); b.Property("MaterialMode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料型号"); b.Property("OperationRemark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("操作备注"); b.Property("OuterDiameter") .HasColumnType("decimal(18,2)") .HasComment("外径(mm)"); b.Property("PipeAllowableStress") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("法兰冲码内容"); b.Property("PipeDiameter") .HasColumnType("decimal(18,2)") .HasComment("套管长度(mm)"); b.Property("PipeFittingCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("管件编码"); b.Property("PipeSectionName") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("管段名称"); b.Property("PipeSpecCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("管段编码"); b.Property("PipeWallThickness") .HasColumnType("decimal(18,2)") .HasComment("套管直径(mm)"); b.Property("PlannedEndTime") .HasColumnType("datetime(6)") .HasComment("计划完成时间"); b.Property("PlannedStartTime") .HasColumnType("datetime(6)") .HasComment("计划开始时间"); b.Property("PreSerialNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("顺序号"); b.Property("ProcessName") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工序名称"); b.Property("ProcessRouteNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工艺流向编号"); b.Property("ProdLineCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("产线编码"); b.Property("ProductCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("产品代码"); b.Property("ProjectNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("项目号"); b.Property("Quantity") .HasColumnType("int") .HasComment("管段数量"); b.Property("Remark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("备注"); b.Property("ShipNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("船号"); b.Property("Sort") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0) .HasComment("排序"); b.Property("TaskCode") .IsRequired() .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("任务编码"); b.Property("TeamInfo") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("班组信息"); b.Property("Thickness") .HasColumnType("decimal(18,2)") .HasComment("壁厚(mm)"); b.Property("Timestamp") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("时间戳"); b.Property("WeldingHeatInput") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("法兰公称压力"); b.Property("WorkPlanStatus") .HasColumnType("int") .HasComment("计划状态"); b.Property("WorkstationCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工位代码"); b.HasKey("Id"); b.HasIndex("DataIdentifier"); b.HasIndex("PlannedEndTime"); b.HasIndex("PlannedStartTime"); b.HasIndex("TaskCode") .IsUnique(); b.ToTable("scms_workplans", (string)null); b.HasComment("作业计划表"); }); modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.WorkTask.WorkTask", b => { b.Property("Id") .ValueGeneratedOnAdd() .HasColumnType("char(36)"); b.Property("CallMaterialStatus") .HasColumnType("int") .HasComment("叫料状态"); b.Property("ConcurrencyStamp") .IsConcurrencyToken() .HasMaxLength(40) .HasColumnType("varchar(40)") .HasColumnName("ConcurrencyStamp") .HasComment("并发戳"); b.Property("CreationTime") .HasColumnType("datetime(6)") .HasColumnName("CreationTime") .HasComment("创建时间"); b.Property("CreatorId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("CreatorId") .HasComment("创建人ID"); b.Property("CreatorName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("创建人"); b.Property("CuttingPosition") .HasColumnType("decimal(18,2)") .HasComment("切割位置"); b.Property("DataIdentifier") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料标识"); b.Property("DeleteRemark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("删除备注"); b.Property("DeleterId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("DeleterId") .HasComment("删除人ID"); b.Property("DeletionTime") .HasColumnType("datetime(6)") .HasColumnName("DeletionTime") .HasComment("删除时间"); b.Property("EquipmentCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("设备代码"); b.Property("ExtraField1") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段1"); b.Property("ExtraField2") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段2"); b.Property("ExtraField3") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("扩展字段3"); b.Property("ExtraProperties") .HasColumnType("longtext") .HasColumnName("ExtraProperties") .HasComment("扩展属性"); b.Property("FactoryCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工厂代码"); b.Property("FlangeInnerDiameter") .HasColumnType("decimal(18,2)") .HasComment("法兰直径(mm)"); b.Property("FlangeThickness") .HasColumnType("decimal(18,2)") .HasComment("法兰厚度(mm)"); b.Property("IsDeleted") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasColumnName("IsDeleted") .HasComment("是否删除"); b.Property("IsDisabled") .ValueGeneratedOnAdd() .HasColumnType("tinyint(1)") .HasDefaultValue(false) .HasComment("是否禁用"); b.Property("LastModificationTime") .HasColumnType("datetime(6)") .HasColumnName("LastModificationTime") .HasComment("修改时间"); b.Property("LastModifierId") .HasMaxLength(36) .HasColumnType("char(36)") .HasColumnName("LastModifierId") .HasComment("修改人ID"); b.Property("LastModifierName") .HasMaxLength(64) .HasColumnType("varchar(64)") .HasComment("修改人"); b.Property("Length") .HasColumnType("decimal(18,2)") .HasComment("长度(mm)"); b.Property("MarkingContent") .HasMaxLength(1024) .HasColumnType("varchar(1024)") .HasComment("打码内容"); b.Property("MarkingPosition") .HasColumnType("decimal(18,2)") .HasComment("打码位置"); b.Property("Material") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("材质"); b.Property("MaterialMode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("原料型号"); b.Property("OperationRemark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("操作备注"); b.Property("OuterDiameter") .HasColumnType("decimal(18,2)") .HasComment("外径(mm)"); b.Property("PipeAllowableStress") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("法兰冲码内容"); b.Property("PipeDiameter") .HasColumnType("decimal(18,2)") .HasComment("套管长度(mm)"); b.Property("PipeFittingCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("管件编码"); b.Property("PipeSectionName") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("管段名称"); b.Property("PipeSpecCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("管段编码"); b.Property("PipeWallThickness") .HasColumnType("decimal(18,2)") .HasComment("套管直径(mm)"); b.Property("PlannedEndTime") .HasColumnType("datetime(6)") .HasComment("计划完成时间"); b.Property("PlannedStartTime") .HasColumnType("datetime(6)") .HasComment("计划开始时间"); b.Property("PreSerialNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("顺序号"); b.Property("ProcessName") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工序名称"); b.Property("ProcessRouteNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工艺流向编号"); b.Property("ProdLineCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("产线编码"); b.Property("ProductCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("产品代码"); b.Property("ProjectNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("项目号"); b.Property("Quantity") .HasColumnType("int") .HasComment("管段数量"); b.Property("Remark") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("备注"); b.Property("ShipNumber") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("船号"); b.Property("Son_TaskCode") .IsRequired() .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("子任务编码"); b.Property("Sort") .ValueGeneratedOnAdd() .HasColumnType("int") .HasDefaultValue(0) .HasComment("排序"); b.Property("TaskCode") .IsRequired() .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("任务编码"); b.Property("TeamInfo") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("班组信息"); b.Property("Thickness") .HasColumnType("decimal(18,2)") .HasComment("壁厚(mm)"); b.Property("Timestamp") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("时间戳"); b.Property("WeldingHeatInput") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("法兰公称压力"); b.Property("WorkPlanStatus") .HasColumnType("int") .HasComment("计划状态"); b.Property("WorkstationCode") .HasMaxLength(256) .HasColumnType("varchar(256)") .HasComment("工位代码"); b.HasKey("Id"); b.HasIndex("DataIdentifier"); b.HasIndex("PlannedEndTime"); b.HasIndex("PlannedStartTime"); b.HasIndex("Son_TaskCode") .IsUnique(); b.ToTable("scms_worktasks", (string)null); b.HasComment("作业任务表"); }); #pragma warning restore 612, 618 } } }