ÎļþÃû´Ó iWara.SCADA.Code/iWare.Wms.Database.Migrations/Migrations/20240112013535_v1.0.1.Designer.cs ÐÞ¸Ä |
| | |
| | | namespace iWare.Wms.Database.Migrations.Migrations |
| | | { |
| | | [DbContext(typeof(DefaultDbContext))] |
| | | [Migration("20240112013535_v1.0.1")] |
| | | partial class v101 |
| | | [Migration("20240830014836_v1.0.2")] |
| | | partial class v102 |
| | | { |
| | | protected override void BuildTargetModel(ModelBuilder modelBuilder) |
| | | { |
| | |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("å建è
åç§°"); |
| | | |
| | | b.Property<DateTime?>("CuttingFluidAddTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("ååæ¶²æ·»å æ¶é´"); |
| | | |
| | | b.Property<int>("CuttingFluidChangeAlertThreshold") |
| | | .HasColumnType("int") |
| | | .HasComment("ååæ¶²é¢è¦éå¼"); |
| | |
| | | b.Property<DateTime?>("CuttingFluidChangeTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("ååæ¶²æ´æ¢æ¶é´"); |
| | | |
| | | b.Property<DateTime?>("DetergentAddtime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("æ¸
æ´æ¶²æ·»å æ¶é´"); |
| | | |
| | | b.Property<int>("DetergentChangeAlertThreshold") |
| | | .HasColumnType("int") |
| | |
| | | b.ToTable("EquipmentBaseInfo"); |
| | | |
| | | b.HasComment("设å¤åºç¡ä¿¡æ¯è¡¨"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("iWare.Wms.Core.Equipmentbaseinfolog", b => |
| | | { |
| | | b.Property<long>("Id") |
| | | .HasColumnType("bigint") |
| | | .HasComment("Id主é®"); |
| | | |
| | | b.Property<DateTimeOffset?>("CreatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("å建æ¶é´"); |
| | | |
| | | b.Property<long?>("CreatedUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("å建è
Id"); |
| | | |
| | | b.Property<string>("CreatedUserName") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("å建è
åç§°"); |
| | | |
| | | b.Property<long>("EquipmentBaseInfoId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("设å¤ID"); |
| | | |
| | | b.Property<string>("EquipmentID") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("设å¤ç¼å·"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("软å 餿 è®°"); |
| | | |
| | | b.Property<string>("OperatorContent") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("æä½å
容"); |
| | | |
| | | b.Property<int>("OperatorType") |
| | | .HasColumnType("int") |
| | | .HasComment("æä½ç±»åID"); |
| | | |
| | | b.Property<string>("OperatorTypeName") |
| | | .IsRequired() |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("æä½ç±»å"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("æ´æ°æ¶é´"); |
| | | |
| | | b.Property<long?>("UpdatedUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("ä¿®æ¹è
Id"); |
| | | |
| | | b.Property<string>("UpdatedUserName") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("ä¿®æ¹è
åç§°"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("equipmentbaseinfolog"); |
| | | |
| | | b.HasComment("设å¤ç»´æ¤è®°å½"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("iWare.Wms.Core.EquipmentCurrentMonitor", b => |
| | |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("ééç»å«;OP80"); |
| | | |
| | | b.Property<string>("QualityOP80_DTKYZD") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_S_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_S_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_TKZJ") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_X_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_X_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_Houdu") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_XTSMYD") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_XTXMYD") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_S_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_S_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_TKZJ") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_X_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_X_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_ZXJ") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime>("QualityReceiveTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("è´¨éæ¥æ¶æ¶é´"); |
| | |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("ééç»å«;OP80"); |
| | | |
| | | b.Property<string>("QualityOP80_DTKYZD") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_S_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_S_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_TKZJ") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_X_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_D_X_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_Houdu") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_XTSMYD") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_XTXMYD") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_S_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_S_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_TKZJ") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_X_X") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_X_X_Y") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<string>("QualityOP80_ZXJ") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTime>("QualityReceiveTime") |
| | | .HasColumnType("datetime2") |
| | |
| | | .HasColumnType("bit") |
| | | .HasComment("软å 餿 è®°"); |
| | | |
| | | b.Property<bool?>("IsOut") |
| | | .HasColumnType("bit") |
| | | .HasComment("æ¯å¦åºåº"); |
| | | |
| | | b.Property<string>("LogAddRemark") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | |
| | | .HasComment("æ°é"); |
| | | |
| | | b.Property<string>("OP80NewCode") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("工件OP80ç "); |
| | | |
| | | b.Property<string>("OutPerson") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("åºåºäºº"); |
| | | |
| | | b.Property<string>("OutRemark") |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("åºåºå¤æ³¨"); |
| | | |
| | | b.Property<DateTime?>("OutTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("åºåºæ¶é´"); |
| | | |
| | | b.Property<int?>("ProcessingDurationForCurrent") |
| | | .HasColumnType("int") |
| | |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("è´¨éä¸åæ ¼åå "); |
| | | |
| | | b.Property<int?>("QualityNoOk") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("QualityNoOkReason") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int?>("QualityState") |
| | | .HasColumnType("int") |
| | |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<int?>("UnLineStage") |
| | | .HasColumnType("int") |
| | | .HasComment("ä¸çº¿é¶æ®µ"); |
| | | |
| | | b.Property<string>("UnLineStageName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("ä¸çº¿é¶æ®µåç§°"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | |
| | | b.Property<int?>("WorkPieceState") |
| | | .HasColumnType("int") |
| | | .HasComment("å·¥ä»¶ç¶æ"); |
| | | |
| | | b.Property<DateTime?>("WorkPieceUnLineTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("ä¸çº¿æ¶é´"); |
| | | |
| | | b.Property<long?>("WorkPieceUnLineUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("ä¸çº¿äººId"); |
| | | |
| | | b.Property<string>("WorkPieceUnLineUserName") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("ä¸çº¿äººåç§°"); |
| | | |
| | | b.Property<DateTime?>("WorkPieceinitOnlineTime") |
| | | .HasColumnType("datetime2") |
| | |
| | | .HasColumnType("bigint") |
| | | .HasComment("Id主é®"); |
| | | |
| | | b.Property<string>("CarNo") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("å°è½¦ç "); |
| | | |
| | | b.Property<DateTimeOffset?>("CreatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("å建æ¶é´"); |
| | |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("OP80æç "); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(500) |
| | | .HasColumnType("nvarchar(500)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<int?>("UnLineStage") |
| | | .HasColumnType("int") |
| | | .HasComment("é¶æ®µ"); |
| | | |
| | | b.Property<string>("UnLineStageName") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("é¶æ®µåç§°"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("æ´æ°æ¶é´"); |
| | |
| | | .HasComment("ä¿®æ¹è
åç§°"); |
| | | |
| | | b.Property<string>("WorkPieceID") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasColumnType("nvarchar(max)") |
| | | .HasComment("工件å·"); |
| | | |
| | | b.Property<DateTime?>("WorkPieceOutboundTime") |
| | | .IsRequired() |
| | | .HasColumnType("datetime2") |
| | | .HasComment("åºåºæ¶é´"); |
| | | |
| | | b.Property<long?>("WorkPieceOutboundUserId") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("bigint") |
| | | .HasComment("åºåºäººId"); |
| | | |
| | | b.Property<string>("WorkPieceOutboundUserName") |
| | | .IsRequired() |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("åºåºäººåç§°"); |
| | | |
| | | b.Property<DateTime?>("WorkPieceUnLineTime") |
| | | .HasColumnType("datetime2") |
| | | .HasComment("ä¸çº¿æ¶é´"); |
| | | |
| | | b.Property<long?>("WorkPieceUnLineUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("ä¸çº¿äººId"); |
| | | |
| | | b.Property<string>("WorkPieceUnLineUserName") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("ä¸çº¿äººåç§°"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("WorkPieceOutbound"); |
| | | |
| | | b.HasComment("工件åºåºè¡¨"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("iWare.Wms.Core.WorkPieceOutboundRecord", b => |
| | | { |
| | | b.Property<long>("Id") |
| | | .HasColumnType("bigint") |
| | | .HasComment("Id主é®"); |
| | | |
| | | b.Property<string>("CarNo") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("å°è½¦ç "); |
| | | |
| | | b.Property<DateTimeOffset?>("CreatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("å建æ¶é´"); |
| | | |
| | | b.Property<long?>("CreatedUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("å建è
Id"); |
| | | |
| | | b.Property<string>("CreatedUserName") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("å建è
åç§°"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("软å 餿 è®°"); |
| | | |
| | | b.Property<string>("OP80NewCode") |
| | | .IsRequired() |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("æåç "); |
| | | |
| | | b.Property<string>("OperationType") |
| | | .HasMaxLength(500) |
| | | .HasColumnType("nvarchar(500)") |
| | | .HasComment("æä½ç±»å"); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(500) |
| | | .HasColumnType("nvarchar(500)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("æ´æ°æ¶é´"); |
| | | |
| | | b.Property<long?>("UpdatedUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("ä¿®æ¹è
Id"); |
| | | |
| | | b.Property<string>("UpdatedUserName") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("ä¿®æ¹è
åç§°"); |
| | | |
| | | b.Property<string>("WorkPieceID") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("工件å·"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("WorkPieceOutboundRecord"); |
| | | |
| | | b.HasComment("工件åºåºè®°å½è¡¨"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("iWare.Wms.Core.WorkPieceProcess", b => |
| | |
| | | .HasColumnType("bigint") |
| | | .HasComment("è´¨éä¿¡æ¯id"); |
| | | |
| | | b.Property<int?>("QualityNoOk") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<string>("QualityNoOkReason") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<int>("QualityState") |
| | | .HasColumnType("int") |
| | | .HasComment("è´¨éç¶æ"); |
| | |
| | | b.HasComment("工件å 工履å表"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("iWare.Wms.Core.WorkPieceUnLine", b => |
| | | { |
| | | b.Property<long>("Id") |
| | | .HasColumnType("bigint") |
| | | .HasComment("Id主é®"); |
| | | |
| | | b.Property<string>("CarNo") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("å°è½¦ç "); |
| | | |
| | | b.Property<DateTimeOffset?>("CreatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("å建æ¶é´"); |
| | | |
| | | b.Property<long?>("CreatedUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("å建è
Id"); |
| | | |
| | | b.Property<string>("CreatedUserName") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("å建è
åç§°"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit") |
| | | .HasComment("软å 餿 è®°"); |
| | | |
| | | b.Property<string>("OP80NewCode") |
| | | .IsRequired() |
| | | .HasMaxLength(255) |
| | | .HasColumnType("nvarchar(255)") |
| | | .HasComment("æåç "); |
| | | |
| | | b.Property<string>("Remark") |
| | | .HasMaxLength(500) |
| | | .HasColumnType("nvarchar(500)") |
| | | .HasComment("夿³¨"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset") |
| | | .HasComment("æ´æ°æ¶é´"); |
| | | |
| | | b.Property<long?>("UpdatedUserId") |
| | | .HasColumnType("bigint") |
| | | .HasComment("ä¿®æ¹è
Id"); |
| | | |
| | | b.Property<string>("UpdatedUserName") |
| | | .HasMaxLength(50) |
| | | .HasColumnType("nvarchar(50)") |
| | | .HasComment("ä¿®æ¹è
åç§°"); |
| | | |
| | | b.Property<string>("WorkPieceID") |
| | | .HasMaxLength(32) |
| | | .HasColumnType("nvarchar(32)") |
| | | .HasComment("工件å·"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.ToTable("WorkPieceUnLine"); |
| | | |
| | | b.HasComment("工件ä¸çº¿è¡¨"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("iWare.Wms.Core.YieldAnalysis", b => |
| | | { |
| | | b.Property<long>("Id") |