// <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("20250507025649_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.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.WmsAreas.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<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<string>("CuttingFile")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("切割文件");
|
|
b.Property<string>("DataIdentifier")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("原料标识");
|
|
b.Property<Guid?>("DeleterId")
|
.HasColumnType("char(36)")
|
.HasColumnName("DeleterId");
|
|
b.Property<DateTime?>("DeletionTime")
|
.HasColumnType("datetime(6)")
|
.HasColumnName("DeletionTime");
|
|
b.Property<string>("DrillingPosition")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("打孔位");
|
|
b.Property<string>("EquipmentCode")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("设备代码");
|
|
b.Property<string>("ExtraProperties")
|
.HasColumnType("longtext")
|
.HasColumnName("ExtraProperties");
|
|
b.Property<string>("FactoryCode")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("工厂代码");
|
|
b.Property<string>("FinishedProductScale")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("成品图幅");
|
|
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<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>("Length")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("长度");
|
|
b.Property<string>("MarkingContent")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("打码内容");
|
|
b.Property<string>("Material")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("材质");
|
|
b.Property<string>("OrgMaterialCode")
|
.IsRequired()
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("原料编号");
|
|
b.Property<string>("OuterDiameter")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("外径");
|
|
b.Property<string>("PipeAllowableStress")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("管道允许应力");
|
|
b.Property<string>("PipeDiameter")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("管径");
|
|
b.Property<string>("PipeFittingCode")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("管件编码");
|
|
b.Property<string>("PipeSectionName")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("管段名称");
|
|
b.Property<string>("PipeSpecCode")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("管规格码");
|
|
b.Property<string>("PipeWallThickness")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("管道壁厚");
|
|
b.Property<DateTime?>("PlannedEndTime")
|
.HasColumnType("datetime(6)")
|
.HasComment("计划完成时间");
|
|
b.Property<DateTime?>("PlannedStartTime")
|
.HasColumnType("datetime(6)")
|
.HasComment("计划开始时间");
|
|
b.Property<string>("PreSerialNumber")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("顺序号");
|
|
b.Property<string>("ProcessName")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("工序名称");
|
|
b.Property<string>("ProcessRouteNumber")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("工艺路线编号");
|
|
b.Property<string>("ProductCode")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.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");
|
|
b.Property<string>("Remark")
|
.HasMaxLength(256)
|
.HasColumnType("varchar(256)")
|
.HasComment("备注");
|
|
b.Property<int>("Sort")
|
.HasColumnType("int")
|
.HasComment("排序");
|
|
b.Property<string>("TaskCode")
|
.IsRequired()
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("任务编码");
|
|
b.Property<string>("TimeInfo")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("时间信息");
|
|
b.Property<string>("VRData")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("VR数据");
|
|
b.Property<string>("WeldingHeatInput")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("焊接热输入");
|
|
b.Property<string>("WorkpieceName")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("工件名称");
|
|
b.Property<string>("WorkstationCode")
|
.HasMaxLength(64)
|
.HasColumnType("varchar(64)")
|
.HasComment("工位代码");
|
|
b.HasKey("Id");
|
|
b.HasIndex("TaskCode");
|
|
b.ToTable("scms_workplans", (string)null);
|
|
b.HasComment("WorkPlan");
|
});
|
#pragma warning restore 612, 618
|
}
|
}
|
}
|