// <auto-generated />
|
using System;
|
using CMS.Plugin.PipeLineLems.MySQL;
|
using Microsoft.EntityFrameworkCore;
|
using Microsoft.EntityFrameworkCore.Infrastructure;
|
using Microsoft.EntityFrameworkCore.Migrations;
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
using Volo.Abp.EntityFrameworkCore;
|
|
#nullable disable
|
|
namespace CMS.Plugin.PipeLineLems.MySQL.Migrations
|
{
|
[DbContext(typeof(CMSPluginDbContext))]
|
[Migration("20250515064954_Update1")]
|
partial class Update1
|
{
|
protected override void BuildTargetModel(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<Guid>("Id")
|
.ValueGeneratedOnAdd()
|
.HasColumnType("char(36)");
|
|
b.Property<int>("CallMaterialStatus")
|
.HasColumnType("int")
|
.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<int>("CallMaterialStatus")
|
.HasColumnType("int")
|
.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");
|
|
b.ToTable("scms_callmaterialorderrecords", (string)null);
|
|
b.HasComment("叫料记录表");
|
});
|
|
modelBuilder.Entity("CMS.Plugin.PipeLineLems.Domain.MyTestEntityNames.MyTestEntityName", b =>
|
{
|
b.Property<Guid>("Id")
|
.ValueGeneratedOnAdd()
|
.HasColumnType("char(36)");
|
|
b.Property<string>("Code")
|
.IsRequired()
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("编码");
|
|
b.Property<string>("ConcurrencyStamp")
|
.IsConcurrencyToken()
|
.HasMaxLength(40)
|
.HasColumnType("varchar(40)")
|
.HasColumnName("ConcurrencyStamp");
|
|
b.Property<DateTime>("CreationTime")
|
.HasColumnType("datetime(6)")
|
.HasColumnName("CreationTime");
|
|
b.Property<Guid?>("CreatorId")
|
.HasColumnType("char(36)")
|
.HasColumnName("CreatorId");
|
|
b.Property<Guid?>("DeleterId")
|
.HasColumnType("char(36)")
|
.HasColumnName("DeleterId");
|
|
b.Property<DateTime?>("DeletionTime")
|
.HasColumnType("datetime(6)")
|
.HasColumnName("DeletionTime");
|
|
b.Property<string>("ExtraProperties")
|
.HasColumnType("longtext")
|
.HasColumnName("ExtraProperties");
|
|
b.Property<bool>("IsDeleted")
|
.ValueGeneratedOnAdd()
|
.HasColumnType("tinyint(1)")
|
.HasDefaultValue(false)
|
.HasColumnName("IsDeleted");
|
|
b.Property<bool?>("IsDisabled")
|
.HasColumnType("tinyint(1)")
|
.HasComment("是否禁用");
|
|
b.Property<DateTime?>("LastModificationTime")
|
.HasColumnType("datetime(6)")
|
.HasColumnName("LastModificationTime");
|
|
b.Property<Guid?>("LastModifierId")
|
.HasColumnType("char(36)")
|
.HasColumnName("LastModifierId");
|
|
b.Property<string>("Name")
|
.IsRequired()
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("名称");
|
|
b.Property<string>("Remark")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("备注");
|
|
b.Property<int>("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<Guid>("Id")
|
.ValueGeneratedOnAdd()
|
.HasColumnType("char(36)");
|
|
b.Property<int>("CallMaterialStatus")
|
.HasColumnType("int")
|
.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<decimal>("CuttingPosition")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("切割位置");
|
|
b.Property<string>("DataIdentifier")
|
.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>("EquipmentCode")
|
.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")
|
.HasComment("扩展属性");
|
|
b.Property<string>("FactoryCode")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("工厂代码");
|
|
b.Property<decimal>("FlangeInnerDiameter")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("法兰直径(mm)");
|
|
b.Property<decimal>("FlangeThickness")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("法兰厚度(mm)");
|
|
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<decimal>("Length")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("长度(mm)");
|
|
b.Property<string>("MarkingContent")
|
.HasMaxLength(1024)
|
.HasColumnType("varchar(1024)")
|
.HasComment("打码内容");
|
|
b.Property<decimal>("MarkingPosition")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("打码位置");
|
|
b.Property<string>("Material")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("材质");
|
|
b.Property<string>("MaterialMode")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.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(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("法兰冲码内容");
|
|
b.Property<decimal>("PipeDiameter")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("套管长度(mm)");
|
|
b.Property<string>("PipeFittingCode")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("管件编码");
|
|
b.Property<string>("PipeSectionName")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("管段名称");
|
|
b.Property<string>("PipeSpecCode")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("管段编码");
|
|
b.Property<decimal>("PipeWallThickness")
|
.HasColumnType("decimal(18,2)")
|
.HasComment("套管直径(mm)");
|
|
b.Property<DateTime?>("PlannedEndTime")
|
.HasColumnType("datetime(6)")
|
.HasComment("计划完成时间");
|
|
b.Property<DateTime?>("PlannedStartTime")
|
.HasColumnType("datetime(6)")
|
.HasComment("计划开始时间");
|
|
b.Property<string>("PreSerialNumber")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("顺序号");
|
|
b.Property<string>("ProcessName")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("工序名称");
|
|
b.Property<string>("ProcessRouteNumber")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("工艺流向编号");
|
|
b.Property<string>("ProdLineCode")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("产线编码");
|
|
b.Property<string>("ProductCode")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("产品代码");
|
|
b.Property<string>("ProjectNumber")
|
.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<string>("ShipNumber")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("船号");
|
|
b.Property<int>("Sort")
|
.ValueGeneratedOnAdd()
|
.HasColumnType("int")
|
.HasDefaultValue(0)
|
.HasComment("排序");
|
|
b.Property<string>("TaskCode")
|
.IsRequired()
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("任务编码");
|
|
b.Property<string>("TeamInfo")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("班组信息");
|
|
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(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("法兰公称压力");
|
|
b.Property<int>("WorkPlanStatus")
|
.HasColumnType("int")
|
.HasComment("计划状态");
|
|
b.Property<string>("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("作业计划表");
|
});
|
#pragma warning restore 612, 618
|
}
|
}
|
}
|