From 64ae2832a77733d4993b667d36549ccf315bbd52 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周二, 23 4月 2024 09:45:48 +0800 Subject: [PATCH] 1 --- /dev/null | 13178 ---------------------------------------------------------- iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs | 62 iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/DefaultDbContext.cs | 307 + 3 files changed, 369 insertions(+), 13,178 deletions(-) diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/20240413040247_v1.0.1.Designer.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/20240413040247_v1.0.1.Designer.cs deleted file mode 100644 index 8af98b6..0000000 --- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/20240413040247_v1.0.1.Designer.cs +++ /dev/null @@ -1,13180 +0,0 @@ -锘�// <auto-generated /> -using System; -using Admin.NET.EntityFramework.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace Admin.NET.Database.Migrations.Migrations -{ - [DbContext(typeof(DefaultDbContext))] - [Migration("20240413040247_v1.0.1")] - partial class v101 - { - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "6.0.9") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); - - modelBuilder.Entity("Admin.NET.Core.AgvTask", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AgvState") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐘舵��"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹瑰櫒缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("EndName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缁撴潫鍚嶇О"); - - b.Property<string>("EndPlace") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缁撴潫浣嶇疆"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("Agv鐖禝d"); - - b.Property<string>("SourcePlaceName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰搴撲綅鍚嶇О"); - - b.Property<string>("StartName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰鍚嶇О"); - - b.Property<string>("StartPlace") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰浣嶇疆"); - - b.Property<string>("TaskNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("涓讳换鍔″彿"); - - b.Property<string>("TaskType") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("浠诲姟绫诲瀷-鍏ュ簱;鍑哄簱"); - - b.Property<string>("TransportOrder") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("褰撳墠鎵ц鐨勪换鍔�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("les_agv_task"); - - b.HasComment("Agv浠诲姟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.AgvWaring", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AgvCarCode") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("agv灏忚溅缂栧彿"); - - b.Property<string>("Code") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("鍞竴缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FaultText") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏁呴殰鍐呭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("IsRead") - .HasColumnType("bit") - .HasComment("WCS鏄惁鍙互璇诲彇"); - - b.Property<DateTimeOffset?>("StartTime") - .HasMaxLength(50) - .HasColumnType("datetimeoffset") - .HasComment("鏁呴殰鏃堕棿"); - - b.Property<string>("TransportOrder") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("浠诲姟鍙�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.Property<int>("YesOrNot") - .HasMaxLength(50) - .HasColumnType("int") - .HasComment("鏄惁瑙e喅"); - - b.HasKey("Id"); - - b.ToTable("les_agv_waring"); - - b.HasComment("Agv鎶ヨ"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.VAccessDetails", b => - { - b.Property<string>("Batch") - .HasColumnType("nvarchar(max)"); - - b.Property<string>("ContainerCode") - .HasColumnType("nvarchar(max)"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<string>("Description") - .HasColumnType("nvarchar(max)"); - - b.Property<int>("High") - .HasColumnType("int"); - - b.Property<long?>("Id") - .HasColumnType("bigint"); - - b.Property<int>("Long") - .HasColumnType("int"); - - b.Property<string>("MaterialDensity") - .HasColumnType("nvarchar(max)"); - - b.Property<string>("MaterialNo") - .HasColumnType("nvarchar(max)"); - - b.Property<string>("SourcePlace") - .HasColumnType("nvarchar(max)"); - - b.Property<DateTimeOffset?>("TaskCreatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<int>("TaskLevel") - .HasColumnType("int"); - - b.Property<int>("TaskModel") - .HasColumnType("int"); - - b.Property<string>("TaskNo") - .HasColumnType("nvarchar(max)"); - - b.Property<int>("TaskStatus") - .HasColumnType("int"); - - b.Property<int>("TaskType") - .HasColumnType("int"); - - b.Property<DateTimeOffset?>("TaskUpdatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<string>("ToPlace") - .HasColumnType("nvarchar(max)"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<int>("Wide") - .HasColumnType("int"); - - b.ToView("View_AccessDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.WmsBase.WmsRolePdaMenu", b => - { - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.Property<long>("PdaMenuId") - .HasColumnType("bigint") - .HasComment("鑿滃崟Id"); - - b.HasKey("SysRoleId", "PdaMenuId"); - - b.HasIndex("PdaMenuId"); - - b.ToTable("wms_role_pdamenu"); - - b.HasComment("瑙掕壊鑿滃崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.WmsBase.WmsWarehouseManage", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("绫诲瀷"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_warehouse_manage"); - - b.HasComment("搴撳彛琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesDeviceWaring", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DeviceName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璁惧鍚嶇О"); - - b.Property<DateTimeOffset?>("EndTime") - .HasColumnType("datetimeoffset") - .HasComment("缁撴潫鏃堕棿"); - - b.Property<string>("FaultName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏁呴殰鍚嶇О"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("RunningTime") - .HasColumnType("int") - .HasComment("鎸佺画鏃堕棿"); - - b.Property<DateTimeOffset?>("StartTime") - .HasColumnType("datetimeoffset") - .HasComment("鍙戠敓鏃堕棿"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WcsId") - .HasColumnType("int") - .HasComment("WcsId"); - - b.HasKey("Id"); - - b.ToTable("les_devicewaring"); - - b.HasComment("璁惧鎶ヨ"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesEntrance", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<long>("AreaId") - .HasColumnType("bigint") - .HasComment("搴撳尯Id"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撳彛缂栫爜"); - - b.Property<int>("CommenStatus") - .HasColumnType("int") - .HasComment("搴撳彛鐘舵��"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("EntranceType") - .HasColumnType("int") - .HasComment("搴撳彛绫诲瀷"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撳彛鍚嶇О"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("AreaId"); - - b.ToTable("les_entrance"); - - b.HasComment("搴撳彛琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesPackWarehouse", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("High") - .HasColumnType("int") - .HasComment("楂�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("LesPackState") - .HasColumnType("int") - .HasComment("鎵撳寘鐘舵��"); - - b.Property<int>("Long") - .HasColumnType("int") - .HasComment("闀�"); - - b.Property<string>("MaterialNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鐮�"); - - b.Property<string>("OrderNo") - .HasColumnType("nvarchar(max)") - .HasComment("鍗曟嵁鍙�"); - - b.Property<string>("OutputEntrance") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍑哄簱鍙�"); - - b.Property<string>("PackCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏍囩鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("Wide") - .HasColumnType("int") - .HasComment("瀹�"); - - b.HasKey("Id"); - - b.ToTable("les_packwarehouse"); - - b.HasComment("鎵撳寘琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesSerialRuleDetail", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DecimalType") - .HasColumnType("int") - .HasComment("杩涗綅绫诲瀷"); - - b.Property<string>("Description") - .HasMaxLength(300) - .HasColumnType("nvarchar(300)") - .HasComment("璇存槑"); - - b.Property<int>("GetData") - .HasMaxLength(50) - .HasColumnType("int") - .HasComment("鎾峰彇"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("ItemNo") - .HasColumnType("int") - .HasComment("椤规"); - - b.Property<int>("PadLeft") - .HasColumnType("int") - .HasComment("鑷姩琛ラ浂"); - - b.Property<int>("SearchStart") - .HasColumnType("int") - .HasComment("鎾峰彇鐮佹暟(璧�)"); - - b.Property<int>("SerialCodeFlag") - .HasColumnType("int") - .HasComment("搴忓彿缂栫爜"); - - b.Property<int>("SerialLength") - .HasColumnType("int") - .HasComment("闀垮害"); - - b.Property<string>("SerialType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴忓彿绫诲埆"); - - b.Property<string>("SerialTypeNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴忓彿绫诲埆缂栧彿"); - - b.Property<string>("SourceType") - .HasColumnType("nvarchar(max)") - .HasComment("璧勬枡鏉ユ簮"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("UserDefine") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("浣跨敤鑰呰嚜瀹氫箟"); - - b.HasKey("Id"); - - b.ToTable("les_serial_rule_detail"); - - b.HasComment("缂栧彿瑙勫垯"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesStation", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("宸ヤ綅缂栫爜"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("宸ヤ綅鍚嶇О"); - - b.Property<decimal>("PlaceSpec") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅瑙勬牸"); - - b.Property<long>("ProductionlineId") - .HasColumnType("bigint") - .HasComment("浜х嚎Id"); - - b.Property<int>("StataionStatus") - .HasColumnType("int") - .HasComment("杩愯鐘舵��"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("宸ヤ綅鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("les_station"); - - b.HasComment("宸ヤ綅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysApp", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Active") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁榛樿婵�娲�"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_app"); - - b.HasComment("绯荤粺搴旂敤琛�"); - - b.HasData( - new - { - Id = 142307070898245L, - Active = "Y", - Code = "system", - IsDeleted = false, - Name = "寮�鍙戠鐞�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070902341L, - Active = "N", - Code = "manage", - IsDeleted = false, - Name = "绯荤粺绠$悊", - Sort = 300, - Status = 0 - }, - new - { - Id = 142307070922869L, - Active = "N", - Code = "busiapp", - IsDeleted = false, - Name = "涓氬姟搴旂敤", - Sort = 400, - Status = 0 - }, - new - { - Id = 355686432948293L, - Active = "N", - Code = "warejob", - IsDeleted = false, - Name = "浠撳簱浣滀笟", - Sort = 500, - Status = 0 - }, - new - { - Id = 355686518018117L, - Active = "N", - Code = "warecount", - IsDeleted = false, - Name = "缁熻鏌ヨ", - Sort = 600, - Status = 0 - }, - new - { - Id = 383337192390725L, - Active = "N", - Code = "xbjl", - IsDeleted = false, - Name = "绾胯竟鍙枡", - Sort = 550, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysCodeGen", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AuthorName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浣滆�呭鍚�"); - - b.Property<string>("BusName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("涓氬姟鍚�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DatabaseName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳悕"); - - b.Property<string>("FrontProName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍓嶇椤圭洰鍚�"); - - b.Property<string>("GenerateType") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢熸垚鏂瑰紡"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long?>("LowCodeId") - .HasColumnType("bigint"); - - b.Property<string>("MenuApplication") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鑿滃崟搴旂敤鍒嗙被"); - - b.Property<long>("MenuPid") - .HasColumnType("bigint") - .HasComment("鑿滃崟缂栫爜"); - - b.Property<string>("ModuleName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("妯″潡璺緞"); - - b.Property<string>("NameSpace") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍛藉悕绌洪棿"); - - b.Property<string>("TableName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撹〃鍚�"); - - b.Property<string>("TablePrefix") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁绉婚櫎琛ㄥ墠缂�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen"); - - b.HasComment("浠g爜鐢熸垚琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysCodeGenConfig", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<long>("CodeGenId") - .HasColumnType("bigint") - .HasComment("浠g爜鐢熸垚涓昏〃ID"); - - b.Property<string>("ColumnComment") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("瀛楁鎻忚堪"); - - b.Property<string>("ColumnKey") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("涓婚敭"); - - b.Property<string>("ColumnName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳瓧娈靛悕"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DataType") - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") - .HasComment("鏁版嵁搴撲腑绫诲瀷"); - - b.Property<string>("DictTypeCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀛楀吀Code"); - - b.Property<string>("DtoNetType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment(".NET鏁版嵁绫诲瀷(鎺ュ彛浼犲叆)"); - - b.Property<string>("EffectType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("浣滅敤绫诲瀷"); - - b.Property<string>("FkColumnName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("澶栭敭鏄剧ず瀛楁"); - - b.Property<string>("FkColumnNetType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("澶栭敭鏄剧ず瀛楁.NET绫诲瀷"); - - b.Property<string>("FkEntityName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("澶栭敭瀹炰綋鍚嶇О"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("NetType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment(".NET鏁版嵁绫诲瀷"); - - b.Property<string>("QueryType") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("鏌ヨ鏂瑰紡"); - - b.Property<string>("QueryWhether") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁鏄煡璇㈡潯浠�"); - - b.Property<string>("ShowTitleMinWidth") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("椤甸潰鍒楁樉绀烘渶灏忓搴�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("WhetherAddUpdate") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("澧炴敼"); - - b.Property<string>("WhetherCommon") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁閫氱敤瀛楁"); - - b.Property<string>("WhetherOrderBy") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鍒楄〃鏄惁鎺掑簭"); - - b.Property<string>("WhetherRequired") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁蹇呭~"); - - b.Property<string>("WhetherRetract") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鍒楄〃鏄惁缂╄繘"); - - b.Property<string>("WhetherTable") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鍒楄〃鏄剧ず"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen_config"); - - b.HasComment("浠g爜鐢熸垚瀛楁閰嶇疆琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysConfig", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("GroupCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("甯搁噺鎵�灞炲垎绫荤殑缂栫爜"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("SysFlag") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁鏄郴缁熷弬鏁�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Value") - .HasColumnType("nvarchar(max)") - .HasComment("灞炴�у��"); - - b.HasKey("Id"); - - b.ToTable("sys_config"); - - b.HasComment("鍙傛暟閰嶇疆琛�"); - - b.HasData( - new - { - Id = 142307070902342L, - Code = "DILON_JWT_SECRET", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "jwt瀵嗛挜", - Remark = "锛堥噸瑕侊級jwt瀵嗛挜锛岄粯璁や负绌猴紝鑷璁剧疆", - Status = 0, - SysFlag = "Y", - Value = "weiben" - }, - new - { - Id = 142307070902343L, - Code = "DILON_DEFAULT_PASSWORD", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "榛樿瀵嗙爜", - Remark = "榛樿瀵嗙爜", - Status = 0, - SysFlag = "Y", - Value = "123456" - }, - new - { - Id = 142307070902344L, - Code = "DILON_TOKEN_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "token杩囨湡鏃堕棿", - Remark = "token杩囨湡鏃堕棿锛堝崟浣嶏細绉掞級", - Status = 0, - SysFlag = "Y", - Value = "86400" - }, - new - { - Id = 142307070902345L, - Code = "DILON_SESSION_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "session浼氳瘽杩囨湡鏃堕棿", - Remark = "session浼氳瘽杩囨湡鏃堕棿锛堝崟浣嶏細绉掞級", - Status = 0, - SysFlag = "Y", - Value = "7200" - }, - new - { - Id = 142307070902361L, - Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", - GroupCode = "FILE_PATH", - IsDeleted = false, - Name = "Win鏈湴涓婁紶鏂囦欢璺緞", - Remark = "Win鏈湴涓婁紶鏂囦欢璺緞", - Status = 0, - SysFlag = "Y", - Value = "D:/tmp" - }, - new - { - Id = 142307070902363L, - Code = "DILON_UN_XSS_FILTER_URL", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "鏀惧紑XSS杩囨护鐨勬帴鍙�", - Remark = "澶氫釜url鍙互鐢ㄨ嫳鏂囬�楀彿闅斿紑", - Status = 0, - SysFlag = "Y", - Value = "/demo/xssfilter,/demo/unxss" - }, - new - { - Id = 142307070902364L, - Code = "DILON_ENABLE_SINGLE_LOGIN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "鍗曠敤鎴风櫥闄嗙殑寮�鍏�", - Remark = "true-鎵撳紑锛宖alse-鍏抽棴锛屽鏋滀竴涓汉鐧诲綍涓ゆ锛屽氨浼氬皢涓婁竴娆$櫥闄嗘尋涓嬪幓", - Status = 0, - SysFlag = "Y", - Value = "false" - }, - new - { - Id = 142307070902365L, - Code = "DILON_CAPTCHA_OPEN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "鐧诲綍楠岃瘉鐮佺殑寮�鍏�", - Remark = "true-鎵撳紑锛宖alse-鍏抽棴", - Status = 0, - SysFlag = "Y", - Value = "true" - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictData", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<long>("TypeId") - .HasColumnType("bigint") - .HasComment("瀛楀吀绫诲瀷Id"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Value") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍊�"); - - b.HasKey("Id"); - - b.HasIndex("TypeId"); - - b.ToTable("sys_dict_data"); - - b.HasComment("瀛楀吀鍊艰〃"); - - b.HasData( - new - { - Id = 142307070902375L, - Code = "1", - IsDeleted = false, - Remark = "鐢锋��", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "鐢�" - }, - new - { - Id = 142307070902376L, - Code = "2", - IsDeleted = false, - Remark = "濂虫��", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "濂�" - }, - new - { - Id = 142307070902377L, - Code = "3", - IsDeleted = false, - Remark = "鏈煡鎬у埆", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "鏈煡" - }, - new - { - Id = 142307070902384L, - Code = "0", - IsDeleted = false, - Remark = "姝e父", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "姝e父" - }, - new - { - Id = 142307070902385L, - Code = "1", - IsDeleted = false, - Remark = "鍋滅敤", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "鍋滅敤" - }, - new - { - Id = 142307070902386L, - Code = "2", - IsDeleted = false, - Remark = "鍒犻櫎", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "鍒犻櫎" - }, - new - { - Id = 142307070902387L, - Code = "N", - IsDeleted = false, - Remark = "鍚�", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "鍚�" - }, - new - { - Id = 142307070902388L, - Code = "Y", - IsDeleted = false, - Remark = "鏄�", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "鏄�" - }, - new - { - Id = 142307070902389L, - Code = "1", - IsDeleted = false, - Remark = "鐧诲綍", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "鐧诲綍" - }, - new - { - Id = 142307070902390L, - Code = "2", - IsDeleted = false, - Remark = "鐧诲嚭", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "鐧诲嚭" - }, - new - { - Id = 142307070902391L, - Code = "0", - IsDeleted = false, - Remark = "鐩綍", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "鐩綍" - }, - new - { - Id = 142307070902392L, - Code = "1", - IsDeleted = false, - Remark = "鑿滃崟", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "鑿滃崟" - }, - new - { - Id = 142307070902393L, - Code = "2", - IsDeleted = false, - Remark = "鎸夐挳", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "鎸夐挳" - }, - new - { - Id = 142307070902394L, - Code = "0", - IsDeleted = false, - Remark = "鏈彂閫�", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "鏈彂閫�" - }, - new - { - Id = 142307070902395L, - Code = "1", - IsDeleted = false, - Remark = "鍙戦�佹垚鍔�", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "鍙戦�佹垚鍔�" - }, - new - { - Id = 142307070902396L, - Code = "2", - IsDeleted = false, - Remark = "鍙戦�佸け璐�", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "鍙戦�佸け璐�" - }, - new - { - Id = 142307070902397L, - Code = "3", - IsDeleted = false, - Remark = "澶辨晥", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "澶辨晥" - }, - new - { - Id = 142307070902398L, - Code = "0", - IsDeleted = false, - Remark = "鏃�", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "鏃�" - }, - new - { - Id = 142307070902399L, - Code = "1", - IsDeleted = false, - Remark = "缁勪欢", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "缁勪欢" - }, - new - { - Id = 142307070906437L, - Code = "2", - IsDeleted = false, - Remark = "鍐呴摼", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "鍐呴摼" - }, - new - { - Id = 142307070906438L, - Code = "3", - IsDeleted = false, - Remark = "澶栭摼", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "澶栭摼" - }, - new - { - Id = 142307070906439L, - Code = "1", - IsDeleted = false, - Remark = "绯荤粺鏉冮噸", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "绯荤粺鏉冮噸" - }, - new - { - Id = 142307070906440L, - Code = "2", - IsDeleted = false, - Remark = "涓氬姟鏉冮噸", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "涓氬姟鏉冮噸" - }, - new - { - Id = 142307070906441L, - Code = "1", - IsDeleted = false, - Remark = "鍏ㄩ儴鏁版嵁", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鍏ㄩ儴鏁版嵁" - }, - new - { - Id = 142307070906442L, - Code = "2", - IsDeleted = false, - Remark = "鏈儴闂ㄥ強浠ヤ笅鏁版嵁", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鏈儴闂ㄥ強浠ヤ笅鏁版嵁" - }, - new - { - Id = 142307070906443L, - Code = "3", - IsDeleted = false, - Remark = "鏈儴闂ㄦ暟鎹�", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鏈儴闂ㄦ暟鎹�" - }, - new - { - Id = 142307070906444L, - Code = "4", - IsDeleted = false, - Remark = "浠呮湰浜烘暟鎹�", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "浠呮湰浜烘暟鎹�" - }, - new - { - Id = 142307070906445L, - Code = "5", - IsDeleted = false, - Remark = "鑷畾涔夋暟鎹�", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鑷畾涔夋暟鎹�" - }, - new - { - Id = 142307070906449L, - Code = "0", - IsDeleted = false, - Remark = "鍏跺畠", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鍏跺畠" - }, - new - { - Id = 142307070906450L, - Code = "1", - IsDeleted = false, - Remark = "澧炲姞", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "澧炲姞" - }, - new - { - Id = 142307070906451L, - Code = "2", - IsDeleted = false, - Remark = "鍒犻櫎", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鍒犻櫎" - }, - new - { - Id = 142307070906452L, - Code = "3", - IsDeleted = false, - Remark = "缂栬緫", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "缂栬緫" - }, - new - { - Id = 142307070906453L, - Code = "4", - IsDeleted = false, - Remark = "鏇存柊", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鏇存柊" - }, - new - { - Id = 142307070906454L, - Code = "5", - IsDeleted = false, - Remark = "鏌ヨ", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鏌ヨ" - }, - new - { - Id = 142307070906455L, - Code = "6", - IsDeleted = false, - Remark = "璇︽儏", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "璇︽儏" - }, - new - { - Id = 142307070906456L, - Code = "7", - IsDeleted = false, - Remark = "鏍�", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鏍�" - }, - new - { - Id = 142307070906457L, - Code = "8", - IsDeleted = false, - Remark = "瀵煎叆", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "瀵煎叆" - }, - new - { - Id = 142307070906458L, - Code = "9", - IsDeleted = false, - Remark = "瀵煎嚭", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "瀵煎嚭" - }, - new - { - Id = 142307070906459L, - Code = "10", - IsDeleted = false, - Remark = "鎺堟潈", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鎺堟潈" - }, - new - { - Id = 142307070906460L, - Code = "11", - IsDeleted = false, - Remark = "寮洪��", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "寮洪��" - }, - new - { - Id = 142307070906461L, - Code = "12", - IsDeleted = false, - Remark = "娓呯┖", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "娓呯┖" - }, - new - { - Id = 142307070906462L, - Code = "13", - IsDeleted = false, - Remark = "淇敼鐘舵��", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "淇敼鐘舵��" - }, - new - { - Id = 142307070906463L, - Code = "1", - IsDeleted = false, - Remark = "闃块噷浜�", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "闃块噷浜�" - }, - new - { - Id = 142307070906464L, - Code = "2", - IsDeleted = false, - Remark = "鑵捐浜�", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "鑵捐浜�" - }, - new - { - Id = 142307070906465L, - Code = "3", - IsDeleted = false, - Remark = "minio", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "minio" - }, - new - { - Id = 142307070906466L, - Code = "4", - IsDeleted = false, - Remark = "鏈湴", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "鏈湴" - }, - new - { - Id = 142307070906467L, - Code = "1", - IsDeleted = false, - Remark = "杩愯", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "杩愯" - }, - new - { - Id = 142307070906468L, - Code = "2", - IsDeleted = false, - Remark = "鍋滄", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "鍋滄" - }, - new - { - Id = 142307070906469L, - Code = "1", - IsDeleted = false, - Remark = "閫氱煡", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "閫氱煡" - }, - new - { - Id = 142307070906470L, - Code = "2", - IsDeleted = false, - Remark = "鍏憡", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "鍏憡" - }, - new - { - Id = 142307070906471L, - Code = "0", - IsDeleted = false, - Remark = "鑽夌", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鑽夌" - }, - new - { - Id = 142307070906472L, - Code = "1", - IsDeleted = false, - Remark = "鍙戝竷", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鍙戝竷" - }, - new - { - Id = 142307070906473L, - Code = "2", - IsDeleted = false, - Remark = "鎾ゅ洖", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鎾ゅ洖" - }, - new - { - Id = 142307070906474L, - Code = "3", - IsDeleted = false, - Remark = "鍒犻櫎", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鍒犻櫎" - }, - new - { - Id = 142307070906475L, - Code = "true", - IsDeleted = false, - Remark = "鏄�", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "鏄�" - }, - new - { - Id = 142307070906476L, - Code = "false", - IsDeleted = false, - Remark = "鍚�", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "鍚�" - }, - new - { - Id = 142307070906477L, - Code = "1", - IsDeleted = false, - Remark = "涓嬭浇鍘嬬缉鍖�", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "涓嬭浇鍘嬬缉鍖�" - }, - new - { - Id = 142307070906478L, - Code = "2", - IsDeleted = false, - Remark = "鐢熸垚鍒版湰椤圭洰", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "鐢熸垚鍒版湰椤圭洰" - }, - new - { - Id = 142307070906479L, - Code = "1", - IsDeleted = false, - Remark = "GET", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "GET" - }, - new - { - Id = 142307070906480L, - Code = "2", - IsDeleted = false, - Remark = "POST", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "POST" - }, - new - { - Id = 142307070906481L, - Code = "3", - IsDeleted = false, - Remark = "PUT", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "PUT" - }, - new - { - Id = 142307070906482L, - Code = "4", - IsDeleted = false, - Remark = "DELETE", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "DELETE" - }, - new - { - Id = 142307070922829L, - Code = "fk", - IsDeleted = false, - Remark = "澶栭敭", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "澶栭敭" - }, - new - { - Id = 142307070922830L, - Code = "input", - IsDeleted = false, - Remark = "杈撳叆妗�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "杈撳叆妗�" - }, - new - { - Id = 142307070922831L, - Code = "datepicker", - IsDeleted = false, - Remark = "鏃ユ湡閫夋嫨", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏃ユ湡閫夋嫨" - }, - new - { - Id = 386523071475758L, - Code = "datetimepicker", - IsDeleted = false, - Remark = "鏃ユ湡鏃堕棿閫夋嫨", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏃ユ湡鏃堕棿閫夋嫨" - }, - new - { - Id = 142307070922832L, - Code = "select", - IsDeleted = false, - Remark = "涓嬫媺妗�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "涓嬫媺妗�" - }, - new - { - Id = 142307070922833L, - Code = "radio", - IsDeleted = false, - Remark = "鍗曢�夋", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鍗曢�夋" - }, - new - { - Id = 142307070922834L, - Code = "switch", - IsDeleted = false, - Remark = "寮�鍏�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "寮�鍏�" - }, - new - { - Id = 142307070922835L, - Code = "checkbox", - IsDeleted = false, - Remark = "澶氶�夋", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "澶氶�夋" - }, - new - { - Id = 142307070922836L, - Code = "inputnumber", - IsDeleted = false, - Remark = "鏁板瓧杈撳叆妗�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏁板瓧杈撳叆妗�" - }, - new - { - Id = 142307070922837L, - Code = "textarea", - IsDeleted = false, - Remark = "鏂囨湰鍩�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏂囨湰鍩�" - }, - new - { - Id = 142307070922838L, - Code = "==", - IsDeleted = false, - Remark = "绛変簬", - Sort = 1, - Status = 0, - TypeId = 142307070922828L, - Value = "绛変簬" - }, - new - { - Id = 142307070922839L, - Code = "like", - IsDeleted = false, - Remark = "妯$硦", - Sort = 2, - Status = 0, - TypeId = 142307070922828L, - Value = "妯$硦" - }, - new - { - Id = 142307070922840L, - Code = ">", - IsDeleted = false, - Remark = "澶т簬", - Sort = 3, - Status = 0, - TypeId = 142307070922828L, - Value = "澶т簬" - }, - new - { - Id = 142307070922841L, - Code = "<", - IsDeleted = false, - Remark = "灏忎簬", - Sort = 4, - Status = 0, - TypeId = 142307070922828L, - Value = "灏忎簬" - }, - new - { - Id = 142307070922842L, - Code = "!=", - IsDeleted = false, - Remark = "涓嶇瓑浜�", - Sort = 5, - Status = 0, - TypeId = 142307070922828L, - Value = "涓嶇瓑浜�" - }, - new - { - Id = 142307070922843L, - Code = ">=", - IsDeleted = false, - Remark = "澶т簬绛変簬", - Sort = 6, - Status = 0, - TypeId = 142307070922828L, - Value = "澶т簬绛変簬" - }, - new - { - Id = 142307070922844L, - Code = "<=", - IsDeleted = false, - Remark = "灏忎簬绛変簬", - Sort = 7, - Status = 0, - TypeId = 142307070922828L, - Value = "灏忎簬绛変簬" - }, - new - { - Id = 142307070922845L, - Code = "isNotNull", - IsDeleted = false, - Remark = "涓嶄负绌�", - Sort = 8, - Status = 0, - TypeId = 142307070922828L, - Value = "涓嶄负绌�" - }, - new - { - Id = 386523071475759L, - Code = "between", - IsDeleted = false, - Remark = "浠嬩簬", - Sort = 9, - Status = 0, - TypeId = 142307070922828L, - Value = "浠嬩簬" - }, - new - { - Id = 142307070922851L, - Code = "int", - IsDeleted = false, - Remark = "int", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "int" - }, - new - { - Id = 142307070922846L, - Code = "long", - IsDeleted = false, - Remark = "long", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "long" - }, - new - { - Id = 142307070922847L, - Code = "string", - IsDeleted = false, - Remark = "string", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "string" - }, - new - { - Id = 142307070922850L, - Code = "bool", - IsDeleted = false, - Remark = "bool", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "bool" - }, - new - { - Id = 142307070922852L, - Code = "double", - IsDeleted = false, - Remark = "double", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "double" - }, - new - { - Id = 142307070922848L, - Code = "DateTime", - IsDeleted = false, - Remark = "DateTime", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTime" - }, - new - { - Id = 142307070922861L, - Code = "float", - IsDeleted = false, - Remark = "float", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "float" - }, - new - { - Id = 142307070922862L, - Code = "decimal", - IsDeleted = false, - Remark = "decimal", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "decimal" - }, - new - { - Id = 142307070922863L, - Code = "Guid", - IsDeleted = false, - Remark = "Guid", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "Guid" - }, - new - { - Id = 142307070922864L, - Code = "DateTimeOffset", - IsDeleted = false, - Remark = "DateTimeOffset", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTimeOffset" - }, - new - { - Id = 142307070926943L, - Code = "0", - IsDeleted = false, - Remark = "闆嗗洟瑙掕壊", - Sort = 100, - Status = 0, - TypeId = 142307070926941L, - Value = "闆嗗洟瑙掕壊" - }, - new - { - Id = 142307070926944L, - Code = "1", - IsDeleted = false, - Remark = "鍔犵洘鍟嗚鑹�", - Sort = 100, - Status = 0, - TypeId = 142307070926941L, - Value = "鍔犵洘鍟嗚鑹�" - }, - new - { - Id = 142307070926945L, - Code = "2", - IsDeleted = false, - Remark = "闂ㄥ簵瑙掕壊", - Sort = 100, - Status = 0, - TypeId = 142307070926941L, - Value = "闂ㄥ簵瑙掕壊" - }, - new - { - Id = 142307070926946L, - Code = "1", - IsDeleted = false, - Remark = "涓�绾�", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "涓�绾�" - }, - new - { - Id = 142307070926947L, - Code = "2", - IsDeleted = false, - Remark = "浜岀骇", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "浜岀骇" - }, - new - { - Id = 142307070926948L, - Code = "3", - IsDeleted = false, - Remark = "涓夌骇", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "涓夌骇" - }, - new - { - Id = 142307070926949L, - Code = "4", - IsDeleted = false, - Remark = "鍥涚骇", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "鍥涚骇" - }, - new - { - Id = 285605336563781L, - Code = "DefaultFormType", - IsDeleted = false, - Remark = "榛樿琛ㄥ崟鍒嗙被", - Sort = 100, - Status = 0, - TypeId = 285605149831237L, - Value = "榛樿琛ㄥ崟鍒嗙被" - }, - new - { - Id = 285641495289925L, - Code = "DefaultGroup", - IsDeleted = false, - Remark = "榛樿鍒嗙被", - Sort = 100, - Status = 0, - TypeId = 285641358889029L, - Value = "榛樿鍒嗙被" - }, - new - { - Id = 355697634480197L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "鍏朵粬" - }, - new - { - Id = 355697676427333L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "鏈ㄨ川" - }, - new - { - Id = 355697726726213L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "閲戝睘" - }, - new - { - Id = 355697755361349L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "濉戞枡" - }, - new - { - Id = 355697944657989L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "绂佺敤" - }, - new - { - Id = 355697974415429L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "绌洪棽" - }, - new - { - Id = 355698005966917L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "缁勭洏" - }, - new - { - Id = 355698032828485L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "搴撲綅" - }, - new - { - Id = 355697634480198L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "閫氱敤" - }, - new - { - Id = 355697676427399L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "鍗卞寲鍝�" - }, - new - { - Id = 355697726726200L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "娑蹭綋" - }, - new - { - Id = 355697755361301L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "璐甸噸鍝�" - }, - new - { - Id = 355697755361302L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "姘斾綋" - }, - new - { - Id = 355697755361303L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "浣庢俯" - }, - new - { - Id = 355698270015557L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "鍏朵粬" - }, - new - { - Id = 355698303508549L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "绔嬩綋搴�" - }, - new - { - Id = 355698328531013L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "鏅�氬簱" - }, - new - { - Id = 355698362712133L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "鍏叡搴�" - }, - new - { - Id = 355698476777541L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "绌洪棽" - }, - new - { - Id = 355698510786629L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "寰呭叆" - }, - new - { - Id = 355698549424197L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "瀛樿揣" - }, - new - { - Id = 355698576941125L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "寰呭嚭" - }, - new - { - Id = 355698694561861L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698661130309L, - Value = "浣�" - }, - new - { - Id = 355698716401733L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698661130309L, - Value = "涓�" - }, - new - { - Id = 355698740326469L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698661130309L, - Value = "楂�" - }, - new - { - Id = 355698898735173L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698855280709L, - Value = "鍏嶆" - }, - new - { - Id = 355698924970053L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698855280709L, - Value = "鎶芥" - }, - new - { - Id = 355699041800261L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "鍘熸潗鏂�" - }, - new - { - Id = 355699063255109L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "鍗婃垚鍝�" - }, - new - { - Id = 355699088330821L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "鎴愬搧" - }, - new - { - Id = 355699113156677L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "绌烘墭" - }, - new - { - Id = 355699219353669L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699189051461L, - Value = "闀垮害" - }, - new - { - Id = 355699243540549L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699189051461L, - Value = "閲嶉噺" - }, - new - { - Id = 355699345645637L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699314061381L, - Value = "cm" - }, - new - { - Id = 355699367575621L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699314061381L, - Value = "t" - }, - new - { - Id = 355699479236677L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699447029829L, - Value = "鎵嬪姩" - }, - new - { - Id = 355699505229893L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699447029829L, - Value = "鑷姩" - }, - new - { - Id = 355699615133765L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699576467525L, - Value = "鍏ュ簱" - }, - new - { - Id = 355699638476869L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699576467525L, - Value = "鍑哄簱" - }, - new - { - Id = 355699661889605L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699576467525L, - Value = "绉诲簱" - }, - new - { - Id = 355699760455749L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099717L, - Value = "鏈墽琛�" - }, - new - { - Id = 355699784736837L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099717L, - Value = "鎵ц涓�" - }, - new - { - Id = 355699813859397L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099717L, - Value = "瀹屾垚" - }, - new - { - Id = 355699760455798L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鏈墽琛�" - }, - new - { - Id = 355699784736899L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鎵ц涓�-AGV" - }, - new - { - Id = 355699813859300L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鎵ц涓�-杈撻�佺嚎" - }, - new - { - Id = 355699813859301L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鎵ц涓�-鍫嗗灈鏈�" - }, - new - { - Id = 355699813859302L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "绛夊緟" - }, - new - { - Id = 355699813859303L, - Code = "6", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "瀹屾垚" - }, - new - { - Id = 383290784104517L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383290718294085L, - Value = "娉℃搏鍒囧壊" - }, - new - { - Id = 383290816860229L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383290718294085L, - Value = "瑁呴厤杞﹂棿" - }, - new - { - Id = 383317608218693L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383317542490181L, - Value = "鏈紑濮�" - }, - new - { - Id = 383317718302789L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383317542490181L, - Value = "杩愰�佷腑" - }, - new - { - Id = 383317751234629L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383317542490181L, - Value = "瀹屾垚" - }, - new - { - Id = 384394737053765L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 384394636988485L, - Value = "AGV" - }, - new - { - Id = 384394851618885L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 384394636988485L, - Value = "鍫嗗灈鏈�" - }, - new - { - Id = 384394877870149L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 384394636988485L, - Value = "RGV" - }, - new - { - Id = 385412179521605L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 385412129075269L, - Value = "鍒囧壊" - }, - new - { - Id = 385412217618501L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 385412129075269L, - Value = "鍘嬪悎" - }, - new - { - Id = 385412280418373L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 385412129075269L, - Value = "CNC" - }, - new - { - Id = 386523049214021L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120389L, - Value = "鍏ュ簱鍙�" - }, - new - { - Id = 386523071475781L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120389L, - Value = "鍑哄簱鍙�" - }, - new - { - Id = 386523049214022L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120390L, - Value = "鍙戞场涓�绾�" - }, - new - { - Id = 386523071475723L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120390L, - Value = "鍙戞场浜岀嚎" - }, - new - { - Id = 386523071475724L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120390L, - Value = "鍙戞场涓夌嚎" - }, - new - { - Id = 386523049214025L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "鏈紑濮�" - }, - new - { - Id = 386523071475726L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "杩涜涓�" - }, - new - { - Id = 386523071475727L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "瀹屾垚" - }, - new - { - Id = 386523071475728L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "鎾ゅ洖" - }, - new - { - Id = 386523049214029L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "鍏ュ簱" - }, - new - { - Id = 386523071475730L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "鍑哄簱" - }, - new - { - Id = 386523071475731L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "璋冩嫧" - }, - new - { - Id = 386523071475732L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "瓒婂簱" - }, - new - { - Id = 386523049214033L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "鏈笅鍙�" - }, - new - { - Id = 386523071475734L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "宸蹭笅鍙�" - }, - new - { - Id = 386523071475735L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "鎵ц涓�" - }, - new - { - Id = 386523071475736L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "瀹屾垚" - }, - new - { - Id = 386523071475737L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "鎾ゅ洖" - }, - new - { - Id = 386523049214038L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "浜х嚎閫�搴�" - }, - new - { - Id = 386523071475739L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鐢熶骇鍏ュ簱" - }, - new - { - Id = 386523071475740L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "浣欐枡鍥炲簱" - }, - new - { - Id = 386523071475741L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "閲囪喘鍏ュ簱" - }, - new - { - Id = 386523071475742L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鍏朵粬" - }, - new - { - Id = 386523071475743L, - Code = "6", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鍙戣揣鍗�" - }, - new - { - Id = 386523071475744L, - Code = "7", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鐢熶骇棰嗘枡" - }, - new - { - Id = 386523071475745L, - Code = "8", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "閿�鍞嚭搴�" - }, - new - { - Id = 386523071475746L, - Code = "9", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "渚涘簲鍟嗛��搴�" - }, - new - { - Id = 386523071475747L, - Code = "10", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "娉℃搏鍑哄簱" - }, - new - { - Id = 386523071475748L, - Code = "11", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鍑哄簱鍏朵粬" - }, - new - { - Id = 386523071475749L, - Code = "12", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "浠撳簱璋冩嫧" - }, - new - { - Id = 386523071475750L, - Code = "13", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "搴撳尯璋冩嫧" - }, - new - { - Id = 386523071475751L, - Code = "14", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "搴撲綅璋冩嫧" - }, - new - { - Id = 386523071475752L, - Code = "15", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "椤圭洰璋冩嫧" - }, - new - { - Id = 386523071475753L, - Code = "16", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "璋冩嫧鍏朵粬" - }, - new - { - Id = 386523071475754L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "涓嶄娇鐢�" - }, - new - { - Id = 386523071475755L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "鏈鏍�" - }, - new - { - Id = 386523071475756L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "绛炬牳涓�" - }, - new - { - Id = 386523071475757L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "宸茬鏍�" - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictType", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("EnumClassName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("瀵瑰簲鏋氫妇"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_dict_type"); - - b.HasComment("瀛楀吀绫诲瀷琛�"); - - b.HasData( - new - { - Id = 142307070906483L, - Code = "common_status", - IsDeleted = false, - Name = "閫氱敤鐘舵��", - Remark = "閫氱敤鐘舵��", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906484L, - Code = "sex", - IsDeleted = false, - Name = "鎬у埆", - Remark = "鎬у埆瀛楀吀", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906485L, - Code = "consts_type", - IsDeleted = false, - Name = "甯搁噺鐨勫垎绫�", - Remark = "甯搁噺鐨勫垎绫伙紝鐢ㄤ簬鍖哄埆涓�缁勯厤缃�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906486L, - Code = "yes_or_no", - IsDeleted = false, - Name = "鏄惁", - Remark = "鏄惁", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906487L, - Code = "vis_type", - IsDeleted = false, - Name = "璁块棶绫诲瀷", - Remark = "璁块棶绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906488L, - Code = "menu_type", - IsDeleted = false, - Name = "鑿滃崟绫诲瀷", - Remark = "鑿滃崟绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906489L, - Code = "send_type", - IsDeleted = false, - Name = "鍙戦�佺被鍨�", - Remark = "鍙戦�佺被鍨�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906490L, - Code = "open_type", - IsDeleted = false, - Name = "鎵撳紑鏂瑰紡", - Remark = "鎵撳紑鏂瑰紡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906491L, - Code = "menu_weight", - IsDeleted = false, - Name = "鑿滃崟鏉冮噸", - Remark = "鑿滃崟鏉冮噸", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906492L, - Code = "data_scope_type", - IsDeleted = false, - Name = "鏁版嵁鑼冨洿绫诲瀷", - Remark = "鏁版嵁鑼冨洿绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906494L, - Code = "op_type", - IsDeleted = false, - Name = "鎿嶄綔绫诲瀷", - Remark = "鎿嶄綔绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906495L, - Code = "file_storage_location", - IsDeleted = false, - Name = "鏂囦欢瀛樺偍浣嶇疆", - Remark = "鏂囦欢瀛樺偍浣嶇疆", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910533L, - Code = "run_status", - IsDeleted = false, - Name = "杩愯鐘舵��", - Remark = "瀹氭椂浠诲姟杩愯鐘舵��", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910534L, - Code = "notice_type", - IsDeleted = false, - Name = "閫氱煡鍏憡绫诲瀷", - Remark = "閫氱煡鍏憡绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910535L, - Code = "notice_status", - IsDeleted = false, - Name = "閫氱煡鍏憡鐘舵��", - Remark = "閫氱煡鍏憡鐘舵��", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910536L, - Code = "yes_true_false", - IsDeleted = false, - Name = "鏄惁boolean", - Remark = "鏄惁boolean", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910537L, - Code = "code_gen_create_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚鏂瑰紡", - Remark = "浠g爜鐢熸垚鏂瑰紡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910538L, - Code = "request_type", - IsDeleted = false, - Name = "璇锋眰鏂瑰紡", - Remark = "璇锋眰鏂瑰紡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922827L, - Code = "code_gen_effect_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚浣滅敤绫诲瀷", - Remark = "浠g爜鐢熸垚浣滅敤绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922828L, - Code = "code_gen_query_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚鏌ヨ绫诲瀷", - Remark = "浠g爜鐢熸垚鏌ヨ绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922829L, - Code = "code_gen_net_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚.NET绫诲瀷", - Remark = "浠g爜鐢熸垚.NET绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070926941L, - Code = "role_type", - IsDeleted = false, - Name = "瑙掕壊绫诲瀷", - Remark = "瑙掕壊绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070926942L, - Code = "org_type", - IsDeleted = false, - Name = "鏈烘瀯绫诲瀷", - Remark = "鏈烘瀯绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 285605149831237L, - Code = "form_type", - IsDeleted = false, - Name = "琛ㄥ崟绫诲瀷", - Remark = "琛ㄥ崟绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 285641358889029L, - Code = "workflow_group", - IsDeleted = false, - Name = "娴佺▼鍒嗙被", - Remark = "娴佺▼鍒嗙被", - Sort = 100, - Status = 0 - }, - new - { - Id = 355694205325381L, - Code = "container_type", - IsDeleted = false, - Name = "鎵樼洏绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355697881423941L, - Code = "container_status", - IsDeleted = false, - Name = "鎵樼洏鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355697881423942L, - Code = "container_category", - IsDeleted = false, - Name = "鎵樼洏鍒嗙被", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698224758853L, - Code = "area_type", - IsDeleted = false, - Name = "搴撳尯绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698441912389L, - Code = "place_status", - IsDeleted = false, - Name = "搴撲綅鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698661130309L, - Code = "height_level", - IsDeleted = false, - Name = "搴撲綅楂樺害", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698855280709L, - Code = "material_inspection", - IsDeleted = false, - Name = "鐗╂枡妫�楠�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699003580485L, - Code = "material_type", - IsDeleted = false, - Name = "鐗╂枡绫诲埆", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699189051461L, - Code = "unit_type", - IsDeleted = false, - Name = "鍗曚綅绫诲埆", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699314061381L, - Code = "unitno_type", - IsDeleted = false, - Name = "鍗曚綅缂栧彿", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699447029829L, - Code = "task_model", - IsDeleted = false, - Name = "浠诲姟鏂瑰紡", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699576467525L, - Code = "task_type", - IsDeleted = false, - Name = "浠诲姟绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699731099717L, - Code = "task_status", - IsDeleted = false, - Name = "浠诲姟鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699731099718L, - Code = "taskdodevice_statusenum", - IsDeleted = false, - Name = "浠诲姟璁惧鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 383290718294085L, - Code = "les_workshop_type", - IsDeleted = false, - Name = "鎵�灞炶溅闂�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 383317542490181L, - Code = "les_takematerials_status", - IsDeleted = false, - Name = "鍙枡鍗曠姸鎬�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 384394636988485L, - Code = "dodevice_type", - IsDeleted = false, - Name = "璁惧绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 385412129075269L, - Code = "lesworkshop_section", - IsDeleted = false, - Name = "宸ユ", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120389L, - Code = "les_entrance_type", - IsDeleted = false, - Name = "搴撳彛绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120390L, - Code = "blankingproductionLine_enum", - IsDeleted = false, - Name = "涓嬫枡浜х嚎", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120391L, - Code = "orderdetails_statusenum", - IsDeleted = false, - Name = "鍗曟嵁鏄庣粏琛ㄧ姸鎬�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120392L, - Code = "orderlargecategory_Enum", - IsDeleted = false, - Name = "鍗曟嵁澶х被", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120393L, - Code = "order_statusenum", - IsDeleted = false, - Name = "鍗曟嵁涓昏〃鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120394L, - Code = "ordersubclass_enum", - IsDeleted = false, - Name = "鍗曟嵁灏忕被", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120395L, - Code = "issue_state", - IsDeleted = false, - Name = "绛炬牳鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmp", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<string>("JobNum") - .HasMaxLength(30) - .HasColumnType("nvarchar(30)") - .HasComment("宸ュ彿"); - - b.Property<long>("OrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.Property<string>("OrgName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏈烘瀯鍚嶇О"); - - b.HasKey("Id"); - - b.ToTable("sys_emp"); - - b.HasComment("鍛樺伐琛�"); - - b.HasData( - new - { - Id = 142307070910551L, - JobNum = "D1001", - OrgId = 142307070910539L, - OrgName = "绉熸埛3鍏徃" - }, - new - { - Id = 142307070910552L, - JobNum = "D1002", - OrgId = 142307070910539L, - OrgName = "绉熸埛3鍏徃" - }, - new - { - Id = 142307070910553L, - JobNum = "D1003", - OrgId = 142307070910539L, - OrgName = "绉熸埛3鍏徃" - }, - new - { - Id = 142307070910554L, - JobNum = "D1001", - OrgId = 142307070910547L, - OrgName = "绉熸埛1鍏徃" - }, - new - { - Id = 142307070910555L, - JobNum = "D1002", - OrgId = 142307070910547L, - OrgName = "绉熸埛1鍏徃" - }, - new - { - Id = 142307070910556L, - JobNum = "D1003", - OrgId = 142307070910547L, - OrgName = "绉熸埛1鍏徃" - }, - new - { - Id = 142307070910557L, - JobNum = "D1001", - OrgId = 142307070910548L, - OrgName = "绉熸埛2鍏徃" - }, - new - { - Id = 142307070910558L, - JobNum = "D1002", - OrgId = 142307070910548L, - OrgName = "绉熸埛2鍏徃" - }, - new - { - Id = 142307070910559L, - JobNum = "D1003", - OrgId = 142307070910548L, - OrgName = "绉熸埛2鍏徃" - }, - new - { - Id = 358533464608837L, - JobNum = "", - OrgId = 142307070910539L, - OrgName = "浼熸湰鑲′唤鏈夐檺鍏徃" - }, - new - { - Id = 358536045723717L, - JobNum = "", - OrgId = 142307070910542L, - OrgName = "鐮斿彂閮�" - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpExtOrgPos", b => - { - b.Property<long>("SysEmpId") - .HasColumnType("bigint") - .HasComment("鍛樺伐Id"); - - b.Property<long>("SysOrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.Property<long>("SysPosId") - .HasColumnType("bigint") - .HasComment("鑱屼綅Id"); - - b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); - - b.HasIndex("SysOrgId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_ext_org_pos"); - - b.HasComment("鍛樺伐闄勫睘鏈烘瀯鑱屼綅琛�"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910539L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910540L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910541L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910550L - }, - new - { - SysEmpId = 142307070910553L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910547L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpPos", b => - { - b.Property<long>("SysEmpId") - .HasColumnType("bigint") - .HasComment("鍛樺伐Id"); - - b.Property<long>("SysPosId") - .HasColumnType("bigint") - .HasComment("鑱屼綅Id"); - - b.HasKey("SysEmpId", "SysPosId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_pos"); - - b.HasComment("鍛樺伐鑱屼綅琛�"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910552L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910553L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 358533464608837L, - SysPosId = 142307070910550L - }, - new - { - SysEmpId = 358536045723717L, - SysPosId = 142307070910550L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysExcelTemplate", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AppName") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鎵�灞炲簲鐢�"); - - b.Property<string>("ClassName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("绫诲悕"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DataStartLine") - .HasColumnType("int") - .HasComment("鏁版嵁寮�濮嬭"); - - b.Property<int>("HeadStartLine") - .HasColumnType("int") - .HasComment("琛ㄥご寮�濮嬭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("妯℃澘鍚嶇О"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("TemplateFileName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("妯℃澘鏂囦欢鍚嶇О"); - - b.Property<string>("UnionUniqueFields") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)") - .HasComment("鍞竴瀛楁闆�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Version") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐗堟湰"); - - b.HasKey("Id"); - - b.HasAlternateKey("ClassName", "Version", "AppName"); - - b.ToTable("sys_excel_template"); - - b.HasComment("Excel妯℃澘"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysFile", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FileBucket") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂囦欢浠撳簱"); - - b.Property<int>("FileLocation") - .HasColumnType("int") - .HasComment("鏂囦欢瀛樺偍浣嶇疆"); - - b.Property<string>("FileObjectName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("瀛樺偍鍒癰ucket鐨勫悕绉�"); - - b.Property<string>("FileOriginName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂囦欢鍚嶇О"); - - b.Property<string>("FilePath") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("瀛樺偍璺緞"); - - b.Property<string>("FileSizeInfo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏂囦欢澶у皬淇℃伅"); - - b.Property<string>("FileSizeKb") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("鏂囦欢澶у皬kb"); - - b.Property<string>("FileSuffix") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏂囦欢鍚庣紑"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_file"); - - b.HasComment("鏂囦欢淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysForm", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FormJson") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("form琛ㄥ崟Json"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("Publish") - .HasColumnType("bit") - .HasComment("鏄惁鍙戝竷"); - - b.Property<string>("Title") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("鏍囬"); - - b.Property<long>("TypeId") - .HasColumnType("bigint") - .HasComment("琛ㄥ崟绫诲瀷ID"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("Version") - .HasColumnType("int") - .HasComment("鐗堟湰"); - - b.HasKey("Id"); - - b.ToTable("sys_forms"); - - b.HasComment("琛ㄥ崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogAudit", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("ColumnName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒楀悕"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鎿嶄綔鏃堕棿"); - - b.Property<string>("NewValue") - .HasColumnType("nvarchar(max)") - .HasComment("鏂板��"); - - b.Property<string>("OldValue") - .HasColumnType("nvarchar(max)") - .HasComment("鏃у��"); - - b.Property<int>("Operate") - .HasColumnType("int") - .HasComment("鎿嶄綔鏂瑰紡"); - - b.Property<string>("TableName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("琛ㄥ悕"); - - b.Property<long>("UserId") - .HasColumnType("bigint") - .HasComment("鎿嶄綔浜篒d"); - - b.Property<string>("UserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎿嶄綔浜哄悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_log_audit"); - - b.HasComment("瀹¤鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogEx", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("Account") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎿嶄綔浜�"); - - b.Property<string>("ClassName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("绫诲悕"); - - b.Property<string>("ExceptionMsg") - .HasColumnType("nvarchar(max)") - .HasComment("寮傚父淇℃伅"); - - b.Property<string>("ExceptionName") - .HasColumnType("nvarchar(max)") - .HasComment("寮傚父鍚嶇О"); - - b.Property<string>("ExceptionSource") - .HasColumnType("nvarchar(max)") - .HasComment("寮傚父婧�"); - - b.Property<DateTimeOffset?>("ExceptionTime") - .HasColumnType("datetimeoffset") - .HasComment("寮傚父鏃堕棿"); - - b.Property<string>("MethodName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂规硶鍚�"); - - b.Property<string>("Name") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("ParamsObj") - .HasColumnType("nvarchar(max)") - .HasComment("鍙傛暟瀵硅薄"); - - b.Property<string>("StackTrace") - .HasColumnType("nvarchar(max)") - .HasComment("鍫嗘爤淇℃伅"); - - b.HasKey("Id"); - - b.ToTable("sys_log_ex"); - - b.HasComment("寮傚父鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogOp", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("Account") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎿嶄綔浜�"); - - b.Property<string>("Browser") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("娴忚鍣�"); - - b.Property<string>("ClassName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("绫诲悕绉�"); - - b.Property<long>("ElapsedTime") - .HasColumnType("bigint") - .HasComment("鑰楁椂"); - - b.Property<string>("Ip") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("IP"); - - b.Property<string>("Location") - .HasMaxLength(1024) - .HasColumnType("nvarchar(1024)") - .HasComment("鍦板潃"); - - b.Property<string>("Message") - .HasColumnType("nvarchar(max)") - .HasComment("鍏蜂綋娑堟伅"); - - b.Property<string>("MethodName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂规硶鍚嶇О"); - - b.Property<string>("Name") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<DateTimeOffset?>("OpTime") - .HasColumnType("datetimeoffset") - .HasComment("鎿嶄綔鏃堕棿"); - - b.Property<string>("Os") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鎿嶄綔绯荤粺"); - - b.Property<string>("Param") - .HasColumnType("nvarchar(max)") - .HasComment("璇锋眰鍙傛暟"); - - b.Property<string>("ReqMethod") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("璇锋眰鏂瑰紡"); - - b.Property<string>("Result") - .HasColumnType("nvarchar(max)") - .HasComment("杩斿洖缁撴灉"); - - b.Property<int>("Success") - .HasColumnType("int") - .HasComment("鏄惁鎵ц鎴愬姛"); - - b.Property<string>("Url") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("璇锋眰鍦板潃"); - - b.HasKey("Id"); - - b.ToTable("sys_log_op"); - - b.HasComment("鎿嶄綔鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogVis", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("Account") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璁块棶浜�"); - - b.Property<string>("Browser") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("娴忚鍣�"); - - b.Property<string>("Ip") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("IP"); - - b.Property<string>("Location") - .HasMaxLength(1024) - .HasColumnType("nvarchar(1024)") - .HasComment("鍦板潃"); - - b.Property<string>("Message") - .HasColumnType("nvarchar(max)") - .HasComment("鍏蜂綋娑堟伅"); - - b.Property<string>("Name") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("Os") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鎿嶄綔绯荤粺"); - - b.Property<int>("Success") - .HasColumnType("int") - .HasComment("鏄惁鎵ц鎴愬姛"); - - b.Property<DateTimeOffset?>("VisTime") - .HasColumnType("datetimeoffset") - .HasComment("璁块棶鏃堕棿"); - - b.Property<int>("VisType") - .HasColumnType("int") - .HasComment("璁块棶绫诲瀷"); - - b.HasKey("Id"); - - b.ToTable("sys_log_vis"); - - b.HasComment("璁块棶鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysMenu", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Application") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴旂敤鍒嗙被"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<string>("Component") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("缁勪欢鍦板潃"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Icon") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍥炬爣"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Link") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍐呴摼鍦板潃"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<int>("OpenType") - .HasColumnType("int") - .HasComment("鎵撳紑鏂瑰紡"); - - b.Property<string>("Permission") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏉冮檺鏍囪瘑"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("鐖禝d"); - - b.Property<string>("Pids") - .HasColumnType("nvarchar(max)") - .HasComment("鐖禝ds"); - - b.Property<string>("Redirect") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("閲嶅畾鍚戝湴鍧�"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<string>("Router") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("璺敱鍦板潃"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("鑿滃崟绫诲瀷"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Visible") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁鍙"); - - b.Property<int>("Weight") - .HasColumnType("int") - .HasComment("鏉冮噸"); - - b.HasKey("Id"); - - b.ToTable("sys_menu"); - - b.HasComment("鑿滃崟琛�"); - - b.HasData( - new - { - Id = 142307000914633L, - Application = "manage", - Code = "sys_mgr", - Component = "PageView", - Icon = "team", - IsDeleted = false, - Name = "缁勭粐鏋舵瀯", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/sys", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910581L, - Application = "manage", - Code = "sys_org_mgr", - Component = "system/org/index", - IsDeleted = false, - Name = "鏈烘瀯绠$悊", - OpenType = 1, - Pid = 142307000914633L, - Pids = "[0],[142307000914633],", - Router = "/org", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910582L, - Application = "manage", - Code = "sys_org_mgr_page", - IsDeleted = false, - Name = "鏈烘瀯鏌ヨ", - OpenType = 0, - Permission = "sysOrg:page", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910583L, - Application = "manage", - Code = "sys_org_mgr_list", - IsDeleted = false, - Name = "鏈烘瀯鍒楄〃", - OpenType = 0, - Permission = "sysOrg:list", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910584L, - Application = "manage", - Code = "sys_org_mgr_add", - IsDeleted = false, - Name = "鏈烘瀯澧炲姞", - OpenType = 0, - Permission = "sysOrg:add", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910585L, - Application = "manage", - Code = "sys_org_mgr_edit", - IsDeleted = false, - Name = "鏈烘瀯缂栬緫", - OpenType = 0, - Permission = "sysOrg:edit", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910586L, - Application = "manage", - Code = "sys_org_mgr_delete", - IsDeleted = false, - Name = "鏈烘瀯鍒犻櫎", - OpenType = 0, - Permission = "sysOrg:delete", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910587L, - Application = "manage", - Code = "sys_org_mgr_detail", - IsDeleted = false, - Name = "鏈烘瀯璇︽儏", - OpenType = 0, - Permission = "sysOrg:detail", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910588L, - Application = "manage", - Code = "sys_org_mgr_tree", - IsDeleted = false, - Name = "鏈烘瀯鏍�", - OpenType = 0, - Permission = "sysOrg:tree", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910589L, - Application = "manage", - Code = "sys_pos_mgr", - Component = "system/pos/index", - IsDeleted = false, - Name = "鑱屼綅绠$悊", - OpenType = 1, - Pid = 142307000914633L, - Pids = "[0],[142307000914633],", - Router = "/pos", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910590L, - Application = "manage", - Code = "sys_pos_mgr_page", - IsDeleted = false, - Name = "鑱屼綅鏌ヨ", - OpenType = 0, - Permission = "sysPos:page", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910591L, - Application = "manage", - Code = "sys_pos_mgr_list", - IsDeleted = false, - Name = "鑱屼綅鍒楄〃", - OpenType = 0, - Permission = "sysPos:list", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914629L, - Application = "manage", - Code = "sys_pos_mgr_add", - IsDeleted = false, - Name = "鑱屼綅澧炲姞", - OpenType = 0, - Permission = "sysPos:add", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914630L, - Application = "manage", - Code = "sys_pos_mgr_edit", - IsDeleted = false, - Name = "鑱屼綅缂栬緫", - OpenType = 0, - Permission = "sysPos:edit", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914631L, - Application = "manage", - Code = "sys_pos_mgr_delete", - IsDeleted = false, - Name = "鑱屼綅鍒犻櫎", - OpenType = 0, - Permission = "sysPos:delete", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914632L, - Application = "manage", - Code = "sys_pos_mgr_detail", - IsDeleted = false, - Name = "鑱屼綅璇︽儏", - OpenType = 0, - Permission = "sysPos:detail", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910563L, - Application = "manage", - Code = "auth_manager", - Component = "PageView", - Icon = "safety-certificate", - IsDeleted = false, - Name = "鏉冮檺绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/auth", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910564L, - Application = "manage", - Code = "sys_user_mgr", - Component = "system/user/index", - IsDeleted = false, - Name = "鐢ㄦ埛绠$悊", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/mgr_user", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910565L, - Application = "manage", - Code = "sys_user_mgr_page", - IsDeleted = false, - Name = "鐢ㄦ埛鏌ヨ", - OpenType = 0, - Permission = "sysUser:page", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910566L, - Application = "manage", - Code = "sys_user_mgr_edit", - IsDeleted = false, - Name = "鐢ㄦ埛缂栬緫", - OpenType = 0, - Permission = "sysUser:edit", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910567L, - Application = "manage", - Code = "sys_user_mgr_add", - IsDeleted = false, - Name = "鐢ㄦ埛澧炲姞", - OpenType = 0, - Permission = "sysUser:add", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910568L, - Application = "manage", - Code = "sys_user_mgr_delete", - IsDeleted = false, - Name = "鐢ㄦ埛鍒犻櫎", - OpenType = 0, - Permission = "sysUser:delete", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910569L, - Application = "manage", - Code = "sys_user_mgr_detail", - IsDeleted = false, - Name = "鐢ㄦ埛璇︽儏", - OpenType = 0, - Permission = "sysUser:detail", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910570L, - Application = "manage", - Code = "sys_user_mgr_export", - IsDeleted = false, - Name = "鐢ㄦ埛瀵煎嚭", - OpenType = 0, - Permission = "sysUser:export", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910571L, - Application = "manage", - Code = "sys_user_mgr_selector", - IsDeleted = false, - Name = "鐢ㄦ埛閫夋嫨鍣�", - OpenType = 0, - Permission = "sysUser:selector", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910572L, - Application = "manage", - Code = "sys_user_mgr_grant_role", - IsDeleted = false, - Name = "鐢ㄦ埛鎺堟潈瑙掕壊", - OpenType = 0, - Permission = "sysUser:grantRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910573L, - Application = "manage", - Code = "sys_user_mgr_own_role", - IsDeleted = false, - Name = "鐢ㄦ埛鎷ユ湁瑙掕壊", - OpenType = 0, - Permission = "sysUser:ownRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910574L, - Application = "manage", - Code = "sys_user_mgr_grant_data", - IsDeleted = false, - Name = "鐢ㄦ埛鎺堟潈鏁版嵁", - OpenType = 0, - Permission = "sysUser:grantData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910575L, - Application = "manage", - Code = "sys_user_mgr_own_data", - IsDeleted = false, - Name = "鐢ㄦ埛鎷ユ湁鏁版嵁", - OpenType = 0, - Permission = "sysUser:ownData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910576L, - Application = "manage", - Code = "sys_user_mgr_update_info", - IsDeleted = false, - Name = "鐢ㄦ埛鏇存柊淇℃伅", - OpenType = 0, - Permission = "sysUser:updateInfo", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910577L, - Application = "manage", - Code = "sys_user_mgr_update_pwd", - IsDeleted = false, - Name = "鐢ㄦ埛淇敼瀵嗙爜", - OpenType = 0, - Permission = "sysUser:updatePwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910578L, - Application = "manage", - Code = "sys_user_mgr_change_status", - IsDeleted = false, - Name = "鐢ㄦ埛淇敼鐘舵��", - OpenType = 0, - Permission = "sysUser:changeStatus", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910579L, - Application = "manage", - Code = "sys_user_mgr_update_avatar", - IsDeleted = false, - Name = "鐢ㄦ埛淇敼澶村儚", - OpenType = 0, - Permission = "sysUser:updateAvatar", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910580L, - Application = "manage", - Code = "sys_user_mgr_reset_pwd", - IsDeleted = false, - Name = "鐢ㄦ埛閲嶇疆瀵嗙爜", - OpenType = 0, - Permission = "sysUser:resetPwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918777L, - Application = "manage", - Code = "sys_user_mgr_login", - IsDeleted = false, - Name = "鐢ㄦ埛鐧诲綍淇℃伅", - OpenType = 0, - Permission = "getLoginUser", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 1, - Type = 2, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070914651L, - Application = "manage", - Code = "sys_role_mgr", - Component = "system/role/index", - IsDeleted = false, - Name = "瑙掕壊绠$悊", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/role", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914652L, - Application = "manage", - Code = "sys_role_mgr_page", - IsDeleted = false, - Name = "瑙掕壊鏌ヨ", - OpenType = 0, - Permission = "sysRole:page", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914653L, - Application = "manage", - Code = "sys_role_mgr_add", - IsDeleted = false, - Name = "瑙掕壊澧炲姞", - OpenType = 0, - Permission = "sysRole:add", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914654L, - Application = "manage", - Code = "sys_role_mgr_edit", - IsDeleted = false, - Name = "瑙掕壊缂栬緫", - OpenType = 0, - Permission = "sysRole:edit", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914655L, - Application = "manage", - Code = "sys_role_mgr_delete", - IsDeleted = false, - Name = "瑙掕壊鍒犻櫎", - OpenType = 0, - Permission = "sysRole:delete", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914656L, - Application = "manage", - Code = "sys_role_mgr_detail", - IsDeleted = false, - Name = "瑙掕壊璇︽儏", - OpenType = 0, - Permission = "sysRole:detail", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914657L, - Application = "manage", - Code = "sys_role_mgr_drop_down", - IsDeleted = false, - Name = "瑙掕壊涓嬫媺", - OpenType = 0, - Permission = "sysRole:dropDown", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914658L, - Application = "manage", - Code = "sys_role_mgr_grant_menu", - IsDeleted = false, - Name = "瑙掕壊鎺堟潈鑿滃崟", - OpenType = 0, - Permission = "sysRole:grantMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914659L, - Application = "manage", - Code = "sys_role_mgr_own_menu", - IsDeleted = false, - Name = "瑙掕壊鎷ユ湁鑿滃崟", - OpenType = 0, - Permission = "sysRole:ownMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914660L, - Application = "manage", - Code = "sys_role_mgr_grant_data", - IsDeleted = false, - Name = "瑙掕壊鎺堟潈鏁版嵁", - OpenType = 0, - Permission = "sysRole:grantData", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914661L, - Application = "manage", - Code = "sys_role_mgr_own_data", - IsDeleted = false, - Name = "瑙掕壊鎷ユ湁鏁版嵁", - OpenType = 0, - Permission = "sysRole:ownData", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914648L, - Application = "manage", - Code = "sys_menu_mgr_grant_tree", - IsDeleted = false, - Name = "鑿滃崟鎺堟潈鏍�", - OpenType = 0, - Permission = "sysMenu:treeForGrant", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914649L, - Application = "manage", - Code = "sys_menu_mgr_tree", - IsDeleted = false, - Name = "鑿滃崟鏍�", - OpenType = 0, - Permission = "sysMenu:tree", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914633L, - Application = "system", - Code = "sys_platform", - Component = "PageView", - Icon = "safety-certificate", - IsDeleted = false, - Name = "骞冲彴绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/platform", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914634L, - Application = "system", - Code = "sys_app_mgr", - Component = "system/app/index", - IsDeleted = false, - Name = "搴旂敤绠$悊", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/app", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914635L, - Application = "system", - Code = "sys_app_mgr_page", - IsDeleted = false, - Name = "搴旂敤鏌ヨ", - OpenType = 0, - Permission = "sysApp:page", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914636L, - Application = "system", - Code = "sys_app_mgr_list", - IsDeleted = false, - Name = "搴旂敤鍒楄〃", - OpenType = 0, - Permission = "sysApp:list", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914637L, - Application = "system", - Code = "sys_app_mgr_add", - IsDeleted = false, - Name = "搴旂敤澧炲姞", - OpenType = 0, - Permission = "sysApp:add", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914638L, - Application = "system", - Code = "sys_app_mgr_edit", - IsDeleted = false, - Name = "搴旂敤缂栬緫", - OpenType = 0, - Permission = "sysApp:edit", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914639L, - Application = "system", - Code = "sys_app_mgr_delete", - IsDeleted = false, - Name = "搴旂敤鍒犻櫎", - OpenType = 0, - Permission = "sysApp:delete", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914640L, - Application = "system", - Code = "sys_app_mgr_detail", - IsDeleted = false, - Name = "搴旂敤璇︽儏", - OpenType = 0, - Permission = "sysApp:detail", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914641L, - Application = "system", - Code = "sys_app_mgr_set_as_default", - IsDeleted = false, - Name = "璁句负榛樿搴旂敤", - OpenType = 0, - Permission = "sysApp:setAsDefault", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914642L, - Application = "system", - Code = "sys_menu_mgr", - Component = "system/menu/index", - IsDeleted = false, - Name = "鑿滃崟绠$悊", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/menu", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914643L, - Application = "system", - Code = "sys_menu_mgr_list", - IsDeleted = false, - Name = "鑿滃崟鍒楄〃", - OpenType = 0, - Permission = "sysMenu:list", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914644L, - Application = "system", - Code = "sys_menu_mgr_add", - IsDeleted = false, - Name = "鑿滃崟澧炲姞", - OpenType = 0, - Permission = "sysMenu:add", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914645L, - Application = "system", - Code = "sys_menu_mgr_edit", - IsDeleted = false, - Name = "鑿滃崟缂栬緫", - OpenType = 0, - Permission = "sysMenu:edit", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914646L, - Application = "system", - Code = "sys_menu_mgr_delete", - IsDeleted = false, - Name = "鑿滃崟鍒犻櫎", - OpenType = 0, - Permission = "sysMenu:delete", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914647L, - Application = "system", - Code = "sys_menu_mgr_detail", - IsDeleted = false, - Name = "鑿滃崟璇︽儏", - OpenType = 0, - Permission = "sysMenu:detail", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914650L, - Application = "system", - Code = "sys_menu_mgr_change", - IsDeleted = false, - Name = "鑿滃崟鍒囨崲", - OpenType = 0, - Permission = "sysMenu:change", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 494834310545477L, - Application = "system", - Code = "sys_wmspdapower_mgr", - Component = "main/WmsPdaPower/index", - IsDeleted = false, - Name = "Pda鑿滃崟", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/WmsPdaPower", - Sort = 101, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914662L, - Application = "system", - Code = "system_tools", - Component = "PageView", - Icon = "euro", - IsDeleted = false, - Name = "寮�鍙戠鐞�", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/tools", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914663L, - Application = "system", - Code = "system_tools_config", - Component = "system/config/index", - IsDeleted = false, - Name = "绯荤粺閰嶇疆", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/config", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914664L, - Application = "system", - Code = "system_tools_config_page", - IsDeleted = false, - Name = "閰嶇疆鏌ヨ", - OpenType = 0, - Permission = "sysConfig:page", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914665L, - Application = "system", - Code = "system_tools_config_list", - IsDeleted = false, - Name = "閰嶇疆鍒楄〃", - OpenType = 0, - Permission = "sysConfig:list", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914666L, - Application = "system", - Code = "system_tools_config_add", - IsDeleted = false, - Name = "閰嶇疆澧炲姞", - OpenType = 0, - Permission = "sysConfig:add", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914667L, - Application = "system", - Code = "system_tools_config_edit", - IsDeleted = false, - Name = "閰嶇疆缂栬緫", - OpenType = 0, - Permission = "sysConfig:edit", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914668L, - Application = "system", - Code = "system_tools_config_delete", - IsDeleted = false, - Name = "閰嶇疆鍒犻櫎", - OpenType = 0, - Permission = "sysConfig:delete", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914669L, - Application = "system", - Code = "system_tools_config_detail", - IsDeleted = false, - Name = "閰嶇疆璇︽儏", - OpenType = 0, - Permission = "sysConfig:detail", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914678L, - Application = "system", - Code = "sys_dict_mgr", - Component = "system/dict/index", - IsDeleted = false, - Name = "瀛楀吀绠$悊", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/dict", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914679L, - Application = "system", - Code = "sys_dict_mgr_dict_type_page", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷鏌ヨ", - OpenType = 0, - Permission = "sysDictType:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914680L, - Application = "system", - Code = "sys_dict_mgr_dict_type_list", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷鍒楄〃", - OpenType = 0, - Permission = "sysDictType:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914681L, - Application = "system", - Code = "sys_dict_mgr_dict_type_add", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷澧炲姞", - OpenType = 0, - Permission = "sysDictType:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914682L, - Application = "system", - Code = "sys_dict_mgr_dict_type_delete", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷鍒犻櫎", - OpenType = 0, - Permission = "sysDictType:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914683L, - Application = "system", - Code = "sys_dict_mgr_dict_type_edit", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷缂栬緫", - OpenType = 0, - Permission = "sysDictType:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914684L, - Application = "system", - Code = "sys_dict_mgr_dict_type_detail", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷璇︽儏", - OpenType = 0, - Permission = "sysDictType:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914685L, - Application = "system", - Code = "sys_dict_mgr_dict_type_drop_down", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷涓嬫媺", - OpenType = 0, - Permission = "sysDictType:dropDown", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914686L, - Application = "system", - Code = "sys_dict_mgr_dict_type_change_status", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷淇敼鐘舵��", - OpenType = 0, - Permission = "sysDictType:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914687L, - Application = "system", - Code = "sys_dict_mgr_dict_page", - IsDeleted = false, - Name = "瀛楀吀鍊兼煡璇�", - OpenType = 0, - Permission = "sysDictData:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918725L, - Application = "system", - Code = "sys_dict_mgr_dict_list", - IsDeleted = false, - Name = "瀛楀吀鍊煎垪琛�", - OpenType = 0, - Permission = "sysDictData:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918726L, - Application = "system", - Code = "sys_dict_mgr_dict_add", - IsDeleted = false, - Name = "瀛楀吀鍊煎鍔�", - OpenType = 0, - Permission = "sysDictData:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918727L, - Application = "system", - Code = "sys_dict_mgr_dict_delete", - IsDeleted = false, - Name = "瀛楀吀鍊煎垹闄�", - OpenType = 0, - Permission = "sysDictData:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918728L, - Application = "system", - Code = "sys_dict_mgr_dict_edit", - IsDeleted = false, - Name = "瀛楀吀鍊肩紪杈�", - OpenType = 0, - Permission = "sysDictData:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918729L, - Application = "system", - Code = "sys_dict_mgr_dict_detail", - IsDeleted = false, - Name = "瀛楀吀鍊艰鎯�", - OpenType = 0, - Permission = "sysDictData:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918730L, - Application = "system", - Code = "sys_dict_mgr_dict_change_status", - IsDeleted = false, - Name = "瀛楀吀鍊间慨鏀圭姸鎬�", - OpenType = 0, - Permission = "sysDictData:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918731L, - Application = "system", - Code = "sys_swagger_mgr", - Component = "Iframe", - IsDeleted = false, - Link = "http://localhost:6677/swagger/", - Name = "鎺ュ彛鏂囨。", - OpenType = 2, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/swagger", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918732L, - Application = "manage", - Code = "sys_log_mgr", - Component = "PageView", - Icon = "read", - IsDeleted = false, - Name = "鏃ュ織绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/log", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918733L, - Application = "manage", - Code = "sys_log_mgr_vis_log", - Component = "system/log/vislog/index", - IsDeleted = false, - Name = "璁块棶鏃ュ織", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/vislog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918734L, - Application = "manage", - Code = "sys_log_mgr_vis_log_page", - IsDeleted = false, - Name = "璁块棶鏃ュ織鏌ヨ", - OpenType = 0, - Permission = "sysVisLog:page", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918735L, - Application = "manage", - Code = "sys_log_mgr_vis_log_delete", - IsDeleted = false, - Name = "璁块棶鏃ュ織娓呯┖", - OpenType = 0, - Permission = "sysVisLog:delete", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918736L, - Application = "manage", - Code = "sys_log_mgr_op_log", - Component = "system/log/oplog/index", - IsDeleted = false, - Name = "鎿嶄綔鏃ュ織", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/oplog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918737L, - Application = "manage", - Code = "sys_log_mgr_op_log_page", - IsDeleted = false, - Name = "鎿嶄綔鏃ュ織鏌ヨ", - OpenType = 0, - Permission = "sysOpLog:page", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918738L, - Application = "manage", - Code = "sys_log_mgr_op_log_delete", - IsDeleted = false, - Name = "鎿嶄綔鏃ュ織娓呯┖", - OpenType = 0, - Permission = "sysOpLog:delete", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070911739L, - Application = "manage", - Code = "sys_log_mgr_ex_log", - Component = "system/log/exlog/index", - IsDeleted = false, - Name = "寮傚父鏃ュ織", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/exlog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070911740L, - Application = "manage", - Code = "sys_log_mgr_ex_log_page", - IsDeleted = false, - Name = "寮傚父鏃ュ織鏌ヨ", - OpenType = 0, - Permission = "sysExLog:page", - Pid = 142307070911739L, - Pids = "[0],[142307070918732],[142307070911739],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070911741L, - Application = "manage", - Code = "sys_log_mgr_ex_log_delete", - IsDeleted = false, - Name = "寮傚父鏃ュ織娓呯┖", - OpenType = 0, - Permission = "sysExLog:delete", - Pid = 142307070911739L, - Pids = "[0],[142307070918732],[142307070911739],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918739L, - Application = "system", - Code = "sys_monitor_mgr", - Component = "PageView", - Icon = "deployment-unit", - IsDeleted = false, - Name = "绯荤粺鐩戞帶", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/monitor", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918740L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor", - Component = "system/machine/index", - IsDeleted = false, - Name = "鏈嶅姟鐩戞帶", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/machine", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918741L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor_query", - IsDeleted = false, - Name = "鏈嶅姟鐩戞帶鏌ヨ", - OpenType = 0, - Permission = "sysMachine:query", - Pid = 142307070918740L, - Pids = "[0],[142307070918739],[142307070918740],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918742L, - Application = "system", - Code = "sys_monitor_mgr_online_user", - Component = "system/onlineUser/index", - IsDeleted = false, - Name = "鍦ㄧ嚎鐢ㄦ埛", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/onlineUser", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918743L, - Application = "system", - Code = "sys_monitor_mgr_online_user_page", - IsDeleted = false, - Name = "鍦ㄧ嚎鐢ㄦ埛鏌ヨ", - OpenType = 0, - Permission = "sysOnlineUser:page", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918744L, - Application = "system", - Code = "sys_monitor_mgr_online_user_force_exist", - IsDeleted = false, - Name = "鍦ㄧ嚎鐢ㄦ埛寮洪��", - OpenType = 0, - Permission = "sysOnlineUser:forceExist", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918745L, - Application = "system", - Code = "sys_monitor_mgr_druid", - Component = "Iframe", - IsDeleted = false, - Link = "http://localhost:82/druid/login.html", - Name = "鏁版嵁鐩戞帶", - OpenType = 2, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/druid", - Sort = 100, - Status = 0, - Type = 1, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070918746L, - Application = "manage", - Code = "sys_notice", - Component = "PageView", - Icon = "sound", - IsDeleted = false, - Name = "閫氱煡鍏憡", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918747L, - Application = "manage", - Code = "sys_notice_mgr", - Component = "system/notice/index", - IsDeleted = false, - Name = "鍏憡绠$悊", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918748L, - Application = "manage", - Code = "sys_notice_mgr_page", - IsDeleted = false, - Name = "鍏憡鏌ヨ", - OpenType = 0, - Permission = "sysNotice:page", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918749L, - Application = "manage", - Code = "sys_notice_mgr_add", - IsDeleted = false, - Name = "鍏憡澧炲姞", - OpenType = 0, - Permission = "sysNotice:add", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918750L, - Application = "manage", - Code = "sys_notice_mgr_edit", - IsDeleted = false, - Name = "鍏憡缂栬緫", - OpenType = 0, - Permission = "sysNotice:edit", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918751L, - Application = "manage", - Code = "sys_notice_mgr_delete", - IsDeleted = false, - Name = "鍏憡鍒犻櫎", - OpenType = 0, - Permission = "sysNotice:delete", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918752L, - Application = "manage", - Code = "sys_notice_mgr_detail", - IsDeleted = false, - Name = "鍏憡鏌ョ湅", - OpenType = 0, - Permission = "sysNotice:detail", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918753L, - Application = "manage", - Code = "sys_notice_mgr_changeStatus", - IsDeleted = false, - Name = "鍏憡淇敼鐘舵��", - OpenType = 0, - Permission = "sysNotice:changeStatus", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918754L, - Application = "manage", - Code = "sys_notice_mgr_received", - Component = "system/noticeReceived/index", - IsDeleted = false, - Name = "宸叉敹鍏憡", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/noticeReceived", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918755L, - Application = "manage", - Code = "sys_notice_mgr_received_page", - IsDeleted = false, - Name = "宸叉敹鍏憡鏌ヨ", - OpenType = 0, - Permission = "sysNotice:received", - Pid = 142307070918754L, - Pids = "[0],[142307070918746],[142307070918754],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918756L, - Application = "manage", - Code = "sys_file_mgr", - Component = "PageView", - Icon = "file", - IsDeleted = false, - Name = "鏂囦欢绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918757L, - Application = "manage", - Code = "sys_file_mgr_sys_file", - Component = "system/file/index", - IsDeleted = false, - Name = "绯荤粺鏂囦欢", - OpenType = 1, - Pid = 142307070918756L, - Pids = "[0],[142307070918756],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918758L, - Application = "manage", - Code = "sys_file_mgr_sys_file_page", - IsDeleted = false, - Name = "鏂囦欢鏌ヨ", - OpenType = 0, - Permission = "sysFileInfo:page", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918759L, - Application = "manage", - Code = "sys_file_mgr_sys_file_list", - IsDeleted = false, - Name = "鏂囦欢鍒楄〃", - OpenType = 0, - Permission = "sysFileInfo:list", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918760L, - Application = "manage", - Code = "sys_file_mgr_sys_file_delete", - IsDeleted = false, - Name = "鏂囦欢鍒犻櫎", - OpenType = 0, - Permission = "sysFileInfo:delete", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918761L, - Application = "manage", - Code = "sys_file_mgr_sys_file_detail", - IsDeleted = false, - Name = "鏂囦欢璇︽儏", - OpenType = 0, - Permission = "sysFileInfo:detail", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918762L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload", - IsDeleted = false, - Name = "鏂囦欢涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:upload", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918763L, - Application = "manage", - Code = "sys_file_mgr_sys_file_download", - IsDeleted = false, - Name = "鏂囦欢涓嬭浇", - OpenType = 0, - Permission = "sysFileInfo:download", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918764L, - Application = "manage", - Code = "sys_file_mgr_sys_file_preview", - IsDeleted = false, - Name = "鍥剧墖棰勮", - OpenType = 0, - Permission = "sysFileInfo:preview", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922874L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload_avatar", - IsDeleted = false, - Name = "澶村儚涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:uploadAvatar", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922875L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload_document", - IsDeleted = false, - Name = "鏂囨。涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:uploadDocument", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922876L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload_shop", - IsDeleted = false, - Name = "鍟嗗煄涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:uploadShop", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918765L, - Application = "system", - Code = "sys_timers", - Component = "PageView", - Icon = "dashboard", - IsDeleted = false, - Name = "浠诲姟璋冨害", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918766L, - Application = "system", - Code = "sys_timers_mgr", - Component = "system/timers/index", - IsDeleted = false, - Name = "浠诲姟绠$悊", - OpenType = 1, - Pid = 142307070918765L, - Pids = "[0],[142307070918765],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918767L, - Application = "system", - Code = "sys_timers_mgr_page", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鏌ヨ", - OpenType = 0, - Permission = "sysTimers:page", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918768L, - Application = "system", - Code = "sys_timers_mgr_list", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍒楄〃", - OpenType = 0, - Permission = "sysTimers:list", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918769L, - Application = "system", - Code = "sys_timers_mgr_detail", - IsDeleted = false, - Name = "瀹氭椂浠诲姟璇︽儏", - OpenType = 0, - Permission = "sysTimers:detail", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918770L, - Application = "system", - Code = "sys_timers_mgr_add", - IsDeleted = false, - Name = "瀹氭椂浠诲姟澧炲姞", - OpenType = 0, - Permission = "sysTimers:add", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918771L, - Application = "system", - Code = "sys_timers_mgr_delete", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍒犻櫎", - OpenType = 0, - Permission = "sysTimers:delete", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918772L, - Application = "system", - Code = "sys_timers_mgr_edit", - IsDeleted = false, - Name = "瀹氭椂浠诲姟缂栬緫", - OpenType = 0, - Permission = "sysTimers:edit", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918773L, - Application = "system", - Code = "sys_timers_mgr_get_action_classes", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍙墽琛屽垪琛�", - OpenType = 0, - Permission = "sysTimers:getActionClasses", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918774L, - Application = "system", - Code = "sys_timers_mgr_start", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍚姩", - OpenType = 0, - Permission = "sysTimers:start", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918775L, - Application = "system", - Code = "sys_timers_mgr_stop", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍏抽棴", - OpenType = 0, - Permission = "sysTimers:stop", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918776L, - Application = "system", - Code = "code_gen", - Component = "PageView", - Icon = "thunderbolt", - IsDeleted = false, - Name = "浠g爜鐢熸垚", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/codeGenerate", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918778L, - Application = "system", - Code = "low_code", - Component = "gen/lowCode/index", - IsDeleted = false, - Name = "琛ㄥ崟璁捐", - OpenType = 0, - Pid = 142307070918776L, - Pids = "[0],[142307070918776],", - Router = "/lowCode/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918779L, - Application = "system", - Code = "code_gen_gen", - Component = "gen/codeGenerate/index", - IsDeleted = false, - Name = "浠g爜鐢熸垚", - OpenType = 0, - Pid = 142307070918776L, - Pids = "[0],[142307070918776],", - Router = "/codeGenerate/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922870L, - Application = "system", - Code = "form_design", - Component = "system/formDesign/index", - IsDeleted = false, - Name = "琛ㄥ崟璁捐", - OpenType = 0, - Pid = 285599875018821L, - Pids = "[0],[285599875018821],", - Router = "/formDesign/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285599875018821L, - Application = "system", - Code = "sys_formDesign", - Component = "PageView", - Icon = "snippets", - IsDeleted = false, - Name = "琛ㄥ崟绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/formDesign", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285599875018823L, - Application = "system", - Code = "sys_formDesign_list", - Component = "system/formDesign/list", - IsDeleted = false, - Name = "琛ㄥ崟鍒楄〃", - OpenType = 1, - Pid = 285599875018821L, - Pids = "[0],[285599875018821],", - Router = "/formDesign/list", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285635743518789L, - Application = "system", - Code = "sys_formDesign_edit", - Component = "system/formDesign/edit", - IsDeleted = false, - Name = "淇敼琛ㄥ崟", - OpenType = 1, - Pid = 285599875018821L, - Pids = "[0],[285599875018821],", - Router = "/formDesign/edit", - Sort = 100, - Status = 0, - Type = 1, - Visible = "N", - Weight = 1 - }, - new - { - Id = 285640475689029L, - Application = "system", - Code = "btn_formDesign_edit", - Component = "", - IsDeleted = false, - Name = "淇敼琛ㄥ崟", - OpenType = 0, - Permission = "formmanager:edit", - Pid = 285599875018823L, - Pids = "[0],[285599875018821],[285599875018823],", - Router = "", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285640599859269L, - Application = "system", - Code = "btn_formDesign_delete", - Component = "", - IsDeleted = false, - Name = "鍒犻櫎琛ㄥ崟", - OpenType = 0, - Permission = "formmanager:delete", - Pid = 285599875018823L, - Pids = "[0],[285599875018821],[285599875018823],", - Router = "", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285640740945989L, - Application = "system", - Code = "btn_formDesign_page", - Component = "", - IsDeleted = false, - Name = "琛ㄥ崟鍒楄〃", - OpenType = 0, - Permission = "formmanager:page", - Pid = 285599875018823L, - Pids = "[0],[285599875018821],[285599875018823],", - Router = "", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 355687925174341L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr", - Component = "main/WmsContainer/index", - Icon = "border", - IsDeleted = false, - Name = "鎵樼洏淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmscontainer", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925178437L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_page", - IsDeleted = false, - Name = "鎵樼洏淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsContainer:page", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925178438L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_detail", - IsDeleted = false, - Name = "鎵樼洏淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsContainer:detail", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925178439L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_add", - IsDeleted = false, - Name = "鎵樼洏淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsContainer:add", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925182533L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_delete", - IsDeleted = false, - Name = "鎵樼洏淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsContainer:delete", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925182534L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_edit", - IsDeleted = false, - Name = "鎵樼洏淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsContainer:edit", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792178757L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr", - Component = "main/WmsArea/index", - Icon = "appstore", - IsDeleted = false, - Name = "搴撳尯淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsarea", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792182853L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_page", - IsDeleted = false, - Name = "搴撳尯淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsArea:page", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792182854L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_detail", - IsDeleted = false, - Name = "搴撳尯淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsArea:detail", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792186949L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_add", - IsDeleted = false, - Name = "搴撳尯淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsArea:add", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792186950L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_delete", - IsDeleted = false, - Name = "搴撳尯淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsArea:delete", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792186951L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_edit", - IsDeleted = false, - Name = "搴撳尯淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsArea:edit", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496985669L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr", - Component = "main/WmsPlace/index", - Icon = "table", - IsDeleted = false, - Name = "搴撲綅淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsplace", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496989765L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_page", - IsDeleted = false, - Name = "搴撲綅淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsPlace:page", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993861L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_detail", - IsDeleted = false, - Name = "搴撲綅淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsPlace:detail", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993862L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_add", - IsDeleted = false, - Name = "搴撲綅淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsPlace:add", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993863L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_delete", - IsDeleted = false, - Name = "搴撲綅淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsPlace:delete", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993864L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_edit", - IsDeleted = false, - Name = "搴撲綅淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsPlace:edit", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042511429L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr", - Component = "main/WmsMaterial/index", - Icon = "barcode", - IsDeleted = false, - Name = "鐗╂枡淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsmaterial", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042515525L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_page", - IsDeleted = false, - Name = "鐗╂枡淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsMaterial:page", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519621L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_detail", - IsDeleted = false, - Name = "鐗╂枡淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsMaterial:detail", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519622L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_add", - IsDeleted = false, - Name = "鐗╂枡淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsMaterial:add", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519623L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_delete", - IsDeleted = false, - Name = "鐗╂枡淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsMaterial:delete", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519624L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_edit", - IsDeleted = false, - Name = "鐗╂枡淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsMaterial:edit", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690923847749L, - Application = "warejob", - Code = "BindEntrance", - Component = "main/BindEntrance/index", - Icon = "logout", - IsDeleted = false, - Name = "缁勭洏鍏ュ簱", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/BindEntrance", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355691450822725L, - Application = "warejob", - Code = "ExWarehouse", - Component = "main/ExWarehouse/index", - Icon = "login", - IsDeleted = false, - Name = "鍑哄簱绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/ExWarehouse", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355691891650629L, - Application = "warejob", - Code = "WmsTask", - Component = "main/WmsTask/index", - Icon = "hourglass", - IsDeleted = false, - Name = "浠诲姟绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/WmsTask", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355692253458501L, - Application = "warecount", - Code = "LocationView", - Component = "main/LocationView/index", - Icon = "hdd", - IsDeleted = false, - Name = "搴撲綅瑙嗗浘", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/LocationView", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355692487622725L, - Application = "warecount", - Code = "View_AccessDetails", - Component = "main/View_AccessDetails/index", - Icon = "laptop", - IsDeleted = false, - Name = "鍑哄叆搴撹褰�", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/View_AccessDetails", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310358700101L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr", - Component = "main/LesProductionline/index", - Icon = "gateway", - IsDeleted = false, - Name = "浜х嚎淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/lesproductionline", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359138373L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_page", - IsDeleted = false, - Name = "浜х嚎淇℃伅鏌ヨ", - OpenType = 0, - Permission = "LesProductionline:page", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359146565L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_detail", - IsDeleted = false, - Name = "浜х嚎淇℃伅璇︽儏", - OpenType = 0, - Permission = "LesProductionline:detail", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359146566L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_add", - IsDeleted = false, - Name = "浜х嚎淇℃伅澧炲姞", - OpenType = 0, - Permission = "LesProductionline:add", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359150661L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_delete", - IsDeleted = false, - Name = "浜х嚎淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "LesProductionline:delete", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359154757L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_edit", - IsDeleted = false, - Name = "浜х嚎淇℃伅缂栬緫", - OpenType = 0, - Permission = "LesProductionlinel:edit", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866703941L, - Application = "busiapp", - Code = "Maste_lesstation_mgr", - Component = "main/LesStation/index", - Icon = "team", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/lesstation", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866744901L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_page", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅鏌ヨ", - OpenType = 0, - Permission = "LesStation:page", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866748997L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_detail", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅璇︽儏", - OpenType = 0, - Permission = "LesStation:detail", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866753093L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_add", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅澧炲姞", - OpenType = 0, - Permission = "LesStation:add", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866753094L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_delete", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "LesStation:delete", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866753095L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_edit", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅缂栬緫", - OpenType = 0, - Permission = "LesStation:edit", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166334533L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr", - Component = "main/LesTakematerials/index", - Icon = "deployment-unit", - IsDeleted = false, - Name = "鍙枡绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/lestakematerials", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166449221L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_page", - IsDeleted = false, - Name = "鍙枡鏌ヨ", - OpenType = 0, - Permission = "LesTakematerials:page", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166457413L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_detail", - IsDeleted = false, - Name = "鍙枡璇︽儏", - OpenType = 0, - Permission = "LesTakematerials:detail", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166461509L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_add", - IsDeleted = false, - Name = "鍙枡澧炲姞", - OpenType = 0, - Permission = "LesTakematerials:add", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166461510L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_delete", - IsDeleted = false, - Name = "鍙枡鍒犻櫎", - OpenType = 0, - Permission = "LesTakematerials:delete", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166461511L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_edit", - IsDeleted = false, - Name = "鍙枡缂栬緫", - OpenType = 0, - Permission = "LesTakematerials:edit", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902500933L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr", - Component = "main/WmsMaterialStock/index", - Icon = "vertical-left", - IsDeleted = false, - Name = "搴撳瓨淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsmaterialstock", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902545989L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_page", - IsDeleted = false, - Name = "搴撳瓨鏌ヨ", - OpenType = 0, - Permission = "WmsMaterialStock:page", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902550085L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_detail", - IsDeleted = false, - Name = "搴撳瓨璇︽儏", - OpenType = 0, - Permission = "WmsMaterialStock:detail", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902554181L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_add", - IsDeleted = false, - Name = "搴撳瓨澧炲姞", - OpenType = 0, - Permission = "WmsMaterialStock:add", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902558277L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_delete", - IsDeleted = false, - Name = "搴撳瓨鍒犻櫎", - OpenType = 0, - Permission = "WmsMaterialStock:delete", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902558278L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_edit", - IsDeleted = false, - Name = "搴撳瓨缂栬緫", - OpenType = 0, - Permission = "WmsMaterialStock:edit", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysNotice", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CancelTime") - .HasColumnType("datetimeoffset") - .HasComment("鎾ゅ洖鏃堕棿"); - - b.Property<string>("Content") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("鍐呭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long>("PublicOrgId") - .HasColumnType("bigint") - .HasComment("鍙戝竷鏈烘瀯Id"); - - b.Property<string>("PublicOrgName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍙戝竷鏈烘瀯鍚嶇О"); - - b.Property<DateTimeOffset?>("PublicTime") - .HasColumnType("datetimeoffset") - .HasComment("鍙戝竷鏃堕棿"); - - b.Property<long>("PublicUserId") - .HasColumnType("bigint") - .HasComment("鍙戝竷浜篒d"); - - b.Property<string>("PublicUserName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍙戝竷浜哄鍚�"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("Title") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鏍囬"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("绫诲瀷"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_notice"); - - b.HasComment("閫氱煡鍏憡琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysNoticeUser", b => - { - b.Property<long>("NoticeId") - .HasColumnType("bigint") - .HasComment("閫氱煡鍏憡Id"); - - b.Property<long>("UserId") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<int>("ReadStatus") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("ReadTime") - .HasColumnType("datetimeoffset") - .HasComment("闃呰鏃堕棿"); - - b.HasKey("NoticeId", "UserId"); - - b.ToTable("sys_notice_user"); - - b.HasComment("閫氱煡鍏憡鐢ㄦ埛琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysOrg", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<string>("Contacts") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鑱旂郴浜�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("OrgType") - .HasColumnType("nvarchar(max)"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("鐖禝d"); - - b.Property<string>("Pids") - .HasColumnType("nvarchar(max)") - .HasComment("鐖禝ds"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("Tel") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢佃瘽"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_org"); - - b.HasComment("缁勭粐鏈烘瀯琛�"); - - b.HasData( - new - { - Id = 142307070910539L, - Code = "wbgf", - IsDeleted = false, - Name = "浼熸湰鑲′唤鏈夐檺鍏徃", - Pid = 0L, - Pids = "[0],", - Remark = "浼熸湰鑲′唤鏈夐檺鍏徃", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910540L, - Code = "wbgf_sh", - IsDeleted = false, - Name = "浼熸湰鑲′唤鏈夐檺鍏徃(涓婃捣)", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "浼熸湰鑲′唤鏈夐檺鍏徃-涓婃捣", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910541L, - Code = "wbgf_cq", - IsDeleted = false, - Name = "浼熸湰鑲′唤鏈夐檺鍏徃(閲嶅簡)", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "浼熸湰鑲′唤鏈夐檺鍏徃-閲嶅簡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910542L, - Code = "wbgf_sh_yfb", - IsDeleted = false, - Name = "鐮斿彂閮�", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910543L, - Code = "wbgf_sh_qhb", - IsDeleted = false, - Name = "浼佸垝閮�", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910544L, - Code = "wbgf_cq_scb", - IsDeleted = false, - Name = "甯傚満閮�", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910545L, - Code = "wbgf_cq_cwb", - IsDeleted = false, - Name = "璐㈠姟閮�", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910546L, - Code = "wbgf_cq_scb", - IsDeleted = false, - Name = "甯傚満閮ㄤ簩閮�", - Pid = 142307070910544L, - Pids = "[0],[142307070910539],[142307070910541],[142307070910544],", - Remark = "", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysPos", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_pos"); - - b.HasComment("鑱屼綅琛�"); - - b.HasData( - new - { - Id = 142307070910547L, - Code = "zjl", - IsDeleted = false, - Name = "鎬荤粡鐞�", - Remark = "鎬荤粡鐞�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910548L, - Code = "fzjl", - IsDeleted = false, - Name = "鍓�荤粡鐞�", - Remark = "鍓�荤粡鐞�", - Sort = 101, - Status = 0 - }, - new - { - Id = 142307070910549L, - Code = "bmjl", - IsDeleted = false, - Name = "閮ㄩ棬缁忕悊", - Remark = "閮ㄩ棬缁忕悊", - Sort = 102, - Status = 0 - }, - new - { - Id = 142307070910550L, - Code = "gzry", - IsDeleted = false, - Name = "宸ヤ綔浜哄憳", - Remark = "宸ヤ綔浜哄憳", - Sort = 103, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRole", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DataScopeType") - .HasColumnType("int") - .HasComment("鏁版嵁鑼冨洿绫诲瀷"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("RoleType") - .HasColumnType("int") - .HasComment("瑙掕壊绫诲瀷-闆嗗洟瑙掕壊_0銆佸姞鐩熷晢瑙掕壊_1銆侀棬搴楄鑹瞋2"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_role"); - - b.HasComment("瑙掕壊琛�"); - - b.HasData( - new - { - Id = 142307070910554L, - Code = "sys_manager_role", - DataScopeType = 1, - IsDeleted = false, - Name = "绯荤粺绠$悊鍛�", - Remark = "绯荤粺绠$悊鍛�", - RoleType = 0, - Sort = 100, - Status = 0 - }, - new - { - Id = 356094617575493L, - Code = "admin", - DataScopeType = 1, - IsDeleted = false, - Name = "绠$悊鍛�", - Remark = "", - RoleType = 0, - Sort = 100, - Status = 0 - }, - new - { - Id = 358509609758789L, - Code = "ware", - DataScopeType = 1, - IsDeleted = false, - Name = "浠撳簱鐢ㄦ埛", - Remark = "", - RoleType = 0, - Sort = 100, - Status = 0 - }, - new - { - Id = 358536344862789L, - Code = "iWare", - DataScopeType = 5, - IsDeleted = false, - Name = "鐮斿彂鐢ㄦ埛", - Remark = "", - RoleType = 0, - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleDataScope", b => - { - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.Property<long>("SysOrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.HasKey("SysRoleId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_role_data_scope"); - - b.HasComment("瑙掕壊鏁版嵁鑼冨洿琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleMenu", b => - { - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.Property<long>("SysMenuId") - .HasColumnType("bigint") - .HasComment("鑿滃崟Id"); - - b.HasKey("SysRoleId", "SysMenuId"); - - b.HasIndex("SysMenuId"); - - b.ToTable("sys_role_menu"); - - b.HasComment("瑙掕壊鑿滃崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysTimer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Cron") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("Cron琛ㄨ揪寮�"); - - b.Property<bool>("DoOnce") - .HasColumnType("bit") - .HasComment("鍙墽琛屼竴娆�"); - - b.Property<int>("ExecuteType") - .HasColumnType("int") - .HasComment("鎵ц绫诲瀷"); - - b.Property<string>("Headers") - .HasColumnType("nvarchar(max)") - .HasComment("Headers"); - - b.Property<int?>("Interval") - .HasColumnType("int") - .HasComment("闂撮殧鏃堕棿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("JobName") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浠诲姟鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<string>("RequestParameters") - .HasColumnType("nvarchar(max)") - .HasComment("璇锋眰鍙傛暟"); - - b.Property<int>("RequestType") - .HasColumnType("int") - .HasComment("璇锋眰绫诲瀷"); - - b.Property<string>("RequestUrl") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("璇锋眰url"); - - b.Property<bool>("StartNow") - .HasColumnType("bit") - .HasComment("绔嬪嵆鎵ц"); - - b.Property<int>("TimerType") - .HasColumnType("int") - .HasComment("瀹氭椂鍣ㄧ被鍨�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_timer"); - - b.HasComment("瀹氭椂浠诲姟琛�"); - - b.HasData( - new - { - Id = 142307070910556L, - DoOnce = false, - ExecuteType = 1, - Interval = 5, - IsDeleted = false, - JobName = "鐧惧害api", - Remark = "鎺ュ彛API", - RequestType = 2, - RequestUrl = "https://www.baidu.com", - StartNow = false, - TimerType = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUser", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Account") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璐﹀彿"); - - b.Property<int>("AdminType") - .HasColumnType("int") - .HasComment("绠$悊鍛樼被鍨�-瓒呯骇绠$悊鍛榑1銆佺鐞嗗憳_2銆佹櫘閫氳处鍙穇3"); - - b.Property<string>("Avatar") - .HasColumnType("nvarchar(max)") - .HasComment("澶村儚"); - - b.Property<DateTimeOffset?>("Birthday") - .HasColumnType("datetimeoffset") - .HasComment("鐢熸棩"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Email") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("閭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("LastLoginIp") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鏈�鍚庣櫥褰旾P"); - - b.Property<DateTimeOffset?>("LastLoginTime") - .HasColumnType("datetimeoffset") - .HasComment("鏈�鍚庣櫥褰曟椂闂�"); - - b.Property<string>("Name") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("濮撳悕"); - - b.Property<string>("NickName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鏄电О"); - - b.Property<string>("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀵嗙爜"); - - b.Property<string>("Phone") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鎵嬫満"); - - b.Property<long>("ProductionlineId") - .HasColumnType("bigint"); - - b.Property<int>("Sex") - .HasColumnType("int") - .HasComment("鎬у埆-鐢穇1銆佸コ_2"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��-姝e父_0銆佸仠鐢╛1銆佸垹闄2"); - - b.Property<string>("Tel") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢佃瘽"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("sys_user"); - - b.HasComment("鐢ㄦ埛琛�"); - - b.HasData( - new - { - Id = 142307070910551L, - Account = "superAdmin", - AdminType = 1, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "瓒呯骇绠$悊鍛�", - NickName = "superAdmin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }, - new - { - Id = 142307070910552L, - Account = "admin", - AdminType = 2, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "绯荤粺绠$悊鍛�", - NickName = "admin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }, - new - { - Id = 358533464608837L, - Account = "warehouse", - AdminType = 3, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "浠撳簱鐢ㄦ埛", - NickName = "warehouse", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "13869156666", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }, - new - { - Id = 358536045723717L, - Account = "admin1", - AdminType = 3, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "鐮斿彂閮�", - NickName = "admin1", - Password = "f379eaf3c831b04de153469d1bec345e", - Phone = "13869156666", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserDataScope", b => - { - b.Property<long>("SysUserId") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<long>("SysOrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.HasKey("SysUserId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_user_data_scope"); - - b.HasComment("鐢ㄦ埛鏁版嵁鑼冨洿琛�"); - - b.HasData( - new - { - SysUserId = 142307070910551L, - SysOrgId = 142307070910540L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserRole", b => - { - b.Property<long>("SysUserId") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.HasKey("SysUserId", "SysRoleId"); - - b.HasIndex("SysRoleId"); - - b.ToTable("sys_user_role"); - - b.HasComment("鐢ㄦ埛瑙掕壊琛�"); - - b.HasData( - new - { - SysUserId = 142307070910552L, - SysRoleId = 142307070910554L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.TestStudent", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Age") - .HasColumnType("int") - .HasComment("瀛︾敓骞撮緞"); - - b.Property<DateTime>("BrithDate") - .HasColumnType("datetime2") - .HasComment("鍑虹敓鏃ユ湡"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("Gender") - .HasColumnType("int") - .HasComment("鎬у埆"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("瀛︾敓濮撳悕"); - - b.Property<bool>("StartName") - .HasMaxLength(50) - .HasColumnType("bit") - .HasComment("鏄惁鍦ㄦ牎"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("test_students"); - - b.HasComment("瀛︾敓淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.TestStudent2", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Age") - .HasColumnType("int") - .HasComment("瀛︾敓骞撮緞"); - - b.Property<DateTime>("BrithDate") - .HasColumnType("datetime2") - .HasComment("鍑虹敓鏃ユ湡"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("Gender") - .HasColumnType("int") - .HasComment("鎬у埆"); - - b.Property<decimal>("HasMoney") - .HasColumnType("decimal(10,3)") - .HasColumnName("HasMoney") - .HasComment("闆惰姳閽�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("瀛︾敓濮撳悕"); - - b.Property<bool>("StartName") - .HasMaxLength(50) - .HasColumnType("bit") - .HasComment("鏄惁鍦ㄦ牎"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("test_students2"); - - b.HasComment("瀛︾敓淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.TestStudent3", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Age") - .HasColumnType("int") - .HasComment("瀛︾敓骞撮緞"); - - b.Property<DateTime>("BrithDate") - .HasColumnType("datetime2") - .HasComment("鍑虹敓鏃ユ湡"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("Gender") - .HasColumnType("int") - .HasComment("鎬у埆"); - - b.Property<decimal>("HasMoney") - .HasColumnType("decimal(10,3)") - .HasColumnName("HasMoney") - .HasComment("闆惰姳閽�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("瀛︾敓濮撳悕"); - - b.Property<bool>("StartName") - .HasMaxLength(50) - .HasColumnType("bit") - .HasComment("鏄惁鍦ㄦ牎"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("test_students3"); - - b.HasComment("瀛︾敓淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsArea", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AreaDesc") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)") - .HasComment("鎻忚堪"); - - b.Property<string>("AreaName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍚嶇О"); - - b.Property<int>("AreaStatus") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<int>("AreaType") - .HasColumnType("int") - .HasComment("鍒嗙被"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("IsSteel") - .HasColumnType("bit") - .HasComment("鏄惁涓洪挗骞冲彴"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("wms_area"); - - b.HasComment("搴撳尯琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsContainer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AssetNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧勪骇缂栧彿"); - - b.Property<int>("ContainerCategory") - .HasColumnType("int") - .HasComment("鎵樼洏鍒嗙被"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栧彿"); - - b.Property<int>("ContainerStatus") - .HasColumnType("int") - .HasComment("鎵樼洏鐘舵��"); - - b.Property<int>("ContainerType") - .HasColumnType("int") - .HasComment("绫诲瀷"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("ErpNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("Erp鍗曞彿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("IsVirtually") - .HasColumnType("int") - .HasComment("鏄惁铏氭嫙"); - - b.Property<decimal>("LimitHeight") - .HasColumnType("decimal(18,2)") - .HasComment("闄愰珮"); - - b.Property<decimal>("LimitLength") - .HasColumnType("decimal(18,2)") - .HasComment("闄愰暱"); - - b.Property<decimal>("LimitWidth") - .HasColumnType("decimal(18,2)") - .HasComment("闄愬"); - - b.Property<decimal>("MaxWeight") - .HasColumnType("decimal(18,2)") - .HasComment("杞介噸涓婇檺"); - - b.Property<long>("ParentContainerId") - .HasColumnType("bigint") - .HasComment("鐖舵墭鐩業d"); - - b.Property<decimal>("SpecHeight") - .HasColumnType("decimal(18,2)") - .HasComment("楂樺害"); - - b.Property<decimal>("SpecLength") - .HasColumnType("decimal(18,2)") - .HasComment("闀垮害"); - - b.Property<decimal>("SpecWidth") - .HasColumnType("decimal(18,2)") - .HasComment("瀹藉害"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("wms_container"); - - b.HasComment("鎵樼洏淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsContainerPlace", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<int>("ContainerPlaceStatus") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("PlaceCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<long>("PlaceId") - .HasColumnType("bigint") - .HasComment("搴撲綅Id"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_containerplace"); - - b.HasComment("鎵樼洏搴撲綅鍏崇郴琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Creator") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒涘缓浜�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_dumporder"); - - b.HasComment("杞偍鍗�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_SCM") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("SCM鎵规鍙�"); - - b.Property<string>("Batchno_WMS") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("WMS鎵规鍙�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<decimal>("Length") - .HasColumnType("decimal(18,2)") - .HasComment("闀垮害"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("搴撳瓨椤圭洰缂栫爜"); - - b.Property<string>("Projectcode_To") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏂板簱瀛橀」鐩紪鐮�"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_dumporder_details"); - - b.HasComment("杞偍鍗曟槑缁�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃鍚嶇О"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("GoodsReturnStatus") - .HasColumnType("int") - .HasComment("閫�璐х姸鎬�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Vendorcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗙紪鐮�"); - - b.Property<string>("Vendorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗗悕绉�"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.Property<string>("WarehouseKeepername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撶鍛�"); - - b.HasKey("Id"); - - b.ToTable("wms_goodsreturnorder"); - - b.HasComment("閫�璐у崟"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_WMS") - .HasColumnType("nvarchar(max)") - .HasComment("鎵规鍙�"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("CustomsNum") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧鏁伴噺"); - - b.Property<decimal>("CustomsPrices") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧閲戦"); - - b.Property<string>("CustomsUnitName") - .HasColumnType("nvarchar(max)") - .HasComment("鎶ュ叧鍗曚綅"); - - b.Property<string>("DeclarationCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曞彿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("ItemNo") - .HasColumnType("nvarchar(max)") - .HasComment("鎶ュ叧椤瑰彿"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<decimal>("Price") - .HasColumnType("decimal(18,2)") - .HasComment("涓嶅惈绋庡崟浠�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<int>("ReceivingStatus") - .HasColumnType("int") - .HasComment("閫�璐х姸鎬�"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("StoreRoomname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撻棿"); - - b.Property<decimal>("SumPrice") - .HasColumnType("decimal(18,2)") - .HasComment("鎴愭湰閲戦"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<decimal>("TheoreticalWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鐞嗚閲嶉噺"); - - b.Property<string>("TradeName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍝佸悕"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_goodsreturnorder_details"); - - b.HasComment("閫�璐у崟鎹槑缁嗚〃"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsHistoryMaterialContainer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<decimal>("BindQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("缁勭洏鏁伴噺"); - - b.Property<int>("BindStatus") - .HasColumnType("int") - .HasComment("缁勭洏鐘舵��"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MaterialBatch") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<long>("MaterialId") - .HasColumnType("bigint") - .HasComment("鐗╂枡Id"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<string>("OrderNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍗曞彿"); - - b.Property<decimal>("SampleQty") - .HasColumnType("decimal(18,2)") - .HasComment("鎶芥鏁伴噺"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("MaterialId"); - - b.ToTable("wms_history_materialcontainer"); - - b.HasComment("鐗╂枡鎵樼洏鍘嗗彶琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterial", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AreaIds") - .HasColumnType("nvarchar(max)") - .HasComment("搴撳尯Ids"); - - b.Property<string>("AreaNameParameter") - .HasColumnType("nvarchar(max)") - .HasComment("搴撳尯鍙傛暟"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("鎻忚堪"); - - b.Property<int>("InspectionMethod") - .HasColumnType("int") - .HasComment("鐗╂枡妫�楠�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MaterialBatch") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<int>("MaterialType") - .HasColumnType("int") - .HasComment("鐗╂枡绫诲埆"); - - b.Property<string>("MaterialUnit") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍗曚綅"); - - b.Property<decimal>("MaxImumqty") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�澶у瓨閲�"); - - b.Property<decimal>("MaxstorageAge") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�澶у簱榫�"); - - b.Property<decimal>("MinstorageAge") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�灏忓簱榫�"); - - b.Property<decimal>("Safeqty") - .HasColumnType("decimal(18,2)") - .HasComment("瀹夊叏瀛橀噺"); - - b.Property<string>("StationIds") - .HasColumnType("nvarchar(max)") - .HasComment("宸ヤ綔鍖篒ds"); - - b.Property<string>("StationNameParameter") - .HasColumnType("nvarchar(max)") - .HasComment("宸ヤ綔鍖哄弬鏁�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_material"); - - b.HasComment("鐗╂枡淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterialContainer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<decimal>("BindQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("缁勭洏鏁伴噺"); - - b.Property<int>("BindStatus") - .HasColumnType("int") - .HasComment("缁勭洏鐘舵��"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MaterialBatch") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<long>("MaterialId") - .HasColumnType("bigint") - .HasComment("鐗╂枡Id"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<long>("OrderDetailsId") - .HasColumnType("bigint") - .HasComment("鍗曟嵁鏄庣粏Id"); - - b.Property<string>("OrderNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍗曞彿"); - - b.Property<decimal>("SampleQty") - .HasColumnType("decimal(18,2)") - .HasComment("鎶芥鏁伴噺"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<long?>("WmsContainerId") - .HasColumnType("bigint"); - - b.HasKey("Id"); - - b.HasIndex("MaterialId"); - - b.HasIndex("WmsContainerId"); - - b.ToTable("wms_materialcontainer"); - - b.HasComment("鐗╂枡鎵樼洏鍏崇郴琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterialStock", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<long>("AreaId") - .HasColumnType("bigint") - .HasComment("搴撳尯Id"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("High") - .HasColumnType("int") - .HasComment("楂�"); - - b.Property<int>("InspectionMethod") - .HasColumnType("int") - .HasComment("妫�楠屾柟寮�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("Long") - .HasColumnType("int") - .HasComment("闀�"); - - b.Property<string>("MaterialBatch") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<int>("MaterialType") - .HasColumnType("int") - .HasComment("鐗╂枡绫诲埆"); - - b.Property<string>("PlaceCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("QuantityOfBill") - .HasColumnType("decimal(18,2)") - .HasComment("璐﹂潰鏁伴噺"); - - b.Property<int>("Source") - .HasColumnType("int") - .HasComment("鍏ュ簱鏉ユ簮"); - - b.Property<decimal>("StockNumber") - .HasColumnType("decimal(18,2)") - .HasComment("瀹炵墿搴撳瓨鏁�"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<int>("UnitNo") - .HasColumnType("int") - .HasComment("鍗曚綅缂栧彿"); - - b.Property<int>("UnitType") - .HasColumnType("int") - .HasComment("鍗曚綅绫诲埆"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("Wide") - .HasColumnType("int") - .HasComment("瀹�"); - - b.HasKey("Id"); - - b.ToTable("wms_materialstock"); - - b.HasComment("搴撳瓨琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMerchantinfo", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MerchantAddress") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鍦板潃"); - - b.Property<string>("MerchantAttribute") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢灞炴��"); - - b.Property<string>("MerchantContact") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鑱旂郴浜�"); - - b.Property<string>("MerchantEmail") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢閭"); - - b.Property<string>("MerchantFax") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢浼犵湡"); - - b.Property<int>("MerchantGrade") - .HasColumnType("int") - .HasComment("瀹㈠晢绛夌骇"); - - b.Property<string>("MerchantName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鍚嶇О"); - - b.Property<string>("MerchantNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢缂栧彿"); - - b.Property<string>("MerchantPhone") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鐢佃瘽"); - - b.Property<string>("MerchantShort") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢绠�绉�"); - - b.Property<string>("MerchantTmt") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢琛屼笟"); - - b.Property<int>("MerchantType") - .HasColumnType("int") - .HasComment("瀹㈠晢鍒嗙被"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_merchantinfo"); - - b.HasComment("瀹㈠晢淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃鍚嶇О"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DeclarationCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曞彿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Majorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("涓撲笟"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<string>("Remarks") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("澶囨敞"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<string>("SourceBillNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("閫佽揣閫氱煡鍗曞彿"); - - b.Property<string>("StoreRoomname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撻棿"); - - b.Property<int>("TradeMode") - .HasColumnType("int") - .HasComment("璐告槗鏂瑰紡"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Vendorcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗙紪鐮�"); - - b.Property<string>("Vendorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗗悕绉�"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.Property<string>("WarehouseKeepername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撶鍛�"); - - b.HasKey("Id"); - - b.ToTable("wms_order"); - - b.HasComment("鍗曟嵁琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("CustomsNum") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧鏁伴噺"); - - b.Property<decimal>("CustomsPrices") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧閲戦"); - - b.Property<string>("CustomsUnitName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曚綅"); - - b.Property<int>("InspectionResults") - .HasColumnType("int") - .HasComment("妫�楠岀粨鏋�"); - - b.Property<decimal>("InventoryQty") - .HasColumnType("decimal(18,2)") - .HasComment("鍏ュ簱鏁伴噺"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("ItemNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧椤瑰彿"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<string>("PlaceCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<decimal>("Price") - .HasColumnType("decimal(18,2)") - .HasComment("涓嶅惈绋庡崟浠�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("SpecialNeeds") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗规畩瑕佹眰"); - - b.Property<decimal>("SumPrice") - .HasColumnType("decimal(18,2)") - .HasComment("鎴愭湰閲戦"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<decimal>("TheoreticalWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鐞嗚閲嶉噺"); - - b.Property<string>("TradeName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍝佸悕"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_order_details"); - - b.HasComment("鍗曟嵁鏄庣粏琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrderType", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("LesWorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("鐖禝d"); - - b.Property<string>("Pids") - .HasColumnType("nvarchar(max)") - .HasComment("鐖禝ds"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_order_type"); - - b.HasComment("鍗曟嵁绫诲瀷缁存姢琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPdaPower", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Clolor") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("棰滆壊"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Icon") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍥炬爣"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("鍚嶇О"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("wms_pdapower"); - - b.HasComment("PDA鑿滃崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPlace", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AgvCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅瀵瑰簲AGV缂栫爜"); - - b.Property<int>("Aisle") - .HasColumnType("int") - .HasComment("宸烽亾"); - - b.Property<long>("AreaId") - .HasColumnType("bigint") - .HasComment("鎵�鍦ㄥ簱鍖�"); - - b.Property<int>("ColumnNo") - .HasColumnType("int") - .HasComment("鍒�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DeepcellNo") - .HasColumnType("int") - .HasComment("杩涙繁鍙�"); - - b.Property<int>("EmptyContainer") - .HasColumnType("int") - .HasComment("鏄惁绌烘墭"); - - b.Property<decimal>("Height") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅楂樺害"); - - b.Property<int>("HeightLevel") - .HasColumnType("int") - .HasComment("搴撲綅楂樺害灞炴��"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("Islock") - .HasColumnType("int") - .HasComment("鏄惁閿佸畾"); - - b.Property<int>("LayerNo") - .HasColumnType("int") - .HasComment("灞�"); - - b.Property<decimal>("Length") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅闀垮害"); - - b.Property<int>("Line") - .HasColumnType("int") - .HasComment("绾垮彿"); - - b.Property<int>("LogicalName") - .HasColumnType("int") - .HasComment("閫昏緫鍖哄煙"); - - b.Property<decimal>("MaxWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�澶ф壙閲�"); - - b.Property<string>("PlaceCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<int>("PlaceStatus") - .HasColumnType("int") - .HasComment("搴撲綅鐘舵��"); - - b.Property<string>("PositionnoForSrm") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍫嗗灈鏈哄唴閮ㄧ殑浣嶇疆"); - - b.Property<int>("Priority") - .HasColumnType("int") - .HasComment("浼樺厛绾�"); - - b.Property<int>("RowNo") - .HasColumnType("int") - .HasComment("鎺�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<decimal>("Width") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅瀹藉害"); - - b.Property<string>("Xzb") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅X鍧愭爣"); - - b.Property<string>("Yzb") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅Y鍧愭爣"); - - b.Property<string>("Zzb") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅Z鍧愭爣"); - - b.HasKey("Id"); - - b.HasIndex("AreaId"); - - b.ToTable("wms_place"); - - b.HasComment("搴撲綅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃鍚嶇О"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DeclarationCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曞彿"); - - b.Property<int>("InspectionStatus") - .HasColumnType("int") - .HasComment("鎶ユ鐘舵��"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Majorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("涓撲笟"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<int>("ReceivingStatus") - .HasColumnType("int") - .HasComment("鏀惰揣鐘舵��"); - - b.Property<string>("Remarks") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("澶囨敞"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<string>("SourceBillNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("閫佽揣閫氱煡鍗曞彿"); - - b.Property<string>("StoreRoomname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撻棿"); - - b.Property<int>("TradeMode") - .HasColumnType("int") - .HasComment("璐告槗鏂瑰紡"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Vendorcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗙紪鐮�"); - - b.Property<string>("Vendorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗗悕绉�"); - - b.Property<string>("WMSNO") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("WMS鏀惰揣鍗曞彿"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.Property<string>("WarehouseKeepername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撶鍛�"); - - b.HasKey("Id"); - - b.ToTable("wms_receiptorder"); - - b.HasComment("鏀惰揣鍗�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("CustomsNum") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧鏁伴噺"); - - b.Property<decimal>("CustomsPrices") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧閲戦"); - - b.Property<string>("CustomsUnitName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曚綅"); - - b.Property<decimal>("DeliveryQty") - .HasMaxLength(50) - .HasColumnType("decimal(18,2)") - .HasComment("閫佽揣鏁伴噺"); - - b.Property<int>("InspectionResultsEnum") - .HasColumnType("int") - .HasComment("鎶ユ缁撴灉"); - - b.Property<int>("InspectionStatus") - .HasColumnType("int") - .HasComment("鎶ユ鐘舵��"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("ItemNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧椤瑰彿"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<string>("PlaceCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<decimal>("Price") - .HasColumnType("decimal(18,2)") - .HasComment("涓嶅惈绋庡崟浠�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<decimal>("ReceivedQty") - .HasMaxLength(50) - .HasColumnType("decimal(18,2)") - .HasComment("鏀惰揣鏁伴噺"); - - b.Property<int>("ReceivingStatus") - .HasColumnType("int") - .HasComment("鏀惰揣鐘舵��"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("SpecialNeeds") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗规畩瑕佹眰"); - - b.Property<decimal>("SumPrice") - .HasColumnType("decimal(18,2)") - .HasComment("鎴愭湰閲戦"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<decimal>("TheoreticalWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鐞嗚閲嶉噺"); - - b.Property<string>("TradeName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍝佸悕"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_receiptorder_details"); - - b.HasComment("鏀惰揣鍗曟嵁鏄庣粏琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsSortOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<decimal>("ActualQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("瀹為檯鍒嗘嫞鏁�"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹瑰櫒缂栧彿"); - - b.Property<string>("ContainerOrderNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒嗘嫞缁勭洏鍗曞彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OrderDetailID") - .HasColumnType("bigint"); - - b.Property<string>("OrderNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏉ユ簮鍗曞彿"); - - b.Property<string>("PartCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒嗘鍙�"); - - b.Property<string>("PlaceCode") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<string>("Remarks") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("澶囨敞"); - - b.Property<decimal>("SortQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("鍒嗘嫞鏁�"); - - b.Property<int>("SortStatus") - .HasColumnType("int") - .HasComment("鐘舵��-鏈垎鎷1銆佸垎鎷e畬鎴恄2"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_sortorder"); - - b.HasComment("鍒嗘嫞琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("BenefitingDepartcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗘枡閮ㄩ棬"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("閫�鏂欑敵璇锋棩鏈�"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃"); - - b.Property<string>("ConstructionTeamID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏂藉伐闃�"); - - b.Property<string>("CostCenterID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏀剁泭閮ㄩ棬"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FI_Client_Analysis_H") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("瀹㈡埛"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("MoveType") - .HasColumnType("int") - .HasComment("浜嬪姟绫诲瀷"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<string>("PickerID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗗彇浜�"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("WBSElementcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗙敤椤圭洰鍙�"); - - b.HasKey("Id"); - - b.ToTable("wms_stockreturn_order"); - - b.HasComment("閫�鏂欏叆搴撳崟"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_SCM") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("SCM鎵规鍙�"); - - b.Property<string>("Batchno_WMS") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("WMS鎵规鍙�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<decimal>("Length") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<decimal>("Number") - .HasColumnType("decimal(18,2)") - .HasComment("浠舵暟"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<string>("PartCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒嗘鍙�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_stockreturn_order_details"); - - b.HasComment("閫�鏂欏叆搴撳崟璇︽儏"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("BenefitingDepartcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗘枡閮ㄩ棬"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("棰嗘枡鍗曠敵璇锋棩鏈�"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃"); - - b.Property<string>("ConstructionTeamID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏂藉伐闃�"); - - b.Property<string>("CostCenterID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍙楃泭閮ㄩ棬"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FI_Client_Analysis_H") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("瀹㈡埛"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long>("IsInnerCompany") - .HasColumnType("bigint") - .HasComment("鏄惁鍏徃闂翠氦鏄�"); - - b.Property<string>("MoveType") - .HasColumnType("nvarchar(max)") - .HasComment("浜嬪姟绫诲瀷"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<string>("PickerID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗘枡浜�"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("WBSElementcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗙敤椤圭洰鍙�"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.HasKey("Id"); - - b.ToTable("wms_takematerialorder"); - - b.HasComment("棰嗘枡鍗�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrderDetail", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_SCM") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("SCM鎵规鍙�"); - - b.Property<string>("Batchno_WMS") - .HasColumnType("nvarchar(max)") - .HasComment("WMS鎵规鍙�"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("DistributeQty") - .HasColumnType("decimal(18,2)") - .HasComment("涓嬪彂鏁伴噺"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<decimal>("Number") - .HasColumnType("decimal(18,2)") - .HasComment("浠舵暟"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("SCM棰嗘枡鐢宠鍗曟槑缁嗚鍞竴鏍囪瘑"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<string>("PartCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒嗘鍙�"); - - b.Property<string>("PlaceCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_takematerial_orderdetail"); - - b.HasComment("鍗曟嵁鏄庣粏琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTask", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Aisle") - .HasColumnType("int") - .HasComment("宸烽亾"); - - b.Property<string>("AreaName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撳尯鍚嶇О"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Description") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍏ュ簱鏉ユ簮"); - - b.Property<int>("DodeviceId") - .HasColumnType("int") - .HasComment("浠诲姟鎵ц鍫嗗灈鏈篒d"); - - b.Property<string>("DodevicenodeId") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璁惧鎵ц鑺傜偣Id"); - - b.Property<int>("Dodevicetype") - .HasMaxLength(50) - .HasColumnType("int") - .HasComment("璁惧绫诲瀷"); - - b.Property<int>("EmptyContainer") - .HasColumnType("int") - .HasComment("鏄惁绌烘墭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("IsRead") - .HasColumnType("bit") - .HasComment("WCS鏄惁鍙互璇诲彇"); - - b.Property<long>("OrderDetailsId") - .HasColumnType("bigint") - .HasComment("鍗曟嵁鏄庣粏Id"); - - b.Property<string>("OrderNo") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("缁勭洏璁板綍鍗曟嵁鍙�"); - - b.Property<int>("SendTimes") - .HasColumnType("int") - .HasComment("鍙戦�佹鏁�"); - - b.Property<string>("SourcePlace") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰搴撲綅"); - - b.Property<int>("TaskDodeviceStatus") - .HasColumnType("int") - .HasComment("浠诲姟璁惧鐘舵��"); - - b.Property<int>("TaskLevel") - .HasColumnType("int") - .HasComment("浠诲姟绾у埆"); - - b.Property<int>("TaskModel") - .HasColumnType("int") - .HasComment("浠诲姟鏂瑰紡"); - - b.Property<string>("TaskNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("浠诲姟鍙�"); - - b.Property<int>("TaskStatus") - .HasColumnType("int") - .HasComment("浠诲姟鐘舵��"); - - b.Property<int>("TaskType") - .HasColumnType("int") - .HasComment("浠诲姟绫诲瀷"); - - b.Property<string>("ToPlace") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐩爣搴撲綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_task"); - - b.HasComment("浠诲姟绠$悊琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsWarehouseEntrance", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("AffiliatedRoadway") - .HasColumnType("int") - .HasComment("鎵�灞炲贩閬�"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("LesWorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("绫诲瀷-1.鍏ュ簱鍙2.鍑哄簱鍙�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_warehouse_entrance"); - - b.HasComment("搴撳彛琛�"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCode", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AuthorName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浣滆�呭鍚�"); - - b.Property<string>("BusName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("涓氬姟鍚�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DatabaseName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳悕"); - - b.Property<string>("FormDesign") - .HasColumnType("text") - .HasComment("鍔ㄦ�佽〃鍗�"); - - b.Property<int>("FormDesignType") - .HasColumnType("int") - .HasComment("鍔ㄦ�佽〃鍗曠被鍨�"); - - b.Property<string>("GenerateType") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢熸垚鏂瑰紡"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MenuApplication") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鑿滃崟搴旂敤鍒嗙被"); - - b.Property<long>("MenuPid") - .HasColumnType("bigint") - .HasComment("鑿滃崟缂栫爜"); - - b.Property<string>("ModuleName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("妯″潡鍚�,鐢ㄤ簬鐢熸垚鐨勬枃浠跺す鐩綍"); - - b.Property<string>("NameSpace") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍛藉悕绌洪棿"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_low_code_module"); - - b.HasComment("浣庝唬鐮佹ā鍧楃鐞�"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCodeDataBase", b => - { - b.Property<Guid>("Id") - .HasColumnType("uniqueidentifier") - .HasComment("Id涓婚敭"); - - b.Property<string>("ClassName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("绫诲悕"); - - b.Property<string>("Control_Key") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢Key"); - - b.Property<string>("Control_Label") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢鍚嶇О"); - - b.Property<string>("Control_Model") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢瀛楁"); - - b.Property<string>("Control_Type") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢瀛楁"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DbParam") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("鏁版嵁绫诲瀷琛ュ厖鍙傛暟"); - - b.Property<string>("DbTypeName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("鏁版嵁绫诲瀷"); - - b.Property<string>("DtoTypeName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("浼犲叆鏁版嵁绫诲瀷"); - - b.Property<string>("FieldName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("瀛楁鍚嶇О"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool?>("IsRequired") - .HasColumnType("bit") - .HasComment("鏄惁蹇呭~"); - - b.Property<string>("QueryType") - .HasColumnType("nvarchar(max)") - .HasComment("鏌ヨ鏂瑰紡"); - - b.Property<bool?>("QueryWhether") - .HasColumnType("bit") - .HasComment("鏄惁鏄煡璇�"); - - b.Property<long>("SysLowCodeId") - .HasColumnType("bigint"); - - b.Property<string>("TableDesc") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("琛ㄦ弿杩�"); - - b.Property<string>("TableName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("琛ㄥ悕"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<bool?>("WhetherAddUpdate") - .HasColumnType("bit") - .HasComment("澧炴敼"); - - b.Property<bool?>("WhetherOrderBy") - .HasColumnType("bit") - .HasComment("鎺掑簭"); - - b.Property<bool?>("WhetherTable") - .HasColumnType("bit") - .HasComment("鍒楄〃鏄剧ず"); - - b.HasKey("Id"); - - b.HasIndex("SysLowCodeId"); - - b.ToTable("sys_low_code_module_database"); - - b.HasComment("浣庝唬鐮佹ā鍧楃鐞�"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.SysCodeModular", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AuthorName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浣滆�呭鍚�"); - - b.Property<string>("BusName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("涓氬姟鍚�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DatabaseName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳悕"); - - b.Property<string>("FormDesignJson") - .HasColumnType("nvarchar(max)") - .HasComment("鍔ㄦ�佽〃鍗�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MenuApplication") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鑿滃崟搴旂敤鍒嗙被"); - - b.Property<long>("MenuPid") - .HasColumnType("bigint") - .HasComment("鑿滃崟缂栫爜"); - - b.Property<string>("NameSpace") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍛藉悕绌洪棿"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_code_modular"); - - b.HasComment("鍔ㄦ�佺敓鎴愭ā鍧楃鐞嗚〃"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.WmsBase.WmsRolePdaMenu", b => - { - b.HasOne("Admin.NET.Core.WmsPdaPower", "WmsPdaPower") - .WithMany("WmsRolePdaMenus") - .HasForeignKey("PdaMenuId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("WmsRolePdaMenus") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysRole"); - - b.Navigation("WmsPdaPower"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesEntrance", b => - { - b.HasOne("Admin.NET.Core.WmsArea", "WmsArea") - .WithMany("LesEntrance") - .HasForeignKey("AreaId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsArea"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictData", b => - { - b.HasOne("Admin.NET.Core.SysDictType", "SysDictType") - .WithMany("SysDictDatas") - .HasForeignKey("TypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysDictType"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpExtOrgPos", b => - { - b.HasOne("Admin.NET.Core.SysEmp", "SysEmp") - .WithMany() - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysOrg", "SysOrg") - .WithMany() - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysPos", "SysPos") - .WithMany() - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysOrg"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpPos", b => - { - b.HasOne("Admin.NET.Core.SysEmp", "SysEmp") - .WithMany("SysEmpPos") - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysPos", "SysPos") - .WithMany("SysEmpPos") - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleDataScope", b => - { - b.HasOne("Admin.NET.Core.SysOrg", "SysOrg") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleMenu", b => - { - b.HasOne("Admin.NET.Core.SysMenu", "SysMenu") - .WithMany("SysRoleMenus") - .HasForeignKey("SysMenuId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("SysRoleMenus") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysMenu"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserDataScope", b => - { - b.HasOne("Admin.NET.Core.SysOrg", "SysOrg") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysUser", "SysUser") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserRole", b => - { - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("SysUserRoles") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysUser", "SysUser") - .WithMany("SysUserRoles") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysRole"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsDumpOrder", "WmsDumpOrder") - .WithMany("WmsDumpOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsDumpOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsGoodsReturnOrder", "WmsGoodsReturnOrder") - .WithMany("WmsGoodsReturnOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsGoodsReturnOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsHistoryMaterialContainer", b => - { - b.HasOne("Admin.NET.Core.WmsMaterial", "WmsMaterial") - .WithMany("WmsFoamingHistoryMaterialContainer") - .HasForeignKey("MaterialId"); - - b.Navigation("WmsMaterial"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterialContainer", b => - { - b.HasOne("Admin.NET.Core.WmsMaterial", "WmsMaterial") - .WithMany("WmsFoamingMaterialContainer") - .HasForeignKey("MaterialId"); - - b.HasOne("Admin.NET.Core.WmsContainer", "WmsContainer") - .WithMany() - .HasForeignKey("WmsContainerId"); - - b.Navigation("WmsContainer"); - - b.Navigation("WmsMaterial"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsOrder", "WareOrder") - .WithMany("WareOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WareOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPlace", b => - { - b.HasOne("Admin.NET.Core.WmsArea", "WmsArea") - .WithMany("WmsPlaces") - .HasForeignKey("AreaId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsArea"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsReceiptOrder", "WmsReceiptOrder") - .WithMany("WmsReceiptOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsReceiptOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsStockReturnOrder", "WmsStockReturnOrder") - .WithMany("WmsStockReturnOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsStockReturnOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrderDetail", b => - { - b.HasOne("Admin.NET.Core.WmsTakeMaterialOrder", "WmsTakeMaterialOrder") - .WithMany("WmsTakeMaterialOrderDetail") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsTakeMaterialOrder"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCodeDataBase", b => - { - b.HasOne("Furion.Extras.Admin.NET.Entity.SysLowCode", "SysLowCode") - .WithMany("Databases") - .HasForeignKey("SysLowCodeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysLowCode"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictType", b => - { - b.Navigation("SysDictDatas"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmp", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysMenu", b => - { - b.Navigation("SysRoleMenus"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysOrg", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysUserDataScopes"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysPos", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRole", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysRoleMenus"); - - b.Navigation("SysUserRoles"); - - b.Navigation("WmsRolePdaMenus"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUser", b => - { - b.Navigation("SysUserDataScopes"); - - b.Navigation("SysUserRoles"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsArea", b => - { - b.Navigation("LesEntrance"); - - b.Navigation("WmsPlaces"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrder", b => - { - b.Navigation("WmsDumpOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrder", b => - { - b.Navigation("WmsGoodsReturnOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterial", b => - { - b.Navigation("WmsFoamingHistoryMaterialContainer"); - - b.Navigation("WmsFoamingMaterialContainer"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrder", b => - { - b.Navigation("WareOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPdaPower", b => - { - b.Navigation("WmsRolePdaMenus"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrder", b => - { - b.Navigation("WmsReceiptOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrder", b => - { - b.Navigation("WmsStockReturnOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrder", b => - { - b.Navigation("WmsTakeMaterialOrderDetail"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCode", b => - { - b.Navigation("Databases"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/20240413040247_v1.0.1.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/20240413040247_v1.0.1.cs deleted file mode 100644 index 850c5e0..0000000 --- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/20240413040247_v1.0.1.cs +++ /dev/null @@ -1,3102 +0,0 @@ -锘縰sing System; -using Microsoft.EntityFrameworkCore.Migrations; - -#nullable disable - -namespace Admin.NET.Database.Migrations.Migrations -{ - public partial class v101 : Migration - { - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "les_agv_task", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - TaskType = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "浠诲姟绫诲瀷-鍏ュ簱;鍑哄簱"), - StartPlace = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "璧峰浣嶇疆"), - StartName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "璧峰鍚嶇О"), - EndPlace = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "缁撴潫浣嶇疆"), - EndName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "缁撴潫鍚嶇О"), - AgvState = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐘舵��"), - TransportOrder = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "褰撳墠鎵ц鐨勪换鍔�"), - TaskNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "涓讳换鍔″彿"), - Pid = table.Column<long>(type: "bigint", nullable: false, comment: "Agv鐖禝d"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹瑰櫒缂栧彿"), - WorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - SourcePlaceName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "璧峰搴撲綅鍚嶇О"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_agv_task", x => x.Id); - }, - comment: "Agv浠诲姟琛�"); - - migrationBuilder.CreateTable( - name: "les_agv_waring", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Code = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "鍞竴缂栫爜"), - TransportOrder = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "浠诲姟鍙�"), - AgvCarCode = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "agv灏忚溅缂栧彿"), - FaultText = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏁呴殰鍐呭"), - StartTime = table.Column<DateTimeOffset>(type: "datetimeoffset", maxLength: 50, nullable: true, comment: "鏁呴殰鏃堕棿"), - YesOrNot = table.Column<int>(type: "int", maxLength: 50, nullable: false, comment: "鏄惁瑙e喅"), - IsRead = table.Column<bool>(type: "bit", nullable: false, comment: "WCS鏄惁鍙互璇诲彇"), - WorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_agv_waring", x => x.Id); - }, - comment: "Agv鎶ヨ"); - - migrationBuilder.CreateTable( - name: "les_devicewaring", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - WcsId = table.Column<int>(type: "int", nullable: false, comment: "WcsId"), - DeviceName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "璁惧鍚嶇О"), - FaultName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏁呴殰鍚嶇О"), - StartTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍙戠敓鏃堕棿"), - EndTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "缁撴潫鏃堕棿"), - RunningTime = table.Column<int>(type: "int", nullable: false, comment: "鎸佺画鏃堕棿"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_devicewaring", x => x.Id); - }, - comment: "璁惧鎶ヨ"); - - migrationBuilder.CreateTable( - name: "les_packwarehouse", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - PackCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏍囩鐮�"), - MaterialNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡鐮�"), - Long = table.Column<int>(type: "int", nullable: false, comment: "闀�"), - Wide = table.Column<int>(type: "int", nullable: false, comment: "瀹�"), - High = table.Column<int>(type: "int", nullable: false, comment: "楂�"), - OutputEntrance = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍑哄簱鍙�"), - LesPackState = table.Column<int>(type: "int", nullable: false, comment: "鎵撳寘鐘舵��"), - OrderNo = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鍗曟嵁鍙�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_packwarehouse", x => x.Id); - }, - comment: "鎵撳寘琛�"); - - migrationBuilder.CreateTable( - name: "les_serial_rule_detail", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - SerialType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴忓彿绫诲埆"), - ItemNo = table.Column<int>(type: "int", nullable: false, comment: "椤规"), - SourceType = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "璧勬枡鏉ユ簮"), - SerialLength = table.Column<int>(type: "int", nullable: false, comment: "闀垮害"), - SearchStart = table.Column<int>(type: "int", nullable: false, comment: "鎾峰彇鐮佹暟(璧�)"), - DecimalType = table.Column<int>(type: "int", nullable: false, comment: "杩涗綅绫诲瀷"), - UserDefine = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "浣跨敤鑰呰嚜瀹氫箟"), - SerialCodeFlag = table.Column<int>(type: "int", nullable: false, comment: "搴忓彿缂栫爜"), - Description = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: true, comment: "璇存槑"), - SerialTypeNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴忓彿绫诲埆缂栧彿"), - GetData = table.Column<int>(type: "int", maxLength: 50, nullable: false, comment: "鎾峰彇"), - PadLeft = table.Column<int>(type: "int", nullable: false, comment: "鑷姩琛ラ浂"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_serial_rule_detail", x => x.Id); - }, - comment: "缂栧彿瑙勫垯"); - - migrationBuilder.CreateTable( - name: "les_station", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - ProductionlineId = table.Column<long>(type: "bigint", nullable: false, comment: "浜х嚎Id"), - Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "宸ヤ綅鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "宸ヤ綅缂栫爜"), - Status = table.Column<int>(type: "int", nullable: false, comment: "宸ヤ綅鐘舵��"), - StataionStatus = table.Column<int>(type: "int", nullable: false, comment: "杩愯鐘舵��"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅缂栫爜"), - PlaceSpec = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "搴撲綅瑙勬牸"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_station", x => x.Id); - }, - comment: "宸ヤ綅琛�"); - - migrationBuilder.CreateTable( - name: "sys_app", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Active = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁榛樿婵�娲�"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_app", x => x.Id); - }, - comment: "绯荤粺搴旂敤琛�"); - - migrationBuilder.CreateTable( - name: "sys_code_gen", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - AuthorName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "浣滆�呭鍚�"), - TablePrefix = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁绉婚櫎琛ㄥ墠缂�"), - GenerateType = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鐢熸垚鏂瑰紡"), - DatabaseName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏁版嵁搴撳悕"), - TableName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏁版嵁搴撹〃鍚�"), - NameSpace = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍛藉悕绌洪棿"), - ModuleName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "妯″潡璺緞"), - FrontProName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍓嶇椤圭洰鍚�"), - BusName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "涓氬姟鍚�"), - MenuApplication = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鑿滃崟搴旂敤鍒嗙被"), - MenuPid = table.Column<long>(type: "bigint", nullable: false, comment: "鑿滃崟缂栫爜"), - LowCodeId = table.Column<long>(type: "bigint", nullable: true), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_code_gen", x => x.Id); - }, - comment: "浠g爜鐢熸垚琛�"); - - migrationBuilder.CreateTable( - name: "sys_code_gen_config", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - CodeGenId = table.Column<long>(type: "bigint", nullable: false, comment: "浠g爜鐢熸垚涓昏〃ID"), - ColumnName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false, comment: "鏁版嵁搴撳瓧娈靛悕"), - ColumnComment = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "瀛楁鎻忚堪"), - NetType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: ".NET鏁版嵁绫诲瀷"), - DtoNetType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: ".NET鏁版嵁绫诲瀷(鎺ュ彛浼犲叆)"), - EffectType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "浣滅敤绫诲瀷"), - FkEntityName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "澶栭敭瀹炰綋鍚嶇О"), - FkColumnName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "澶栭敭鏄剧ず瀛楁"), - FkColumnNetType = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "澶栭敭鏄剧ず瀛楁.NET绫诲瀷"), - DictTypeCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀛楀吀Code"), - WhetherRetract = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鍒楄〃鏄惁缂╄繘"), - WhetherRequired = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁蹇呭~"), - QueryWhether = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁鏄煡璇㈡潯浠�"), - QueryType = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "鏌ヨ鏂瑰紡"), - WhetherTable = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鍒楄〃鏄剧ず"), - WhetherOrderBy = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鍒楄〃鏄惁鎺掑簭"), - WhetherAddUpdate = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "澧炴敼"), - ColumnKey = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "涓婚敭"), - DataType = table.Column<string>(type: "nvarchar(128)", maxLength: 128, nullable: true, comment: "鏁版嵁搴撲腑绫诲瀷"), - WhetherCommon = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁閫氱敤瀛楁"), - ShowTitleMinWidth = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "椤甸潰鍒楁樉绀烘渶灏忓搴�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_code_gen_config", x => x.Id); - }, - comment: "浠g爜鐢熸垚瀛楁閰嶇疆琛�"); - - migrationBuilder.CreateTable( - name: "sys_code_modular", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - AuthorName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "浣滆�呭鍚�"), - DatabaseName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏁版嵁搴撳悕"), - NameSpace = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍛藉悕绌洪棿"), - BusName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "涓氬姟鍚�"), - MenuApplication = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鑿滃崟搴旂敤鍒嗙被"), - MenuPid = table.Column<long>(type: "bigint", nullable: false, comment: "鑿滃崟缂栫爜"), - FormDesignJson = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鍔ㄦ�佽〃鍗�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_code_modular", x => x.Id); - }, - comment: "鍔ㄦ�佺敓鎴愭ā鍧楃鐞嗚〃"); - - migrationBuilder.CreateTable( - name: "sys_config", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Value = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "灞炴�у��"), - SysFlag = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁鏄郴缁熷弬鏁�"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - GroupCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "甯搁噺鎵�灞炲垎绫荤殑缂栫爜"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_config", x => x.Id); - }, - comment: "鍙傛暟閰嶇疆琛�"); - - migrationBuilder.CreateTable( - name: "sys_dict_type", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - EnumClassName = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "瀵瑰簲鏋氫妇"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_dict_type", x => x.Id); - }, - comment: "瀛楀吀绫诲瀷琛�"); - - migrationBuilder.CreateTable( - name: "sys_emp", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "鐢ㄦ埛Id"), - JobNum = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: true, comment: "宸ュ彿"), - OrgId = table.Column<long>(type: "bigint", nullable: false, comment: "鏈烘瀯Id"), - OrgName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏈烘瀯鍚嶇О") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_emp", x => x.Id); - }, - comment: "鍛樺伐琛�"); - - migrationBuilder.CreateTable( - name: "sys_excel_template", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "妯℃澘鍚嶇О"), - Version = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鐗堟湰"), - AppName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鎵�灞炲簲鐢�"), - ClassName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "绫诲悕"), - TemplateFileName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "妯℃澘鏂囦欢鍚嶇О"), - UnionUniqueFields = table.Column<string>(type: "nvarchar(300)", maxLength: 300, nullable: false, comment: "鍞竴瀛楁闆�"), - HeadStartLine = table.Column<int>(type: "int", nullable: false, comment: "琛ㄥご寮�濮嬭"), - DataStartLine = table.Column<int>(type: "int", nullable: false, comment: "鏁版嵁寮�濮嬭"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_excel_template", x => x.Id); - table.UniqueConstraint("AK_sys_excel_template_ClassName_Version_AppName", x => new { x.ClassName, x.Version, x.AppName }); - }, - comment: "Excel妯℃澘"); - - migrationBuilder.CreateTable( - name: "sys_file", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - FileLocation = table.Column<int>(type: "int", nullable: false, comment: "鏂囦欢瀛樺偍浣嶇疆"), - FileBucket = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏂囦欢浠撳簱"), - FileOriginName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏂囦欢鍚嶇О"), - FileSuffix = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏂囦欢鍚庣紑"), - FileSizeKb = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "鏂囦欢澶у皬kb"), - FileSizeInfo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏂囦欢澶у皬淇℃伅"), - FileObjectName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "瀛樺偍鍒癰ucket鐨勫悕绉�"), - FilePath = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "瀛樺偍璺緞"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_file", x => x.Id); - }, - comment: "鏂囦欢淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "sys_forms", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Title = table.Column<string>(type: "nvarchar(max)", nullable: false, comment: "鏍囬"), - FormJson = table.Column<string>(type: "nvarchar(max)", nullable: false, comment: "form琛ㄥ崟Json"), - Publish = table.Column<bool>(type: "bit", nullable: false, comment: "鏄惁鍙戝竷"), - TypeId = table.Column<long>(type: "bigint", nullable: false, comment: "琛ㄥ崟绫诲瀷ID"), - Version = table.Column<int>(type: "int", nullable: false, comment: "鐗堟湰"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_forms", x => x.Id); - }, - comment: "琛ㄥ崟琛�"); - - migrationBuilder.CreateTable( - name: "sys_log_audit", - columns: table => new - { - Id = table.Column<int>(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - TableName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "琛ㄥ悕"), - ColumnName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒楀悕"), - NewValue = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鏂板��"), - OldValue = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鏃у��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鎿嶄綔鏃堕棿"), - UserId = table.Column<long>(type: "bigint", nullable: false, comment: "鎿嶄綔浜篒d"), - UserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鎿嶄綔浜哄悕绉�"), - Operate = table.Column<int>(type: "int", nullable: false, comment: "鎿嶄綔鏂瑰紡") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_audit", x => x.Id); - }, - comment: "瀹¤鏃ュ織琛�"); - - migrationBuilder.CreateTable( - name: "sys_log_ex", - columns: table => new - { - Id = table.Column<int>(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Account = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鎿嶄綔浜�"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍚嶇О"), - ClassName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "绫诲悕"), - MethodName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏂规硶鍚�"), - ExceptionName = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "寮傚父鍚嶇О"), - ExceptionMsg = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "寮傚父淇℃伅"), - ExceptionSource = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "寮傚父婧�"), - StackTrace = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鍫嗘爤淇℃伅"), - ParamsObj = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鍙傛暟瀵硅薄"), - ExceptionTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "寮傚父鏃堕棿") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_ex", x => x.Id); - }, - comment: "寮傚父鏃ュ織琛�"); - - migrationBuilder.CreateTable( - name: "sys_log_op", - columns: table => new - { - Id = table.Column<int>(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍚嶇О"), - Success = table.Column<int>(type: "int", nullable: false, comment: "鏄惁鎵ц鎴愬姛"), - Message = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鍏蜂綋娑堟伅"), - Ip = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "IP"), - Location = table.Column<string>(type: "nvarchar(1024)", maxLength: 1024, nullable: true, comment: "鍦板潃"), - Browser = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "娴忚鍣�"), - Os = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鎿嶄綔绯荤粺"), - Url = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "璇锋眰鍦板潃"), - ClassName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "绫诲悕绉�"), - MethodName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏂规硶鍚嶇О"), - ReqMethod = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "璇锋眰鏂瑰紡"), - Param = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "璇锋眰鍙傛暟"), - Result = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "杩斿洖缁撴灉"), - ElapsedTime = table.Column<long>(type: "bigint", nullable: false, comment: "鑰楁椂"), - OpTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鎿嶄綔鏃堕棿"), - Account = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鎿嶄綔浜�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_op", x => x.Id); - }, - comment: "鎿嶄綔鏃ュ織琛�"); - - migrationBuilder.CreateTable( - name: "sys_log_vis", - columns: table => new - { - Id = table.Column<int>(type: "int", nullable: false) - .Annotation("SqlServer:Identity", "1, 1"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍚嶇О"), - Success = table.Column<int>(type: "int", nullable: false, comment: "鏄惁鎵ц鎴愬姛"), - Message = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鍏蜂綋娑堟伅"), - Ip = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "IP"), - Location = table.Column<string>(type: "nvarchar(1024)", maxLength: 1024, nullable: true, comment: "鍦板潃"), - Browser = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "娴忚鍣�"), - Os = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鎿嶄綔绯荤粺"), - VisType = table.Column<int>(type: "int", nullable: false, comment: "璁块棶绫诲瀷"), - VisTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "璁块棶鏃堕棿"), - Account = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "璁块棶浜�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_log_vis", x => x.Id); - }, - comment: "璁块棶鏃ュ織琛�"); - - migrationBuilder.CreateTable( - name: "sys_low_code_module", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - AuthorName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "浣滆�呭鍚�"), - GenerateType = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鐢熸垚鏂瑰紡"), - DatabaseName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏁版嵁搴撳悕"), - NameSpace = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍛藉悕绌洪棿"), - ModuleName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "妯″潡鍚�,鐢ㄤ簬鐢熸垚鐨勬枃浠跺す鐩綍"), - BusName = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "涓氬姟鍚�"), - MenuApplication = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鑿滃崟搴旂敤鍒嗙被"), - MenuPid = table.Column<long>(type: "bigint", nullable: false, comment: "鑿滃崟缂栫爜"), - FormDesignType = table.Column<int>(type: "int", nullable: false, comment: "鍔ㄦ�佽〃鍗曠被鍨�"), - FormDesign = table.Column<string>(type: "text", nullable: true, comment: "鍔ㄦ�佽〃鍗�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_low_code_module", x => x.Id); - }, - comment: "浣庝唬鐮佹ā鍧楃鐞�"); - - migrationBuilder.CreateTable( - name: "sys_menu", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Pid = table.Column<long>(type: "bigint", nullable: false, comment: "鐖禝d"), - Pids = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鐖禝ds"), - Name = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Type = table.Column<int>(type: "int", nullable: false, comment: "鑿滃崟绫诲瀷"), - Icon = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鍥炬爣"), - Router = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "璺敱鍦板潃"), - Component = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "缁勪欢鍦板潃"), - Permission = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鏉冮檺鏍囪瘑"), - Application = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴旂敤鍒嗙被"), - OpenType = table.Column<int>(type: "int", nullable: false, comment: "鎵撳紑鏂瑰紡"), - Visible = table.Column<string>(type: "nvarchar(5)", maxLength: 5, nullable: true, comment: "鏄惁鍙"), - Link = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍐呴摼鍦板潃"), - Redirect = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "閲嶅畾鍚戝湴鍧�"), - Weight = table.Column<int>(type: "int", nullable: false, comment: "鏉冮噸"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_menu", x => x.Id); - }, - comment: "鑿滃崟琛�"); - - migrationBuilder.CreateTable( - name: "sys_notice", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Title = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鏍囬"), - Content = table.Column<string>(type: "nvarchar(max)", nullable: false, comment: "鍐呭"), - Type = table.Column<int>(type: "int", nullable: false, comment: "绫诲瀷"), - PublicUserId = table.Column<long>(type: "bigint", nullable: false, comment: "鍙戝竷浜篒d"), - PublicUserName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鍙戝竷浜哄鍚�"), - PublicOrgId = table.Column<long>(type: "bigint", nullable: false, comment: "鍙戝竷鏈烘瀯Id"), - PublicOrgName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍙戝竷鏈烘瀯鍚嶇О"), - PublicTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍙戝竷鏃堕棿"), - CancelTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鎾ゅ洖鏃堕棿"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_notice", x => x.Id); - }, - comment: "閫氱煡鍏憡琛�"); - - migrationBuilder.CreateTable( - name: "sys_notice_user", - columns: table => new - { - NoticeId = table.Column<long>(type: "bigint", nullable: false, comment: "閫氱煡鍏憡Id"), - UserId = table.Column<long>(type: "bigint", nullable: false, comment: "鐢ㄦ埛Id"), - ReadTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "闃呰鏃堕棿"), - ReadStatus = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_notice_user", x => new { x.NoticeId, x.UserId }); - }, - comment: "閫氱煡鍏憡鐢ㄦ埛琛�"); - - migrationBuilder.CreateTable( - name: "sys_org", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Pid = table.Column<long>(type: "bigint", nullable: false, comment: "鐖禝d"), - Pids = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鐖禝ds"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Contacts = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鑱旂郴浜�"), - Tel = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鐢佃瘽"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - OrgType = table.Column<string>(type: "nvarchar(max)", nullable: true), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_org", x => x.Id); - }, - comment: "缁勭粐鏈烘瀯琛�"); - - migrationBuilder.CreateTable( - name: "sys_pos", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_pos", x => x.Id); - }, - comment: "鑱屼綅琛�"); - - migrationBuilder.CreateTable( - name: "sys_role", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - DataScopeType = table.Column<int>(type: "int", nullable: false, comment: "鏁版嵁鑼冨洿绫诲瀷"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - RoleType = table.Column<int>(type: "int", nullable: false, comment: "瑙掕壊绫诲瀷-闆嗗洟瑙掕壊_0銆佸姞鐩熷晢瑙掕壊_1銆侀棬搴楄鑹瞋2"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_role", x => x.Id); - }, - comment: "瑙掕壊琛�"); - - migrationBuilder.CreateTable( - name: "sys_timer", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - JobName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: false, comment: "浠诲姟鍚嶇О"), - DoOnce = table.Column<bool>(type: "bit", nullable: false, comment: "鍙墽琛屼竴娆�"), - StartNow = table.Column<bool>(type: "bit", nullable: false, comment: "绔嬪嵆鎵ц"), - ExecuteType = table.Column<int>(type: "int", nullable: false, comment: "鎵ц绫诲瀷"), - Interval = table.Column<int>(type: "int", nullable: true, comment: "闂撮殧鏃堕棿"), - Cron = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "Cron琛ㄨ揪寮�"), - TimerType = table.Column<int>(type: "int", nullable: false, comment: "瀹氭椂鍣ㄧ被鍨�"), - RequestUrl = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "璇锋眰url"), - RequestParameters = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "璇锋眰鍙傛暟"), - Headers = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "Headers"), - RequestType = table.Column<int>(type: "int", nullable: false, comment: "璇锋眰绫诲瀷"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_timer", x => x.Id); - }, - comment: "瀹氭椂浠诲姟琛�"); - - migrationBuilder.CreateTable( - name: "sys_user", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Account = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "璐﹀彿"), - Password = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "瀵嗙爜"), - NickName = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鏄电О"), - Name = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "濮撳悕"), - Avatar = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "澶村儚"), - Birthday = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鐢熸棩"), - Sex = table.Column<int>(type: "int", nullable: false, comment: "鎬у埆-鐢穇1銆佸コ_2"), - Email = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "閭"), - Phone = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鎵嬫満"), - Tel = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鐢佃瘽"), - LastLoginIp = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "鏈�鍚庣櫥褰旾P"), - LastLoginTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏈�鍚庣櫥褰曟椂闂�"), - AdminType = table.Column<int>(type: "int", nullable: false, comment: "绠$悊鍛樼被鍨�-瓒呯骇绠$悊鍛榑1銆佺鐞嗗憳_2銆佹櫘閫氳处鍙穇3"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��-姝e父_0銆佸仠鐢╛1銆佸垹闄2"), - WorkShopType = table.Column<int>(type: "int", nullable: false), - ProductionlineId = table.Column<long>(type: "bigint", nullable: false), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_user", x => x.Id); - }, - comment: "鐢ㄦ埛琛�"); - - migrationBuilder.CreateTable( - name: "test_students", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "瀛︾敓濮撳悕"), - Age = table.Column<int>(type: "int", nullable: false, comment: "瀛︾敓骞撮緞"), - StartName = table.Column<bool>(type: "bit", maxLength: 50, nullable: false, comment: "鏄惁鍦ㄦ牎"), - Gender = table.Column<int>(type: "int", nullable: false, comment: "鎬у埆"), - BrithDate = table.Column<DateTime>(type: "datetime2", nullable: false, comment: "鍑虹敓鏃ユ湡"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_test_students", x => x.Id); - }, - comment: "瀛︾敓淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "test_students2", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "瀛︾敓濮撳悕"), - Age = table.Column<int>(type: "int", nullable: false, comment: "瀛︾敓骞撮緞"), - HasMoney = table.Column<decimal>(type: "decimal(10,3)", nullable: false, comment: "闆惰姳閽�"), - StartName = table.Column<bool>(type: "bit", maxLength: 50, nullable: false, comment: "鏄惁鍦ㄦ牎"), - Gender = table.Column<int>(type: "int", nullable: false, comment: "鎬у埆"), - BrithDate = table.Column<DateTime>(type: "datetime2", nullable: false, comment: "鍑虹敓鏃ユ湡"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_test_students2", x => x.Id); - }, - comment: "瀛︾敓淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "test_students3", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(10)", maxLength: 10, nullable: true, comment: "瀛︾敓濮撳悕"), - Age = table.Column<int>(type: "int", nullable: false, comment: "瀛︾敓骞撮緞"), - HasMoney = table.Column<decimal>(type: "decimal(10,3)", nullable: false, comment: "闆惰姳閽�"), - StartName = table.Column<bool>(type: "bit", maxLength: 50, nullable: false, comment: "鏄惁鍦ㄦ牎"), - Gender = table.Column<int>(type: "int", nullable: false, comment: "鎬у埆"), - BrithDate = table.Column<DateTime>(type: "datetime2", nullable: false, comment: "鍑虹敓鏃ユ湡"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_test_students3", x => x.Id); - }, - comment: "瀛︾敓淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "wms_area", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - AreaName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鍚嶇О"), - AreaDesc = table.Column<string>(type: "nvarchar(250)", maxLength: 250, nullable: true, comment: "鎻忚堪"), - AreaStatus = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - AreaType = table.Column<int>(type: "int", nullable: false, comment: "鍒嗙被"), - IsSteel = table.Column<bool>(type: "bit", nullable: false, comment: "鏄惁涓洪挗骞冲彴"), - WorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_area", x => x.Id); - }, - comment: "搴撳尯琛�"); - - migrationBuilder.CreateTable( - name: "wms_container", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栧彿"), - ContainerType = table.Column<int>(type: "int", nullable: false, comment: "绫诲瀷"), - ContainerStatus = table.Column<int>(type: "int", nullable: false, comment: "鎵樼洏鐘舵��"), - SpecLength = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闀垮害"), - SpecWidth = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "瀹藉害"), - SpecHeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "楂樺害"), - LimitLength = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闄愰暱"), - LimitWidth = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闄愬"), - LimitHeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闄愰珮"), - MaxWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "杞介噸涓婇檺"), - ParentContainerId = table.Column<long>(type: "bigint", nullable: false, comment: "鐖舵墭鐩業d"), - AssetNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "璧勪骇缂栧彿"), - ContainerCategory = table.Column<int>(type: "int", nullable: false, comment: "鎵樼洏鍒嗙被"), - ErpNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "Erp鍗曞彿"), - IsVirtually = table.Column<int>(type: "int", nullable: false, comment: "鏄惁铏氭嫙"), - WorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_container", x => x.Id); - }, - comment: "鎵樼洏淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "wms_containerplace", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - PlaceId = table.Column<long>(type: "bigint", nullable: false, comment: "搴撲綅Id"), - PlaceCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "搴撲綅缂栫爜"), - ContainerId = table.Column<long>(type: "bigint", nullable: false, comment: "鎵樼洏Id"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "搴撲綅缂栫爜"), - ContainerPlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_containerplace", x => x.Id); - }, - comment: "鎵樼洏搴撲綅鍏崇郴琛�"); - - migrationBuilder.CreateTable( - name: "wms_dumporder", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderLargeCategory = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁澶х被"), - OrderSubclass = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁灏忕被"), - SOID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"), - NO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鍗曟嵁缂栧彿"), - Billdate = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃ユ湡"), - Creator = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍒涘缓浜�"), - Companyname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍏徃"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_dumporder", x => x.Id); - }, - comment: "杞偍鍗�"); - - migrationBuilder.CreateTable( - name: "wms_goodsreturnorder", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderLargeCategory = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁澶х被"), - OrderSubclass = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁灏忕被"), - SOID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"), - NO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鍗曟嵁缂栧彿"), - Billdate = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃ユ湡"), - Vendorcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "渚涘簲鍟嗙紪鐮�"), - Vendorname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "渚涘簲鍟嗗悕绉�"), - Companyname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍏徃鍚嶇О"), - WarehouseKeepername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撶鍛�"), - WarehouseCentername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撳偍涓績"), - GoodsReturnStatus = table.Column<int>(type: "int", nullable: false, comment: "閫�璐х姸鎬�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_goodsreturnorder", x => x.Id); - }, - comment: "閫�璐у崟"); - - migrationBuilder.CreateTable( - name: "wms_material", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - MaterialName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鍚嶇О"), - MaterialNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡缂栧彿"), - MaterialBatch = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡鎵规"), - MaterialType = table.Column<int>(type: "int", nullable: false, comment: "鐗╂枡绫诲埆"), - InspectionMethod = table.Column<int>(type: "int", nullable: false, comment: "鐗╂枡妫�楠�"), - MaterialSpec = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡瑙勬牸"), - MaterialDensity = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡瀵嗗害"), - MaterialUnit = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡鍗曚綅"), - AreaIds = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "搴撳尯Ids"), - AreaNameParameter = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "搴撳尯鍙傛暟"), - StationIds = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "宸ヤ綔鍖篒ds"), - StationNameParameter = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "宸ヤ綔鍖哄弬鏁�"), - Description = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true, comment: "鎻忚堪"), - Safeqty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "瀹夊叏瀛橀噺"), - MaxImumqty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏈�澶у瓨閲�"), - MinstorageAge = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏈�灏忓簱榫�"), - MaxstorageAge = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏈�澶у簱榫�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_material", x => x.Id); - }, - comment: "鐗╂枡淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "wms_materialstock", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - MaterialNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡缂栧彿"), - MaterialType = table.Column<int>(type: "int", nullable: false, comment: "鐗╂枡绫诲埆"), - MaterialBatch = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鎵规"), - MaterialName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鍚嶇О"), - MaterialSpec = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡瑙勬牸"), - Long = table.Column<int>(type: "int", nullable: false, comment: "闀�"), - Wide = table.Column<int>(type: "int", nullable: false, comment: "瀹�"), - High = table.Column<int>(type: "int", nullable: false, comment: "楂�"), - MaterialDensity = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡瀵嗗害"), - InspectionMethod = table.Column<int>(type: "int", nullable: false, comment: "妫�楠屾柟寮�"), - UnitType = table.Column<int>(type: "int", nullable: false, comment: "鍗曚綅绫诲埆"), - UnitNo = table.Column<int>(type: "int", nullable: false, comment: "鍗曚綅缂栧彿"), - StockNumber = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "瀹炵墿搴撳瓨鏁�"), - PlaceCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "搴撲綅缂栫爜"), - ContainerId = table.Column<long>(type: "bigint", nullable: false, comment: "鎵樼洏Id"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栫爜"), - AreaId = table.Column<long>(type: "bigint", nullable: false, comment: "搴撳尯Id"), - QuantityOfBill = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "璐﹂潰鏁伴噺"), - Source = table.Column<int>(type: "int", nullable: false, comment: "鍏ュ簱鏉ユ簮"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - ContractCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍚堝悓缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_materialstock", x => x.Id); - }, - comment: "搴撳瓨琛�"); - - migrationBuilder.CreateTable( - name: "wms_merchantinfo", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - MerchantNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢缂栧彿"), - MerchantName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢鍚嶇О"), - MerchantType = table.Column<int>(type: "int", nullable: false, comment: "瀹㈠晢鍒嗙被"), - MerchantShort = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢绠�绉�"), - MerchantGrade = table.Column<int>(type: "int", nullable: false, comment: "瀹㈠晢绛夌骇"), - MerchantAttribute = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢灞炴��"), - MerchantTmt = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢琛屼笟"), - MerchantContact = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢鑱旂郴浜�"), - MerchantPhone = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢鐢佃瘽"), - MerchantFax = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢浼犵湡"), - MerchantEmail = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢閭"), - MerchantAddress = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹㈠晢鍦板潃"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_merchantinfo", x => x.Id); - }, - comment: "瀹㈠晢淇℃伅琛�"); - - migrationBuilder.CreateTable( - name: "wms_order", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderLargeCategory = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁澶х被"), - OrderSubclass = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁灏忕被"), - SOID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"), - NO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鍗曟嵁缂栧彿"), - Billdate = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃ユ湡"), - SourceBillNo = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "閫佽揣閫氱煡鍗曞彿"), - Vendorcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "渚涘簲鍟嗙紪鐮�"), - Vendorname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "渚涘簲鍟嗗悕绉�"), - Companyname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍏徃鍚嶇О"), - WarehouseKeepername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撶鍛�"), - TradeMode = table.Column<int>(type: "int", nullable: false, comment: "璐告槗鏂瑰紡"), - WarehouseCentername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撳偍涓績"), - StoreRoomname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撻棿"), - DeclarationCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍗曞彿"), - Majorname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "涓撲笟"), - Remarks = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_order", x => x.Id); - }, - comment: "鍗曟嵁琛�"); - - migrationBuilder.CreateTable( - name: "wms_order_type", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Pid = table.Column<long>(type: "bigint", nullable: false, comment: "鐖禝d"), - Pids = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鐖禝ds"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - LesWorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_order_type", x => x.Id); - }, - comment: "鍗曟嵁绫诲瀷缁存姢琛�"); - - migrationBuilder.CreateTable( - name: "wms_pdapower", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Icon = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鍥炬爣"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "缂栫爜"), - Name = table.Column<string>(type: "nvarchar(max)", nullable: false, comment: "鍚嶇О"), - Clolor = table.Column<string>(type: "nvarchar(max)", nullable: false, comment: "棰滆壊"), - WorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_pdapower", x => x.Id); - }, - comment: "PDA鑿滃崟琛�"); - - migrationBuilder.CreateTable( - name: "wms_receiptorder", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderLargeCategory = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁澶х被"), - OrderSubclass = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁灏忕被"), - SOID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"), - NO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鍗曟嵁缂栧彿"), - WMSNO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "WMS鏀惰揣鍗曞彿"), - Billdate = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃ユ湡"), - SourceBillNo = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "閫佽揣閫氱煡鍗曞彿"), - Vendorcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "渚涘簲鍟嗙紪鐮�"), - Vendorname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "渚涘簲鍟嗗悕绉�"), - Companyname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍏徃鍚嶇О"), - WarehouseKeepername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撶鍛�"), - TradeMode = table.Column<int>(type: "int", nullable: false, comment: "璐告槗鏂瑰紡"), - WarehouseCentername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撳偍涓績"), - StoreRoomname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撻棿"), - DeclarationCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍗曞彿"), - Majorname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "涓撲笟"), - Remarks = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞"), - ReceivingStatus = table.Column<int>(type: "int", nullable: false, comment: "鏀惰揣鐘舵��"), - InspectionStatus = table.Column<int>(type: "int", nullable: false, comment: "鎶ユ鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_receiptorder", x => x.Id); - }, - comment: "鏀惰揣鍗�"); - - migrationBuilder.CreateTable( - name: "wms_sortorder", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鏉ユ簮鍗曞彿"), - OrderDetailID = table.Column<long>(type: "bigint", nullable: false), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - ContainerOrderNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒嗘嫞缁勭洏鍗曞彿"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - PartCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍒嗘鍙�"), - PlaceCode = table.Column<string>(type: "nvarchar(20)", maxLength: 20, nullable: true, comment: "搴撲綅缂栫爜"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "瀹瑰櫒缂栧彿"), - SortQuantity = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍒嗘嫞鏁�"), - ActualQuantity = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "瀹為檯鍒嗘嫞鏁�"), - Remarks = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true, comment: "澶囨敞"), - SortStatus = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��-鏈垎鎷1銆佸垎鎷e畬鎴恄2"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_sortorder", x => x.Id); - }, - comment: "鍒嗘嫞琛�"); - - migrationBuilder.CreateTable( - name: "wms_stockreturn_order", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderLargeCategory = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁澶х被"), - OrderSubclass = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁灏忕被"), - MoveType = table.Column<int>(type: "int", nullable: false, comment: "浜嬪姟绫诲瀷"), - SOID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"), - NO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鍗曟嵁缂栧彿"), - Billdate = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "閫�鏂欑敵璇锋棩鏈�"), - WBSElementcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "棰嗙敤椤圭洰鍙�"), - BenefitingDepartcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "棰嗘枡閮ㄩ棬"), - CostCenterID = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鏀剁泭閮ㄩ棬"), - FI_Client_Analysis_H = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "瀹㈡埛"), - PickerID = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "棰嗗彇浜�"), - Companyname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍏徃"), - ConstructionTeamID = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鏂藉伐闃�"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_stockreturn_order", x => x.Id); - }, - comment: "閫�鏂欏叆搴撳崟"); - - migrationBuilder.CreateTable( - name: "wms_takematerialorder", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderLargeCategory = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁澶х被"), - OrderSubclass = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁灏忕被"), - MoveType = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "浜嬪姟绫诲瀷"), - SOID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"), - NO = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: false, comment: "鍗曟嵁缂栧彿"), - Billdate = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "棰嗘枡鍗曠敵璇锋棩鏈�"), - WBSElementcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "棰嗙敤椤圭洰鍙�"), - BenefitingDepartcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "棰嗘枡閮ㄩ棬"), - CostCenterID = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍙楃泭閮ㄩ棬"), - FI_Client_Analysis_H = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "瀹㈡埛"), - IsInnerCompany = table.Column<long>(type: "bigint", nullable: false, comment: "鏄惁鍏徃闂翠氦鏄�"), - PickerID = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "棰嗘枡浜�"), - WarehouseCentername = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撳偍涓績"), - Companyname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍏徃"), - ConstructionTeamID = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鏂藉伐闃�"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_takematerialorder", x => x.Id); - }, - comment: "棰嗘枡鍗�"); - - migrationBuilder.CreateTable( - name: "wms_task", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - TaskNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "浠诲姟鍙�"), - TaskModel = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟鏂瑰紡"), - TaskType = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟绫诲瀷"), - TaskLevel = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟绾у埆"), - TaskStatus = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟鐘舵��"), - IsRead = table.Column<bool>(type: "bit", nullable: false, comment: "WCS鏄惁鍙互璇诲彇"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栧彿"), - SourcePlace = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "璧峰搴撲綅"), - ToPlace = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐩爣搴撲綅"), - Aisle = table.Column<int>(type: "int", nullable: false, comment: "宸烽亾"), - EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "鏄惁绌烘墭"), - AreaName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "搴撳尯鍚嶇О"), - OrderDetailsId = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁鏄庣粏Id"), - OrderNo = table.Column<string>(type: "nvarchar(max)", nullable: false, comment: "缁勭洏璁板綍鍗曟嵁鍙�"), - SendTimes = table.Column<int>(type: "int", nullable: false, comment: "鍙戦�佹鏁�"), - DodeviceId = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟鎵ц鍫嗗灈鏈篒d"), - DodevicenodeId = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "璁惧鎵ц鑺傜偣Id"), - Dodevicetype = table.Column<int>(type: "int", maxLength: 50, nullable: false, comment: "璁惧绫诲瀷"), - TaskDodeviceStatus = table.Column<int>(type: "int", nullable: false, comment: "浠诲姟璁惧鐘舵��"), - Description = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍏ュ簱鏉ユ簮"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_task", x => x.Id); - }, - comment: "浠诲姟绠$悊琛�"); - - migrationBuilder.CreateTable( - name: "wms_warehouse_entrance", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Type = table.Column<int>(type: "int", nullable: false, comment: "绫诲瀷-1.鍏ュ簱鍙2.鍑哄簱鍙�"), - LesWorkShopType = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炶溅闂�"), - AffiliatedRoadway = table.Column<int>(type: "int", nullable: false, comment: "鎵�灞炲贩閬�"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_warehouse_entrance", x => x.Id); - }, - comment: "搴撳彛琛�"); - - migrationBuilder.CreateTable( - name: "wms_warehouse_manage", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - Name = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: false, comment: "鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "缂栫爜"), - Type = table.Column<int>(type: "int", nullable: false, comment: "绫诲瀷"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_warehouse_manage", x => x.Id); - }, - comment: "搴撳彛琛�"); - - migrationBuilder.CreateTable( - name: "sys_dict_data", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - TypeId = table.Column<long>(type: "bigint", nullable: false, comment: "瀛楀吀绫诲瀷Id"), - Value = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "鍊�"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "缂栫爜"), - Sort = table.Column<int>(type: "int", nullable: false, comment: "鎺掑簭"), - Remark = table.Column<string>(type: "nvarchar(100)", maxLength: 100, nullable: true, comment: "澶囨敞"), - Status = table.Column<int>(type: "int", nullable: false, comment: "鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_dict_data", x => x.Id); - table.ForeignKey( - name: "FK_sys_dict_data_sys_dict_type_TypeId", - column: x => x.TypeId, - principalTable: "sys_dict_type", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "瀛楀吀鍊艰〃"); - - migrationBuilder.CreateTable( - name: "sys_low_code_module_database", - columns: table => new - { - Id = table.Column<Guid>(type: "uniqueidentifier", nullable: false, comment: "Id涓婚敭"), - SysLowCodeId = table.Column<long>(type: "bigint", nullable: false), - Control_Key = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "缁勪欢Key"), - Control_Label = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "缁勪欢鍚嶇О"), - Control_Model = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "缁勪欢瀛楁"), - Control_Type = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "缁勪欢瀛楁"), - TableName = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "琛ㄥ悕"), - ClassName = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "绫诲悕"), - TableDesc = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "琛ㄦ弿杩�"), - FieldName = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "瀛楁鍚嶇О"), - DbTypeName = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "鏁版嵁绫诲瀷"), - DtoTypeName = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "浼犲叆鏁版嵁绫诲瀷"), - DbParam = table.Column<string>(type: "nvarchar(200)", maxLength: 200, nullable: true, comment: "鏁版嵁绫诲瀷琛ュ厖鍙傛暟"), - IsRequired = table.Column<bool>(type: "bit", nullable: true, comment: "鏄惁蹇呭~"), - WhetherTable = table.Column<bool>(type: "bit", nullable: true, comment: "鍒楄〃鏄剧ず"), - WhetherOrderBy = table.Column<bool>(type: "bit", nullable: true, comment: "鎺掑簭"), - WhetherAddUpdate = table.Column<bool>(type: "bit", nullable: true, comment: "澧炴敼"), - QueryWhether = table.Column<bool>(type: "bit", nullable: true, comment: "鏄惁鏄煡璇�"), - QueryType = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鏌ヨ鏂瑰紡"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_low_code_module_database", x => x.Id); - table.ForeignKey( - name: "FK_sys_low_code_module_database_sys_low_code_module_SysLowCodeId", - column: x => x.SysLowCodeId, - principalTable: "sys_low_code_module", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "浣庝唬鐮佹ā鍧楃鐞�"); - - migrationBuilder.CreateTable( - name: "sys_emp_ext_org_pos", - columns: table => new - { - SysEmpId = table.Column<long>(type: "bigint", nullable: false, comment: "鍛樺伐Id"), - SysOrgId = table.Column<long>(type: "bigint", nullable: false, comment: "鏈烘瀯Id"), - SysPosId = table.Column<long>(type: "bigint", nullable: false, comment: "鑱屼綅Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_emp_ext_org_pos", x => new { x.SysEmpId, x.SysOrgId, x.SysPosId }); - table.ForeignKey( - name: "FK_sys_emp_ext_org_pos_sys_emp_SysEmpId", - column: x => x.SysEmpId, - principalTable: "sys_emp", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_emp_ext_org_pos_sys_org_SysOrgId", - column: x => x.SysOrgId, - principalTable: "sys_org", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_emp_ext_org_pos_sys_pos_SysPosId", - column: x => x.SysPosId, - principalTable: "sys_pos", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鍛樺伐闄勫睘鏈烘瀯鑱屼綅琛�"); - - migrationBuilder.CreateTable( - name: "sys_emp_pos", - columns: table => new - { - SysEmpId = table.Column<long>(type: "bigint", nullable: false, comment: "鍛樺伐Id"), - SysPosId = table.Column<long>(type: "bigint", nullable: false, comment: "鑱屼綅Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_emp_pos", x => new { x.SysEmpId, x.SysPosId }); - table.ForeignKey( - name: "FK_sys_emp_pos_sys_emp_SysEmpId", - column: x => x.SysEmpId, - principalTable: "sys_emp", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_emp_pos_sys_pos_SysPosId", - column: x => x.SysPosId, - principalTable: "sys_pos", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鍛樺伐鑱屼綅琛�"); - - migrationBuilder.CreateTable( - name: "sys_role_data_scope", - columns: table => new - { - SysRoleId = table.Column<long>(type: "bigint", nullable: false, comment: "瑙掕壊Id"), - SysOrgId = table.Column<long>(type: "bigint", nullable: false, comment: "鏈烘瀯Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_role_data_scope", x => new { x.SysRoleId, x.SysOrgId }); - table.ForeignKey( - name: "FK_sys_role_data_scope_sys_org_SysOrgId", - column: x => x.SysOrgId, - principalTable: "sys_org", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_role_data_scope_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "瑙掕壊鏁版嵁鑼冨洿琛�"); - - migrationBuilder.CreateTable( - name: "sys_role_menu", - columns: table => new - { - SysRoleId = table.Column<long>(type: "bigint", nullable: false, comment: "瑙掕壊Id"), - SysMenuId = table.Column<long>(type: "bigint", nullable: false, comment: "鑿滃崟Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_role_menu", x => new { x.SysRoleId, x.SysMenuId }); - table.ForeignKey( - name: "FK_sys_role_menu_sys_menu_SysMenuId", - column: x => x.SysMenuId, - principalTable: "sys_menu", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_role_menu_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "瑙掕壊鑿滃崟琛�"); - - migrationBuilder.CreateTable( - name: "sys_user_data_scope", - columns: table => new - { - SysUserId = table.Column<long>(type: "bigint", nullable: false, comment: "鐢ㄦ埛Id"), - SysOrgId = table.Column<long>(type: "bigint", nullable: false, comment: "鏈烘瀯Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_user_data_scope", x => new { x.SysUserId, x.SysOrgId }); - table.ForeignKey( - name: "FK_sys_user_data_scope_sys_org_SysOrgId", - column: x => x.SysOrgId, - principalTable: "sys_org", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_user_data_scope_sys_user_SysUserId", - column: x => x.SysUserId, - principalTable: "sys_user", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鐢ㄦ埛鏁版嵁鑼冨洿琛�"); - - migrationBuilder.CreateTable( - name: "sys_user_role", - columns: table => new - { - SysUserId = table.Column<long>(type: "bigint", nullable: false, comment: "鐢ㄦ埛Id"), - SysRoleId = table.Column<long>(type: "bigint", nullable: false, comment: "瑙掕壊Id") - }, - constraints: table => - { - table.PrimaryKey("PK_sys_user_role", x => new { x.SysUserId, x.SysRoleId }); - table.ForeignKey( - name: "FK_sys_user_role_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_sys_user_role_sys_user_SysUserId", - column: x => x.SysUserId, - principalTable: "sys_user", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鐢ㄦ埛瑙掕壊琛�"); - - migrationBuilder.CreateTable( - name: "les_entrance", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - AreaId = table.Column<long>(type: "bigint", nullable: false, comment: "搴撳尯Id"), - Name = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撳彛鍚嶇О"), - Code = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撳彛缂栫爜"), - EntranceType = table.Column<int>(type: "int", nullable: false, comment: "搴撳彛绫诲瀷"), - CommenStatus = table.Column<int>(type: "int", nullable: false, comment: "搴撳彛鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_les_entrance", x => x.Id); - table.ForeignKey( - name: "FK_les_entrance_wms_area_AreaId", - column: x => x.AreaId, - principalTable: "wms_area", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "搴撳彛琛�"); - - migrationBuilder.CreateTable( - name: "wms_place", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - PlaceCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "搴撲綅缂栫爜"), - AgvCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅瀵瑰簲AGV缂栫爜"), - PlaceStatus = table.Column<int>(type: "int", nullable: false, comment: "搴撲綅鐘舵��"), - AreaId = table.Column<long>(type: "bigint", nullable: false, comment: "鎵�鍦ㄥ簱鍖�"), - RowNo = table.Column<int>(type: "int", nullable: false, comment: "鎺�"), - ColumnNo = table.Column<int>(type: "int", nullable: false, comment: "鍒�"), - LayerNo = table.Column<int>(type: "int", nullable: false, comment: "灞�"), - DeepcellNo = table.Column<int>(type: "int", nullable: false, comment: "杩涙繁鍙�"), - Aisle = table.Column<int>(type: "int", nullable: false, comment: "宸烽亾"), - Line = table.Column<int>(type: "int", nullable: false, comment: "绾垮彿"), - Islock = table.Column<int>(type: "int", nullable: false, comment: "鏄惁閿佸畾"), - EmptyContainer = table.Column<int>(type: "int", nullable: false, comment: "鏄惁绌烘墭"), - PositionnoForSrm = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍫嗗灈鏈哄唴閮ㄧ殑浣嶇疆"), - Xzb = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅X鍧愭爣"), - Yzb = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅Y鍧愭爣"), - Zzb = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅Z鍧愭爣"), - Length = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "搴撲綅闀垮害"), - Width = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "搴撲綅瀹藉害"), - Height = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "搴撲綅楂樺害"), - MaxWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏈�澶ф壙閲�"), - HeightLevel = table.Column<int>(type: "int", nullable: false, comment: "搴撲綅楂樺害灞炴��"), - Priority = table.Column<int>(type: "int", nullable: false, comment: "浼樺厛绾�"), - LogicalName = table.Column<int>(type: "int", nullable: false, comment: "閫昏緫鍖哄煙"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_place", x => x.Id); - table.ForeignKey( - name: "FK_wms_place_wms_area_AreaId", - column: x => x.AreaId, - principalTable: "wms_area", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "搴撲綅琛�"); - - migrationBuilder.CreateTable( - name: "wms_dumporder_details", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderId = table.Column<long>(type: "bigint", maxLength: 50, nullable: false, comment: "鍗曟嵁Id"), - OID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - Unit = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍩烘湰鍗曚綅"), - Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏁伴噺"), - Length = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "闀垮害"), - Batchno_SCM = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "SCM鎵规鍙�"), - Batchno_WMS = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "WMS鎵规鍙�"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "搴撳瓨椤圭洰缂栫爜"), - Projectcode_To = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鏂板簱瀛橀」鐩紪鐮�"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_dumporder_details", x => x.Id); - table.ForeignKey( - name: "FK_wms_dumporder_details_wms_dumporder_OrderId", - column: x => x.OrderId, - principalTable: "wms_dumporder", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "杞偍鍗曟槑缁�"); - - migrationBuilder.CreateTable( - name: "wms_goodsreturnorder_details", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderId = table.Column<long>(type: "bigint", maxLength: 50, nullable: false, comment: "鍗曟嵁Id"), - OID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - Unit = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍩烘湰鍗曚綅"), - Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏁伴噺"), - SingleLength = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍗曟牴闀垮害"), - TheoreticalWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鐞嗚閲嶉噺"), - Batchno_WMS = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鎵规鍙�"), - Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "涓嶅惈绋庡崟浠�"), - SumPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎴愭湰閲戦"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - ContractCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍚堝悓缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - StoreRoomname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "浠撻棿"), - DeclarationCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍗曞彿"), - TradeName = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍝佸悕"), - ItemNo = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鎶ュ叧椤瑰彿"), - CustomsUnitName = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "鎶ュ叧鍗曚綅"), - CustomsNum = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶ュ叧鏁伴噺"), - CustomsPrices = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶ュ叧閲戦"), - ReceivingStatus = table.Column<int>(type: "int", nullable: false, comment: "閫�璐х姸鎬�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_goodsreturnorder_details", x => x.Id); - table.ForeignKey( - name: "FK_wms_goodsreturnorder_details_wms_goodsreturnorder_OrderId", - column: x => x.OrderId, - principalTable: "wms_goodsreturnorder", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "閫�璐у崟鎹槑缁嗚〃"); - - migrationBuilder.CreateTable( - name: "wms_history_materialcontainer", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - ContainerId = table.Column<long>(type: "bigint", nullable: false, comment: "鎵樼洏Id"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栫爜"), - MaterialName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鍚嶇О"), - MaterialNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡缂栧彿"), - MaterialBatch = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鎵规"), - MaterialSpec = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡瑙勬牸"), - MaterialId = table.Column<long>(type: "bigint", nullable: false, comment: "鐗╂枡Id"), - BindQuantity = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "缁勭洏鏁伴噺"), - BindStatus = table.Column<int>(type: "int", nullable: false, comment: "缁勭洏鐘舵��"), - SampleQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶芥鏁伴噺"), - OrderNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鍗曞彿"), - MaterialDensity = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡瀵嗗害"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_history_materialcontainer", x => x.Id); - table.ForeignKey( - name: "FK_wms_history_materialcontainer_wms_material_MaterialId", - column: x => x.MaterialId, - principalTable: "wms_material", - principalColumn: "Id"); - }, - comment: "鐗╂枡鎵樼洏鍘嗗彶琛�"); - - migrationBuilder.CreateTable( - name: "wms_materialcontainer", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - ContainerId = table.Column<long>(type: "bigint", nullable: false, comment: "鎵樼洏Id"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鎵樼洏缂栫爜"), - MaterialName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鍚嶇О"), - MaterialNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡缂栧彿"), - MaterialBatch = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡鎵规"), - MaterialSpec = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鐗╂枡瑙勬牸"), - MaterialId = table.Column<long>(type: "bigint", nullable: false, comment: "鐗╂枡Id"), - BindQuantity = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "缁勭洏鏁伴噺"), - BindStatus = table.Column<int>(type: "int", nullable: false, comment: "缁勭洏鐘舵��"), - SampleQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶芥鏁伴噺"), - OrderNo = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鍗曞彿"), - OrderDetailsId = table.Column<long>(type: "bigint", nullable: false, comment: "鍗曟嵁鏄庣粏Id"), - MaterialDensity = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: false, comment: "鐗╂枡瀵嗗害"), - WmsContainerId = table.Column<long>(type: "bigint", nullable: true), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_materialcontainer", x => x.Id); - table.ForeignKey( - name: "FK_wms_materialcontainer_wms_container_WmsContainerId", - column: x => x.WmsContainerId, - principalTable: "wms_container", - principalColumn: "Id"); - table.ForeignKey( - name: "FK_wms_materialcontainer_wms_material_MaterialId", - column: x => x.MaterialId, - principalTable: "wms_material", - principalColumn: "Id"); - }, - comment: "鐗╂枡鎵樼洏鍏崇郴琛�"); - - migrationBuilder.CreateTable( - name: "wms_order_details", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderId = table.Column<long>(type: "bigint", maxLength: 50, nullable: false, comment: "鍗曟嵁Id"), - OID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - Unit = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍩烘湰鍗曚綅"), - Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏁伴噺"), - InventoryQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍏ュ簱鏁伴噺"), - SingleLength = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍗曟牴闀垮害"), - TheoreticalWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鐞嗚閲嶉噺"), - Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "涓嶅惈绋庡崟浠�"), - SumPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎴愭湰閲戦"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - ContractCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍚堝悓缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - TradeName = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍝佸悕"), - ItemNo = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧椤瑰彿"), - CustomsUnitName = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍗曚綅"), - CustomsNum = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶ュ叧鏁伴噺"), - CustomsPrices = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶ュ叧閲戦"), - SpecialNeeds = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗规畩瑕佹眰"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - InspectionResults = table.Column<int>(type: "int", nullable: false, comment: "妫�楠岀粨鏋�"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鎵樼洏缂栫爜"), - PlaceCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅缂栫爜"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_order_details", x => x.Id); - table.ForeignKey( - name: "FK_wms_order_details_wms_order_OrderId", - column: x => x.OrderId, - principalTable: "wms_order", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鍗曟嵁鏄庣粏琛�"); - - migrationBuilder.CreateTable( - name: "wms_role_pdamenu", - columns: table => new - { - SysRoleId = table.Column<long>(type: "bigint", nullable: false, comment: "瑙掕壊Id"), - PdaMenuId = table.Column<long>(type: "bigint", nullable: false, comment: "鑿滃崟Id") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_role_pdamenu", x => new { x.SysRoleId, x.PdaMenuId }); - table.ForeignKey( - name: "FK_wms_role_pdamenu_sys_role_SysRoleId", - column: x => x.SysRoleId, - principalTable: "sys_role", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_wms_role_pdamenu_wms_pdapower_PdaMenuId", - column: x => x.PdaMenuId, - principalTable: "wms_pdapower", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "瑙掕壊鑿滃崟琛�"); - - migrationBuilder.CreateTable( - name: "wms_receiptorder_details", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderId = table.Column<long>(type: "bigint", maxLength: 50, nullable: false, comment: "鍗曟嵁Id"), - OID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - Unit = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍩烘湰鍗曚綅"), - Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏁伴噺"), - SingleLength = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍗曟牴闀垮害"), - TheoreticalWeight = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鐞嗚閲嶉噺"), - Price = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "涓嶅惈绋庡崟浠�"), - SumPrice = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎴愭湰閲戦"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - ContractCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍚堝悓缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - TradeName = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍝佸悕"), - ItemNo = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧椤瑰彿"), - CustomsUnitName = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鎶ュ叧鍗曚綅"), - CustomsNum = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶ュ叧鏁伴噺"), - CustomsPrices = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鎶ュ叧閲戦"), - SpecialNeeds = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗规畩瑕佹眰"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鎵樼洏缂栫爜"), - PlaceCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅缂栫爜"), - DeliveryQty = table.Column<decimal>(type: "decimal(18,2)", maxLength: 50, nullable: false, comment: "閫佽揣鏁伴噺"), - ReceivedQty = table.Column<decimal>(type: "decimal(18,2)", maxLength: 50, nullable: false, comment: "鏀惰揣鏁伴噺"), - ReceivingStatus = table.Column<int>(type: "int", nullable: false, comment: "鏀惰揣鐘舵��"), - InspectionStatus = table.Column<int>(type: "int", nullable: false, comment: "鎶ユ鐘舵��"), - InspectionResultsEnum = table.Column<int>(type: "int", nullable: false, comment: "鎶ユ缁撴灉"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_receiptorder_details", x => x.Id); - table.ForeignKey( - name: "FK_wms_receiptorder_details_wms_receiptorder_OrderId", - column: x => x.OrderId, - principalTable: "wms_receiptorder", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鏀惰揣鍗曟嵁鏄庣粏琛�"); - - migrationBuilder.CreateTable( - name: "wms_stockreturn_order_details", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderId = table.Column<long>(type: "bigint", maxLength: 50, nullable: false, comment: "鍗曟嵁Id"), - OID = table.Column<long>(type: "bigint", nullable: false, comment: "涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - Unit = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍩烘湰鍗曚綅"), - Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏁伴噺"), - Length = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍗曟牴闀垮害"), - Number = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "浠舵暟"), - Batchno_SCM = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "SCM鎵规鍙�"), - Batchno_WMS = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "WMS鎵规鍙�"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - PartCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍒嗘鍙�"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_stockreturn_order_details", x => x.Id); - table.ForeignKey( - name: "FK_wms_stockreturn_order_details_wms_stockreturn_order_OrderId", - column: x => x.OrderId, - principalTable: "wms_stockreturn_order", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "閫�鏂欏叆搴撳崟璇︽儏"); - - migrationBuilder.CreateTable( - name: "wms_takematerial_orderdetail", - columns: table => new - { - Id = table.Column<long>(type: "bigint", nullable: false, comment: "Id涓婚敭"), - OrderId = table.Column<long>(type: "bigint", maxLength: 50, nullable: false, comment: "鍗曟嵁Id"), - OID = table.Column<long>(type: "bigint", nullable: false, comment: "SCM棰嗘枡鐢宠鍗曟槑缁嗚鍞竴鏍囪瘑"), - Materialcode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡缂栧彿"), - Materialname = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鐗╂枡鍚嶇О"), - Unit = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍩烘湰鍗曚綅"), - Qty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鏁伴噺"), - DistributeQty = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "涓嬪彂鏁伴噺"), - SingleLength = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "鍗曟牴闀垮害"), - Number = table.Column<decimal>(type: "decimal(18,2)", nullable: false, comment: "浠舵暟"), - Batchno_SCM = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "SCM鎵规鍙�"), - Batchno_WMS = table.Column<string>(type: "nvarchar(max)", nullable: true, comment: "WMS鎵规鍙�"), - ProjectCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "椤圭洰缂栧彿"), - TACode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "TA鍙�"), - PartCode = table.Column<string>(type: "nvarchar(255)", maxLength: 255, nullable: true, comment: "鍒嗘鍙�"), - OrderStatus = table.Column<int>(type: "int", nullable: false, comment: "鍗曟嵁鐘舵��"), - ContainerCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鎵樼洏缂栫爜"), - PlaceCode = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "搴撲綅缂栫爜"), - CreatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鍒涘缓鏃堕棿"), - UpdatedTime = table.Column<DateTimeOffset>(type: "datetimeoffset", nullable: true, comment: "鏇存柊鏃堕棿"), - CreatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "鍒涘缓鑰匢d"), - CreatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "鍒涘缓鑰呭悕绉�"), - UpdatedUserId = table.Column<long>(type: "bigint", nullable: true, comment: "淇敼鑰匢d"), - UpdatedUserName = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true, comment: "淇敼鑰呭悕绉�"), - IsDeleted = table.Column<bool>(type: "bit", nullable: false, comment: "杞垹闄ゆ爣璁�") - }, - constraints: table => - { - table.PrimaryKey("PK_wms_takematerial_orderdetail", x => x.Id); - table.ForeignKey( - name: "FK_wms_takematerial_orderdetail_wms_takematerialorder_OrderId", - column: x => x.OrderId, - principalTable: "wms_takematerialorder", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }, - comment: "鍗曟嵁鏄庣粏琛�"); - - migrationBuilder.InsertData( - table: "sys_app", - columns: new[] { "Id", "Active", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070898245L, "Y", "system", null, null, null, false, "寮�鍙戠鐞�", 100, 0, null, null, null }, - { 142307070902341L, "N", "manage", null, null, null, false, "绯荤粺绠$悊", 300, 0, null, null, null }, - { 142307070922869L, "N", "busiapp", null, null, null, false, "涓氬姟搴旂敤", 400, 0, null, null, null }, - { 355686432948293L, "N", "warejob", null, null, null, false, "浠撳簱浣滀笟", 500, 0, null, null, null }, - { 355686518018117L, "N", "warecount", null, null, null, false, "缁熻鏌ヨ", 600, 0, null, null, null }, - { 383337192390725L, "N", "xbjl", null, null, null, false, "绾胯竟鍙枡", 550, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_config", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "GroupCode", "IsDeleted", "Name", "Remark", "Status", "SysFlag", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 142307070902342L, "DILON_JWT_SECRET", null, null, null, "DEFAULT", false, "jwt瀵嗛挜", "锛堥噸瑕侊級jwt瀵嗛挜锛岄粯璁や负绌猴紝鑷璁剧疆", 0, "Y", null, null, null, "weiben" }, - { 142307070902343L, "DILON_DEFAULT_PASSWORD", null, null, null, "DEFAULT", false, "榛樿瀵嗙爜", "榛樿瀵嗙爜", 0, "Y", null, null, null, "123456" }, - { 142307070902344L, "DILON_TOKEN_EXPIRE", null, null, null, "DEFAULT", false, "token杩囨湡鏃堕棿", "token杩囨湡鏃堕棿锛堝崟浣嶏細绉掞級", 0, "Y", null, null, null, "86400" }, - { 142307070902345L, "DILON_SESSION_EXPIRE", null, null, null, "DEFAULT", false, "session浼氳瘽杩囨湡鏃堕棿", "session浼氳瘽杩囨湡鏃堕棿锛堝崟浣嶏細绉掞級", 0, "Y", null, null, null, "7200" }, - { 142307070902361L, "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", null, null, null, "FILE_PATH", false, "Win鏈湴涓婁紶鏂囦欢璺緞", "Win鏈湴涓婁紶鏂囦欢璺緞", 0, "Y", null, null, null, "D:/tmp" }, - { 142307070902363L, "DILON_UN_XSS_FILTER_URL", null, null, null, "DEFAULT", false, "鏀惧紑XSS杩囨护鐨勬帴鍙�", "澶氫釜url鍙互鐢ㄨ嫳鏂囬�楀彿闅斿紑", 0, "Y", null, null, null, "/demo/xssfilter,/demo/unxss" }, - { 142307070902364L, "DILON_ENABLE_SINGLE_LOGIN", null, null, null, "DEFAULT", false, "鍗曠敤鎴风櫥闄嗙殑寮�鍏�", "true-鎵撳紑锛宖alse-鍏抽棴锛屽鏋滀竴涓汉鐧诲綍涓ゆ锛屽氨浼氬皢涓婁竴娆$櫥闄嗘尋涓嬪幓", 0, "Y", null, null, null, "false" }, - { 142307070902365L, "DILON_CAPTCHA_OPEN", null, null, null, "DEFAULT", false, "鐧诲綍楠岃瘉鐮佺殑寮�鍏�", "true-鎵撳紑锛宖alse-鍏抽棴", 0, "Y", null, null, null, "true" } - }); - - migrationBuilder.InsertData( - table: "sys_dict_type", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "EnumClassName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070906483L, "common_status", null, null, null, null, false, "閫氱敤鐘舵��", "閫氱敤鐘舵��", 100, 0, null, null, null }, - { 142307070906484L, "sex", null, null, null, null, false, "鎬у埆", "鎬у埆瀛楀吀", 100, 0, null, null, null }, - { 142307070906485L, "consts_type", null, null, null, null, false, "甯搁噺鐨勫垎绫�", "甯搁噺鐨勫垎绫伙紝鐢ㄤ簬鍖哄埆涓�缁勯厤缃�", 100, 0, null, null, null }, - { 142307070906486L, "yes_or_no", null, null, null, null, false, "鏄惁", "鏄惁", 100, 0, null, null, null }, - { 142307070906487L, "vis_type", null, null, null, null, false, "璁块棶绫诲瀷", "璁块棶绫诲瀷", 100, 0, null, null, null }, - { 142307070906488L, "menu_type", null, null, null, null, false, "鑿滃崟绫诲瀷", "鑿滃崟绫诲瀷", 100, 0, null, null, null }, - { 142307070906489L, "send_type", null, null, null, null, false, "鍙戦�佺被鍨�", "鍙戦�佺被鍨�", 100, 0, null, null, null }, - { 142307070906490L, "open_type", null, null, null, null, false, "鎵撳紑鏂瑰紡", "鎵撳紑鏂瑰紡", 100, 0, null, null, null }, - { 142307070906491L, "menu_weight", null, null, null, null, false, "鑿滃崟鏉冮噸", "鑿滃崟鏉冮噸", 100, 0, null, null, null }, - { 142307070906492L, "data_scope_type", null, null, null, null, false, "鏁版嵁鑼冨洿绫诲瀷", "鏁版嵁鑼冨洿绫诲瀷", 100, 0, null, null, null }, - { 142307070906494L, "op_type", null, null, null, null, false, "鎿嶄綔绫诲瀷", "鎿嶄綔绫诲瀷", 100, 0, null, null, null }, - { 142307070906495L, "file_storage_location", null, null, null, null, false, "鏂囦欢瀛樺偍浣嶇疆", "鏂囦欢瀛樺偍浣嶇疆", 100, 0, null, null, null }, - { 142307070910533L, "run_status", null, null, null, null, false, "杩愯鐘舵��", "瀹氭椂浠诲姟杩愯鐘舵��", 100, 0, null, null, null }, - { 142307070910534L, "notice_type", null, null, null, null, false, "閫氱煡鍏憡绫诲瀷", "閫氱煡鍏憡绫诲瀷", 100, 0, null, null, null }, - { 142307070910535L, "notice_status", null, null, null, null, false, "閫氱煡鍏憡鐘舵��", "閫氱煡鍏憡鐘舵��", 100, 0, null, null, null }, - { 142307070910536L, "yes_true_false", null, null, null, null, false, "鏄惁boolean", "鏄惁boolean", 100, 0, null, null, null }, - { 142307070910537L, "code_gen_create_type", null, null, null, null, false, "浠g爜鐢熸垚鏂瑰紡", "浠g爜鐢熸垚鏂瑰紡", 100, 0, null, null, null }, - { 142307070910538L, "request_type", null, null, null, null, false, "璇锋眰鏂瑰紡", "璇锋眰鏂瑰紡", 100, 0, null, null, null }, - { 142307070922827L, "code_gen_effect_type", null, null, null, null, false, "浠g爜鐢熸垚浣滅敤绫诲瀷", "浠g爜鐢熸垚浣滅敤绫诲瀷", 100, 0, null, null, null }, - { 142307070922828L, "code_gen_query_type", null, null, null, null, false, "浠g爜鐢熸垚鏌ヨ绫诲瀷", "浠g爜鐢熸垚鏌ヨ绫诲瀷", 100, 0, null, null, null }, - { 142307070922829L, "code_gen_net_type", null, null, null, null, false, "浠g爜鐢熸垚.NET绫诲瀷", "浠g爜鐢熸垚.NET绫诲瀷", 100, 0, null, null, null }, - { 142307070926941L, "role_type", null, null, null, null, false, "瑙掕壊绫诲瀷", "瑙掕壊绫诲瀷", 100, 0, null, null, null }, - { 142307070926942L, "org_type", null, null, null, null, false, "鏈烘瀯绫诲瀷", "鏈烘瀯绫诲瀷", 100, 0, null, null, null }, - { 285605149831237L, "form_type", null, null, null, null, false, "琛ㄥ崟绫诲瀷", "琛ㄥ崟绫诲瀷", 100, 0, null, null, null }, - { 285641358889029L, "workflow_group", null, null, null, null, false, "娴佺▼鍒嗙被", "娴佺▼鍒嗙被", 100, 0, null, null, null }, - { 355694205325381L, "container_type", null, null, null, null, false, "鎵樼洏绫诲瀷", "", 100, 0, null, null, null }, - { 355697881423941L, "container_status", null, null, null, null, false, "鎵樼洏鐘舵��", "", 100, 0, null, null, null }, - { 355697881423942L, "container_category", null, null, null, null, false, "鎵樼洏鍒嗙被", "", 100, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_dict_type", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "EnumClassName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 355698224758853L, "area_type", null, null, null, null, false, "搴撳尯绫诲瀷", "", 100, 0, null, null, null }, - { 355698441912389L, "place_status", null, null, null, null, false, "搴撲綅鐘舵��", "", 100, 0, null, null, null }, - { 355698661130309L, "height_level", null, null, null, null, false, "搴撲綅楂樺害", "", 100, 0, null, null, null }, - { 355698855280709L, "material_inspection", null, null, null, null, false, "鐗╂枡妫�楠�", "", 100, 0, null, null, null }, - { 355699003580485L, "material_type", null, null, null, null, false, "鐗╂枡绫诲埆", "", 100, 0, null, null, null }, - { 355699189051461L, "unit_type", null, null, null, null, false, "鍗曚綅绫诲埆", "", 100, 0, null, null, null }, - { 355699314061381L, "unitno_type", null, null, null, null, false, "鍗曚綅缂栧彿", "", 100, 0, null, null, null }, - { 355699447029829L, "task_model", null, null, null, null, false, "浠诲姟鏂瑰紡", "", 100, 0, null, null, null }, - { 355699576467525L, "task_type", null, null, null, null, false, "浠诲姟绫诲瀷", "", 100, 0, null, null, null }, - { 355699731099717L, "task_status", null, null, null, null, false, "浠诲姟鐘舵��", "", 100, 0, null, null, null }, - { 355699731099718L, "taskdodevice_statusenum", null, null, null, null, false, "浠诲姟璁惧鐘舵��", "", 100, 0, null, null, null }, - { 383290718294085L, "les_workshop_type", null, null, null, null, false, "鎵�灞炶溅闂�", "", 100, 0, null, null, null }, - { 383317542490181L, "les_takematerials_status", null, null, null, null, false, "鍙枡鍗曠姸鎬�", "", 100, 0, null, null, null }, - { 384394636988485L, "dodevice_type", null, null, null, null, false, "璁惧绫诲瀷", "", 100, 0, null, null, null }, - { 385412129075269L, "lesworkshop_section", null, null, null, null, false, "宸ユ", "", 100, 0, null, null, null }, - { 386522984120389L, "les_entrance_type", null, null, null, null, false, "搴撳彛绫诲瀷", "", 100, 0, null, null, null }, - { 386522984120390L, "blankingproductionLine_enum", null, null, null, null, false, "涓嬫枡浜х嚎", "", 100, 0, null, null, null }, - { 386522984120391L, "orderdetails_statusenum", null, null, null, null, false, "鍗曟嵁鏄庣粏琛ㄧ姸鎬�", "", 100, 0, null, null, null }, - { 386522984120392L, "orderlargecategory_Enum", null, null, null, null, false, "鍗曟嵁澶х被", "", 100, 0, null, null, null }, - { 386522984120393L, "order_statusenum", null, null, null, null, false, "鍗曟嵁涓昏〃鐘舵��", "", 100, 0, null, null, null }, - { 386522984120394L, "ordersubclass_enum", null, null, null, null, false, "鍗曟嵁灏忕被", "", 100, 0, null, null, null }, - { 386522984120395L, "issue_state", null, null, null, null, false, "绛炬牳鐘舵��", "", 100, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_emp", - columns: new[] { "Id", "JobNum", "OrgId", "OrgName" }, - values: new object[,] - { - { 142307070910551L, "D1001", 142307070910539L, "绉熸埛3鍏徃" }, - { 142307070910552L, "D1002", 142307070910539L, "绉熸埛3鍏徃" }, - { 142307070910553L, "D1003", 142307070910539L, "绉熸埛3鍏徃" }, - { 142307070910554L, "D1001", 142307070910547L, "绉熸埛1鍏徃" }, - { 142307070910555L, "D1002", 142307070910547L, "绉熸埛1鍏徃" }, - { 142307070910556L, "D1003", 142307070910547L, "绉熸埛1鍏徃" }, - { 142307070910557L, "D1001", 142307070910548L, "绉熸埛2鍏徃" }, - { 142307070910558L, "D1002", 142307070910548L, "绉熸埛2鍏徃" }, - { 142307070910559L, "D1003", 142307070910548L, "绉熸埛2鍏徃" }, - { 358533464608837L, "", 142307070910539L, "浼熸湰鑲′唤鏈夐檺鍏徃" }, - { 358536045723717L, "", 142307070910542L, "鐮斿彂閮�" } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307000914633L, "manage", "sys_mgr", "PageView", null, null, null, "team", false, null, "缁勭粐鏋舵瀯", 0, null, 0L, "[0],", null, null, "/sys", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070910563L, "manage", "auth_manager", "PageView", null, null, null, "safety-certificate", false, null, "鏉冮檺绠$悊", 0, null, 0L, "[0],", null, null, "/auth", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070910564L, "manage", "sys_user_mgr", "system/user/index", null, null, null, null, false, null, "鐢ㄦ埛绠$悊", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/mgr_user", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910565L, "manage", "sys_user_mgr_page", null, null, null, null, null, false, null, "鐢ㄦ埛鏌ヨ", 0, "sysUser:page", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910566L, "manage", "sys_user_mgr_edit", null, null, null, null, null, false, null, "鐢ㄦ埛缂栬緫", 0, "sysUser:edit", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910567L, "manage", "sys_user_mgr_add", null, null, null, null, null, false, null, "鐢ㄦ埛澧炲姞", 0, "sysUser:add", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910568L, "manage", "sys_user_mgr_delete", null, null, null, null, null, false, null, "鐢ㄦ埛鍒犻櫎", 0, "sysUser:delete", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910569L, "manage", "sys_user_mgr_detail", null, null, null, null, null, false, null, "鐢ㄦ埛璇︽儏", 0, "sysUser:detail", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910570L, "manage", "sys_user_mgr_export", null, null, null, null, null, false, null, "鐢ㄦ埛瀵煎嚭", 0, "sysUser:export", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070910571L, "manage", "sys_user_mgr_selector", null, null, null, null, null, false, null, "鐢ㄦ埛閫夋嫨鍣�", 0, "sysUser:selector", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910572L, "manage", "sys_user_mgr_grant_role", null, null, null, null, null, false, null, "鐢ㄦ埛鎺堟潈瑙掕壊", 0, "sysUser:grantRole", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910573L, "manage", "sys_user_mgr_own_role", null, null, null, null, null, false, null, "鐢ㄦ埛鎷ユ湁瑙掕壊", 0, "sysUser:ownRole", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910574L, "manage", "sys_user_mgr_grant_data", null, null, null, null, null, false, null, "鐢ㄦ埛鎺堟潈鏁版嵁", 0, "sysUser:grantData", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910575L, "manage", "sys_user_mgr_own_data", null, null, null, null, null, false, null, "鐢ㄦ埛鎷ユ湁鏁版嵁", 0, "sysUser:ownData", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910576L, "manage", "sys_user_mgr_update_info", null, null, null, null, null, false, null, "鐢ㄦ埛鏇存柊淇℃伅", 0, "sysUser:updateInfo", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910577L, "manage", "sys_user_mgr_update_pwd", null, null, null, null, null, false, null, "鐢ㄦ埛淇敼瀵嗙爜", 0, "sysUser:updatePwd", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910578L, "manage", "sys_user_mgr_change_status", null, null, null, null, null, false, null, "鐢ㄦ埛淇敼鐘舵��", 0, "sysUser:changeStatus", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910579L, "manage", "sys_user_mgr_update_avatar", null, null, null, null, null, false, null, "鐢ㄦ埛淇敼澶村儚", 0, "sysUser:updateAvatar", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910580L, "manage", "sys_user_mgr_reset_pwd", null, null, null, null, null, false, null, "鐢ㄦ埛閲嶇疆瀵嗙爜", 0, "sysUser:resetPwd", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910581L, "manage", "sys_org_mgr", "system/org/index", null, null, null, null, false, null, "鏈烘瀯绠$悊", 1, null, 142307000914633L, "[0],[142307000914633],", null, null, "/org", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910582L, "manage", "sys_org_mgr_page", null, null, null, null, null, false, null, "鏈烘瀯鏌ヨ", 0, "sysOrg:page", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910583L, "manage", "sys_org_mgr_list", null, null, null, null, null, false, null, "鏈烘瀯鍒楄〃", 0, "sysOrg:list", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910584L, "manage", "sys_org_mgr_add", null, null, null, null, null, false, null, "鏈烘瀯澧炲姞", 0, "sysOrg:add", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910585L, "manage", "sys_org_mgr_edit", null, null, null, null, null, false, null, "鏈烘瀯缂栬緫", 0, "sysOrg:edit", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910586L, "manage", "sys_org_mgr_delete", null, null, null, null, null, false, null, "鏈烘瀯鍒犻櫎", 0, "sysOrg:delete", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910587L, "manage", "sys_org_mgr_detail", null, null, null, null, null, false, null, "鏈烘瀯璇︽儏", 0, "sysOrg:detail", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910588L, "manage", "sys_org_mgr_tree", null, null, null, null, null, false, null, "鏈烘瀯鏍�", 0, "sysOrg:tree", 142307070910581L, "[0],[142307000914633],[142307070910581],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910589L, "manage", "sys_pos_mgr", "system/pos/index", null, null, null, null, false, null, "鑱屼綅绠$悊", 1, null, 142307000914633L, "[0],[142307000914633],", null, null, "/pos", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070910590L, "manage", "sys_pos_mgr_page", null, null, null, null, null, false, null, "鑱屼綅鏌ヨ", 0, "sysPos:page", 142307070910589L, "[0],[142307000914633],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070910591L, "manage", "sys_pos_mgr_list", null, null, null, null, null, false, null, "鑱屼綅鍒楄〃", 0, "sysPos:list", 142307070910589L, "[0],[142307000914633],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070911739L, "manage", "sys_log_mgr_ex_log", "system/log/exlog/index", null, null, null, null, false, null, "寮傚父鏃ュ織", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/exlog", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070911740L, "manage", "sys_log_mgr_ex_log_page", null, null, null, null, null, false, null, "寮傚父鏃ュ織鏌ヨ", 0, "sysExLog:page", 142307070911739L, "[0],[142307070918732],[142307070911739],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070911741L, "manage", "sys_log_mgr_ex_log_delete", null, null, null, null, null, false, null, "寮傚父鏃ュ織娓呯┖", 0, "sysExLog:delete", 142307070911739L, "[0],[142307070918732],[142307070911739],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914629L, "manage", "sys_pos_mgr_add", null, null, null, null, null, false, null, "鑱屼綅澧炲姞", 0, "sysPos:add", 142307070910589L, "[0],[142307000914633],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914630L, "manage", "sys_pos_mgr_edit", null, null, null, null, null, false, null, "鑱屼綅缂栬緫", 0, "sysPos:edit", 142307070910589L, "[0],[142307000914633],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914631L, "manage", "sys_pos_mgr_delete", null, null, null, null, null, false, null, "鑱屼綅鍒犻櫎", 0, "sysPos:delete", 142307070910589L, "[0],[142307000914633],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914632L, "manage", "sys_pos_mgr_detail", null, null, null, null, null, false, null, "鑱屼綅璇︽儏", 0, "sysPos:detail", 142307070910589L, "[0],[142307000914633],[142307070910589],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914633L, "system", "sys_platform", "PageView", null, null, null, "safety-certificate", false, null, "骞冲彴绠$悊", 0, null, 0L, "[0],", null, null, "/platform", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070914634L, "system", "sys_app_mgr", "system/app/index", null, null, null, null, false, null, "搴旂敤绠$悊", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/app", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914635L, "system", "sys_app_mgr_page", null, null, null, null, null, false, null, "搴旂敤鏌ヨ", 0, "sysApp:page", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914636L, "system", "sys_app_mgr_list", null, null, null, null, null, false, null, "搴旂敤鍒楄〃", 0, "sysApp:list", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914637L, "system", "sys_app_mgr_add", null, null, null, null, null, false, null, "搴旂敤澧炲姞", 0, "sysApp:add", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914638L, "system", "sys_app_mgr_edit", null, null, null, null, null, false, null, "搴旂敤缂栬緫", 0, "sysApp:edit", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914639L, "system", "sys_app_mgr_delete", null, null, null, null, null, false, null, "搴旂敤鍒犻櫎", 0, "sysApp:delete", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914640L, "system", "sys_app_mgr_detail", null, null, null, null, null, false, null, "搴旂敤璇︽儏", 0, "sysApp:detail", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914641L, "system", "sys_app_mgr_set_as_default", null, null, null, null, null, false, null, "璁句负榛樿搴旂敤", 0, "sysApp:setAsDefault", 142307070914634L, "[0],[142307070914633],[142307070914634],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914642L, "system", "sys_menu_mgr", "system/menu/index", null, null, null, null, false, null, "鑿滃崟绠$悊", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/menu", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914643L, "system", "sys_menu_mgr_list", null, null, null, null, null, false, null, "鑿滃崟鍒楄〃", 0, "sysMenu:list", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914644L, "system", "sys_menu_mgr_add", null, null, null, null, null, false, null, "鑿滃崟澧炲姞", 0, "sysMenu:add", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914645L, "system", "sys_menu_mgr_edit", null, null, null, null, null, false, null, "鑿滃崟缂栬緫", 0, "sysMenu:edit", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914646L, "system", "sys_menu_mgr_delete", null, null, null, null, null, false, null, "鑿滃崟鍒犻櫎", 0, "sysMenu:delete", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070914647L, "system", "sys_menu_mgr_detail", null, null, null, null, null, false, null, "鑿滃崟璇︽儏", 0, "sysMenu:detail", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914648L, "manage", "sys_menu_mgr_grant_tree", null, null, null, null, null, false, null, "鑿滃崟鎺堟潈鏍�", 0, "sysMenu:treeForGrant", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914649L, "manage", "sys_menu_mgr_tree", null, null, null, null, null, false, null, "鑿滃崟鏍�", 0, "sysMenu:tree", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914650L, "system", "sys_menu_mgr_change", null, null, null, null, null, false, null, "鑿滃崟鍒囨崲", 0, "sysMenu:change", 142307070914642L, "[0],[142307070914633],[142307070914642],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914651L, "manage", "sys_role_mgr", "system/role/index", null, null, null, null, false, null, "瑙掕壊绠$悊", 1, null, 142307070910563L, "[0],[142307070910563],", null, null, "/role", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914652L, "manage", "sys_role_mgr_page", null, null, null, null, null, false, null, "瑙掕壊鏌ヨ", 0, "sysRole:page", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914653L, "manage", "sys_role_mgr_add", null, null, null, null, null, false, null, "瑙掕壊澧炲姞", 0, "sysRole:add", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914654L, "manage", "sys_role_mgr_edit", null, null, null, null, null, false, null, "瑙掕壊缂栬緫", 0, "sysRole:edit", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914655L, "manage", "sys_role_mgr_delete", null, null, null, null, null, false, null, "瑙掕壊鍒犻櫎", 0, "sysRole:delete", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914656L, "manage", "sys_role_mgr_detail", null, null, null, null, null, false, null, "瑙掕壊璇︽儏", 0, "sysRole:detail", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914657L, "manage", "sys_role_mgr_drop_down", null, null, null, null, null, false, null, "瑙掕壊涓嬫媺", 0, "sysRole:dropDown", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914658L, "manage", "sys_role_mgr_grant_menu", null, null, null, null, null, false, null, "瑙掕壊鎺堟潈鑿滃崟", 0, "sysRole:grantMenu", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914659L, "manage", "sys_role_mgr_own_menu", null, null, null, null, null, false, null, "瑙掕壊鎷ユ湁鑿滃崟", 0, "sysRole:ownMenu", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914660L, "manage", "sys_role_mgr_grant_data", null, null, null, null, null, false, null, "瑙掕壊鎺堟潈鏁版嵁", 0, "sysRole:grantData", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914661L, "manage", "sys_role_mgr_own_data", null, null, null, null, null, false, null, "瑙掕壊鎷ユ湁鏁版嵁", 0, "sysRole:ownData", 142307070914651L, "[0],[142307070910563],[142307070914651],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914662L, "system", "system_tools", "PageView", null, null, null, "euro", false, null, "寮�鍙戠鐞�", 0, null, 0L, "[0],", null, null, "/tools", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070914663L, "system", "system_tools_config", "system/config/index", null, null, null, null, false, null, "绯荤粺閰嶇疆", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/config", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914664L, "system", "system_tools_config_page", null, null, null, null, null, false, null, "閰嶇疆鏌ヨ", 0, "sysConfig:page", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914665L, "system", "system_tools_config_list", null, null, null, null, null, false, null, "閰嶇疆鍒楄〃", 0, "sysConfig:list", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914666L, "system", "system_tools_config_add", null, null, null, null, null, false, null, "閰嶇疆澧炲姞", 0, "sysConfig:add", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914667L, "system", "system_tools_config_edit", null, null, null, null, null, false, null, "閰嶇疆缂栬緫", 0, "sysConfig:edit", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914668L, "system", "system_tools_config_delete", null, null, null, null, null, false, null, "閰嶇疆鍒犻櫎", 0, "sysConfig:delete", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914669L, "system", "system_tools_config_detail", null, null, null, null, null, false, null, "閰嶇疆璇︽儏", 0, "sysConfig:detail", 142307070914663L, "[0],[142307070914662],[142307070914663],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914678L, "system", "sys_dict_mgr", "system/dict/index", null, null, null, null, false, null, "瀛楀吀绠$悊", 1, null, 142307070914662L, "[0],[142307070914662],", null, null, "/dict", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070914679L, "system", "sys_dict_mgr_dict_type_page", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷鏌ヨ", 0, "sysDictType:page", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914680L, "system", "sys_dict_mgr_dict_type_list", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷鍒楄〃", 0, "sysDictType:list", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914681L, "system", "sys_dict_mgr_dict_type_add", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷澧炲姞", 0, "sysDictType:add", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914682L, "system", "sys_dict_mgr_dict_type_delete", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷鍒犻櫎", 0, "sysDictType:delete", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914683L, "system", "sys_dict_mgr_dict_type_edit", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷缂栬緫", 0, "sysDictType:edit", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914684L, "system", "sys_dict_mgr_dict_type_detail", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷璇︽儏", 0, "sysDictType:detail", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914685L, "system", "sys_dict_mgr_dict_type_drop_down", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷涓嬫媺", 0, "sysDictType:dropDown", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914686L, "system", "sys_dict_mgr_dict_type_change_status", null, null, null, null, null, false, null, "瀛楀吀绫诲瀷淇敼鐘舵��", 0, "sysDictType:changeStatus", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070914687L, "system", "sys_dict_mgr_dict_page", null, null, null, null, null, false, null, "瀛楀吀鍊兼煡璇�", 0, "sysDictData:page", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918725L, "system", "sys_dict_mgr_dict_list", null, null, null, null, null, false, null, "瀛楀吀鍊煎垪琛�", 0, "sysDictData:list", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918726L, "system", "sys_dict_mgr_dict_add", null, null, null, null, null, false, null, "瀛楀吀鍊煎鍔�", 0, "sysDictData:add", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918727L, "system", "sys_dict_mgr_dict_delete", null, null, null, null, null, false, null, "瀛楀吀鍊煎垹闄�", 0, "sysDictData:delete", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918728L, "system", "sys_dict_mgr_dict_edit", null, null, null, null, null, false, null, "瀛楀吀鍊肩紪杈�", 0, "sysDictData:edit", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918729L, "system", "sys_dict_mgr_dict_detail", null, null, null, null, null, false, null, "瀛楀吀鍊艰鎯�", 0, "sysDictData:detail", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918730L, "system", "sys_dict_mgr_dict_change_status", null, null, null, null, null, false, null, "瀛楀吀鍊间慨鏀圭姸鎬�", 0, "sysDictData:changeStatus", 142307070914678L, "[0],[142307070914662],[142307070914678],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918731L, "system", "sys_swagger_mgr", "Iframe", null, null, null, null, false, "http://localhost:6677/swagger/", "鎺ュ彛鏂囨。", 2, null, 142307070914662L, "[0],[142307070914662],", null, null, "/swagger", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918732L, "manage", "sys_log_mgr", "PageView", null, null, null, "read", false, null, "鏃ュ織绠$悊", 0, null, 0L, "[0],", null, null, "/log", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918733L, "manage", "sys_log_mgr_vis_log", "system/log/vislog/index", null, null, null, null, false, null, "璁块棶鏃ュ織", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/vislog", 100, 0, 1, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070918734L, "manage", "sys_log_mgr_vis_log_page", null, null, null, null, null, false, null, "璁块棶鏃ュ織鏌ヨ", 0, "sysVisLog:page", 142307070918733L, "[0],[142307070918732],[142307070918733],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918735L, "manage", "sys_log_mgr_vis_log_delete", null, null, null, null, null, false, null, "璁块棶鏃ュ織娓呯┖", 0, "sysVisLog:delete", 142307070918733L, "[0],[142307070918732],[142307070918733],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918736L, "manage", "sys_log_mgr_op_log", "system/log/oplog/index", null, null, null, null, false, null, "鎿嶄綔鏃ュ織", 1, null, 142307070918732L, "[0],[142307070918732],", null, null, "/oplog", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918737L, "manage", "sys_log_mgr_op_log_page", null, null, null, null, null, false, null, "鎿嶄綔鏃ュ織鏌ヨ", 0, "sysOpLog:page", 142307070918736L, "[0],[142307070918732],[142307070918736],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918738L, "manage", "sys_log_mgr_op_log_delete", null, null, null, null, null, false, null, "鎿嶄綔鏃ュ織娓呯┖", 0, "sysOpLog:delete", 142307070918736L, "[0],[142307070918732],[142307070918736],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918739L, "system", "sys_monitor_mgr", "PageView", null, null, null, "deployment-unit", false, null, "绯荤粺鐩戞帶", 0, null, 0L, "[0],", null, null, "/monitor", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918740L, "system", "sys_monitor_mgr_machine_monitor", "system/machine/index", null, null, null, null, false, null, "鏈嶅姟鐩戞帶", 1, null, 142307070918739L, "[0],[142307070918739],", null, null, "/machine", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918741L, "system", "sys_monitor_mgr_machine_monitor_query", null, null, null, null, null, false, null, "鏈嶅姟鐩戞帶鏌ヨ", 0, "sysMachine:query", 142307070918740L, "[0],[142307070918739],[142307070918740],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918742L, "system", "sys_monitor_mgr_online_user", "system/onlineUser/index", null, null, null, null, false, null, "鍦ㄧ嚎鐢ㄦ埛", 1, null, 142307070918739L, "[0],[142307070918739],", null, null, "/onlineUser", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918743L, "system", "sys_monitor_mgr_online_user_page", null, null, null, null, null, false, null, "鍦ㄧ嚎鐢ㄦ埛鏌ヨ", 0, "sysOnlineUser:page", 142307070918742L, "[0],[142307070918739],[142307070918742],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918744L, "system", "sys_monitor_mgr_online_user_force_exist", null, null, null, null, null, false, null, "鍦ㄧ嚎鐢ㄦ埛寮洪��", 0, "sysOnlineUser:forceExist", 142307070918742L, "[0],[142307070918739],[142307070918742],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918745L, "system", "sys_monitor_mgr_druid", "Iframe", null, null, null, null, false, "http://localhost:82/druid/login.html", "鏁版嵁鐩戞帶", 2, null, 142307070918739L, "[0],[142307070918739],", null, null, "/druid", 100, 0, 1, null, null, null, "N", 1 }, - { 142307070918746L, "manage", "sys_notice", "PageView", null, null, null, "sound", false, null, "閫氱煡鍏憡", 0, null, 0L, "[0],", null, null, "/notice", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918747L, "manage", "sys_notice_mgr", "system/notice/index", null, null, null, null, false, null, "鍏憡绠$悊", 1, null, 142307070918746L, "[0],[142307070918746],", null, null, "/notice", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918748L, "manage", "sys_notice_mgr_page", null, null, null, null, null, false, null, "鍏憡鏌ヨ", 0, "sysNotice:page", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918749L, "manage", "sys_notice_mgr_add", null, null, null, null, null, false, null, "鍏憡澧炲姞", 0, "sysNotice:add", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918750L, "manage", "sys_notice_mgr_edit", null, null, null, null, null, false, null, "鍏憡缂栬緫", 0, "sysNotice:edit", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918751L, "manage", "sys_notice_mgr_delete", null, null, null, null, null, false, null, "鍏憡鍒犻櫎", 0, "sysNotice:delete", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918752L, "manage", "sys_notice_mgr_detail", null, null, null, null, null, false, null, "鍏憡鏌ョ湅", 0, "sysNotice:detail", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918753L, "manage", "sys_notice_mgr_changeStatus", null, null, null, null, null, false, null, "鍏憡淇敼鐘舵��", 0, "sysNotice:changeStatus", 142307070918747L, "[0],[142307070918746],[142307070918747],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918754L, "manage", "sys_notice_mgr_received", "system/noticeReceived/index", null, null, null, null, false, null, "宸叉敹鍏憡", 1, null, 142307070918746L, "[0],[142307070918746],", null, null, "/noticeReceived", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918755L, "manage", "sys_notice_mgr_received_page", null, null, null, null, null, false, null, "宸叉敹鍏憡鏌ヨ", 0, "sysNotice:received", 142307070918754L, "[0],[142307070918746],[142307070918754],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918756L, "manage", "sys_file_mgr", "PageView", null, null, null, "file", false, null, "鏂囦欢绠$悊", 0, null, 0L, "[0],", null, null, "/file", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918757L, "manage", "sys_file_mgr_sys_file", "system/file/index", null, null, null, null, false, null, "绯荤粺鏂囦欢", 1, null, 142307070918756L, "[0],[142307070918756],", null, null, "/file", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918758L, "manage", "sys_file_mgr_sys_file_page", null, null, null, null, null, false, null, "鏂囦欢鏌ヨ", 0, "sysFileInfo:page", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918759L, "manage", "sys_file_mgr_sys_file_list", null, null, null, null, null, false, null, "鏂囦欢鍒楄〃", 0, "sysFileInfo:list", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918760L, "manage", "sys_file_mgr_sys_file_delete", null, null, null, null, null, false, null, "鏂囦欢鍒犻櫎", 0, "sysFileInfo:delete", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918761L, "manage", "sys_file_mgr_sys_file_detail", null, null, null, null, null, false, null, "鏂囦欢璇︽儏", 0, "sysFileInfo:detail", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918762L, "manage", "sys_file_mgr_sys_file_upload", null, null, null, null, null, false, null, "鏂囦欢涓婁紶", 0, "sysFileInfo:upload", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918763L, "manage", "sys_file_mgr_sys_file_download", null, null, null, null, null, false, null, "鏂囦欢涓嬭浇", 0, "sysFileInfo:download", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918764L, "manage", "sys_file_mgr_sys_file_preview", null, null, null, null, null, false, null, "鍥剧墖棰勮", 0, "sysFileInfo:preview", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918765L, "system", "sys_timers", "PageView", null, null, null, "dashboard", false, null, "浠诲姟璋冨害", 0, null, 0L, "[0],", null, null, "/timers", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918766L, "system", "sys_timers_mgr", "system/timers/index", null, null, null, null, false, null, "浠诲姟绠$悊", 1, null, 142307070918765L, "[0],[142307070918765],", null, null, "/timers", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918767L, "system", "sys_timers_mgr_page", null, null, null, null, null, false, null, "瀹氭椂浠诲姟鏌ヨ", 0, "sysTimers:page", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918768L, "system", "sys_timers_mgr_list", null, null, null, null, null, false, null, "瀹氭椂浠诲姟鍒楄〃", 0, "sysTimers:list", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918769L, "system", "sys_timers_mgr_detail", null, null, null, null, null, false, null, "瀹氭椂浠诲姟璇︽儏", 0, "sysTimers:detail", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918770L, "system", "sys_timers_mgr_add", null, null, null, null, null, false, null, "瀹氭椂浠诲姟澧炲姞", 0, "sysTimers:add", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918771L, "system", "sys_timers_mgr_delete", null, null, null, null, null, false, null, "瀹氭椂浠诲姟鍒犻櫎", 0, "sysTimers:delete", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918772L, "system", "sys_timers_mgr_edit", null, null, null, null, null, false, null, "瀹氭椂浠诲姟缂栬緫", 0, "sysTimers:edit", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918773L, "system", "sys_timers_mgr_get_action_classes", null, null, null, null, null, false, null, "瀹氭椂浠诲姟鍙墽琛屽垪琛�", 0, "sysTimers:getActionClasses", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918774L, "system", "sys_timers_mgr_start", null, null, null, null, null, false, null, "瀹氭椂浠诲姟鍚姩", 0, "sysTimers:start", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070918775L, "system", "sys_timers_mgr_stop", null, null, null, null, null, false, null, "瀹氭椂浠诲姟鍏抽棴", 0, "sysTimers:stop", 142307070918766L, "[0],[142307070918765],[142307070918766],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 142307070918776L, "system", "code_gen", "PageView", null, null, null, "thunderbolt", false, null, "浠g爜鐢熸垚", 0, null, 0L, "[0],", null, null, "/codeGenerate", 100, 0, 0, null, null, null, "Y", 1 }, - { 142307070918777L, "manage", "sys_user_mgr_login", null, null, null, null, null, false, null, "鐢ㄦ埛鐧诲綍淇℃伅", 0, "getLoginUser", 142307070910564L, "[0],[142307070910563],[142307070910564],", null, null, null, 100, 1, 2, null, null, null, "N", 1 }, - { 142307070918778L, "system", "low_code", "gen/lowCode/index", null, null, null, null, false, null, "琛ㄥ崟璁捐", 0, null, 142307070918776L, "[0],[142307070918776],", null, null, "/lowCode/index", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070918779L, "system", "code_gen_gen", "gen/codeGenerate/index", null, null, null, null, false, null, "浠g爜鐢熸垚", 0, null, 142307070918776L, "[0],[142307070918776],", null, null, "/codeGenerate/index", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070922870L, "system", "form_design", "system/formDesign/index", null, null, null, null, false, null, "琛ㄥ崟璁捐", 0, null, 285599875018821L, "[0],[285599875018821],", null, null, "/formDesign/index", 100, 0, 1, null, null, null, "Y", 1 }, - { 142307070922874L, "manage", "sys_file_mgr_sys_file_upload_avatar", null, null, null, null, null, false, null, "澶村儚涓婁紶", 0, "sysFileInfo:uploadAvatar", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070922875L, "manage", "sys_file_mgr_sys_file_upload_document", null, null, null, null, null, false, null, "鏂囨。涓婁紶", 0, "sysFileInfo:uploadDocument", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 142307070922876L, "manage", "sys_file_mgr_sys_file_upload_shop", null, null, null, null, null, false, null, "鍟嗗煄涓婁紶", 0, "sysFileInfo:uploadShop", 142307070918757L, "[0],[142307070918756],[142307070918757],", null, null, null, 100, 0, 2, null, null, null, "Y", 1 }, - { 285599875018821L, "system", "sys_formDesign", "PageView", null, null, null, "snippets", false, null, "琛ㄥ崟绠$悊", 1, null, 0L, "[0],", null, null, "/formDesign", 100, 0, 0, null, null, null, "Y", 1 }, - { 285599875018823L, "system", "sys_formDesign_list", "system/formDesign/list", null, null, null, null, false, null, "琛ㄥ崟鍒楄〃", 1, null, 285599875018821L, "[0],[285599875018821],", null, null, "/formDesign/list", 100, 0, 1, null, null, null, "Y", 1 }, - { 285635743518789L, "system", "sys_formDesign_edit", "system/formDesign/edit", null, null, null, null, false, null, "淇敼琛ㄥ崟", 1, null, 285599875018821L, "[0],[285599875018821],", null, null, "/formDesign/edit", 100, 0, 1, null, null, null, "N", 1 }, - { 285640475689029L, "system", "btn_formDesign_edit", "", null, null, null, null, false, null, "淇敼琛ㄥ崟", 0, "formmanager:edit", 285599875018823L, "[0],[285599875018821],[285599875018823],", null, null, "", 100, 0, 2, null, null, null, "Y", 1 }, - { 285640599859269L, "system", "btn_formDesign_delete", "", null, null, null, null, false, null, "鍒犻櫎琛ㄥ崟", 0, "formmanager:delete", 285599875018823L, "[0],[285599875018821],[285599875018823],", null, null, "", 100, 0, 2, null, null, null, "Y", 1 }, - { 285640740945989L, "system", "btn_formDesign_page", "", null, null, null, null, false, null, "琛ㄥ崟鍒楄〃", 0, "formmanager:page", 285599875018823L, "[0],[285599875018821],[285599875018823],", null, null, "", 100, 0, 2, null, null, null, "Y", 1 }, - { 355687925174341L, "busiapp", "Maste_wmscontainer_mgr", "main/WmsContainer/index", null, null, null, "border", false, null, "鎵樼洏淇℃伅", 1, null, 0L, "[0],", null, null, "/wmscontainer", 100, 0, 1, null, null, null, "Y", 2 }, - { 355687925178437L, "busiapp", "Maste_wmscontainer_mgr_page", null, null, null, null, null, false, null, "鎵樼洏淇℃伅鏌ヨ", 0, "WmsContainer:page", 355687925174341L, "[0],[355687924998213],[355687925174341],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355687925178438L, "busiapp", "Maste_wmscontainer_mgr_detail", null, null, null, null, null, false, null, "鎵樼洏淇℃伅璇︽儏", 0, "WmsContainer:detail", 355687925174341L, "[0],[355687924998213],[355687925174341],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355687925178439L, "busiapp", "Maste_wmscontainer_mgr_add", null, null, null, null, null, false, null, "鎵樼洏淇℃伅澧炲姞", 0, "WmsContainer:add", 355687925174341L, "[0],[355687924998213],[355687925174341],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355687925182533L, "busiapp", "Maste_wmscontainer_mgr_delete", null, null, null, null, null, false, null, "鎵樼洏淇℃伅鍒犻櫎", 0, "WmsContainer:delete", 355687925174341L, "[0],[355687924998213],[355687925174341],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355687925182534L, "busiapp", "Maste_wmscontainer_mgr_edit", null, null, null, null, null, false, null, "鎵樼洏淇℃伅缂栬緫", 0, "WmsContainer:edit", 355687925174341L, "[0],[355687924998213],[355687925174341],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355688792178757L, "busiapp", "Maste_wmsarea_mgr", "main/WmsArea/index", null, null, null, "appstore", false, null, "搴撳尯淇℃伅", 1, null, 0L, "[0],", null, null, "/wmsarea", 100, 0, 1, null, null, null, "Y", 2 }, - { 355688792182853L, "busiapp", "Maste_wmsarea_mgr_page", null, null, null, null, null, false, null, "搴撳尯淇℃伅鏌ヨ", 0, "WmsArea:page", 355688792178757L, "[0],[355688792162373],[355688792178757],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355688792182854L, "busiapp", "Maste_wmsarea_mgr_detail", null, null, null, null, null, false, null, "搴撳尯淇℃伅璇︽儏", 0, "WmsArea:detail", 355688792178757L, "[0],[355688792162373],[355688792178757],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355688792186949L, "busiapp", "Maste_wmsarea_mgr_add", null, null, null, null, null, false, null, "搴撳尯淇℃伅澧炲姞", 0, "WmsArea:add", 355688792178757L, "[0],[355688792162373],[355688792178757],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355688792186950L, "busiapp", "Maste_wmsarea_mgr_delete", null, null, null, null, null, false, null, "搴撳尯淇℃伅鍒犻櫎", 0, "WmsArea:delete", 355688792178757L, "[0],[355688792162373],[355688792178757],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355688792186951L, "busiapp", "Maste_wmsarea_mgr_edit", null, null, null, null, null, false, null, "搴撳尯淇℃伅缂栬緫", 0, "WmsArea:edit", 355688792178757L, "[0],[355688792162373],[355688792178757],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355689496985669L, "busiapp", "Maste_wmsplace_mgr", "main/WmsPlace/index", null, null, null, "table", false, null, "搴撲綅淇℃伅", 1, null, 0L, "[0],", null, null, "/wmsplace", 100, 0, 1, null, null, null, "Y", 2 }, - { 355689496989765L, "busiapp", "Maste_wmsplace_mgr_page", null, null, null, null, null, false, null, "搴撲綅淇℃伅鏌ヨ", 0, "WmsPlace:page", 355689496985669L, "[0],[355689496977477],[355689496985669],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355689496993861L, "busiapp", "Maste_wmsplace_mgr_detail", null, null, null, null, null, false, null, "搴撲綅淇℃伅璇︽儏", 0, "WmsPlace:detail", 355689496985669L, "[0],[355689496977477],[355689496985669],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355689496993862L, "busiapp", "Maste_wmsplace_mgr_add", null, null, null, null, null, false, null, "搴撲綅淇℃伅澧炲姞", 0, "WmsPlace:add", 355689496985669L, "[0],[355689496977477],[355689496985669],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355689496993863L, "busiapp", "Maste_wmsplace_mgr_delete", null, null, null, null, null, false, null, "搴撲綅淇℃伅鍒犻櫎", 0, "WmsPlace:delete", 355689496985669L, "[0],[355689496977477],[355689496985669],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355689496993864L, "busiapp", "Maste_wmsplace_mgr_edit", null, null, null, null, null, false, null, "搴撲綅淇℃伅缂栬緫", 0, "WmsPlace:edit", 355689496985669L, "[0],[355689496977477],[355689496985669],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355690042511429L, "busiapp", "Maste_wmsmaterial_mgr", "main/WmsMaterial/index", null, null, null, "barcode", false, null, "鐗╂枡淇℃伅", 1, null, 0L, "[0],", null, null, "/wmsmaterial", 100, 0, 1, null, null, null, "Y", 2 }, - { 355690042515525L, "busiapp", "Maste_wmsmaterial_mgr_page", null, null, null, null, null, false, null, "鐗╂枡淇℃伅鏌ヨ", 0, "WmsMaterial:page", 355690042511429L, "[0],[355690042499141],[355690042511429],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355690042519621L, "busiapp", "Maste_wmsmaterial_mgr_detail", null, null, null, null, null, false, null, "鐗╂枡淇℃伅璇︽儏", 0, "WmsMaterial:detail", 355690042511429L, "[0],[355690042499141],[355690042511429],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355690042519622L, "busiapp", "Maste_wmsmaterial_mgr_add", null, null, null, null, null, false, null, "鐗╂枡淇℃伅澧炲姞", 0, "WmsMaterial:add", 355690042511429L, "[0],[355690042499141],[355690042511429],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355690042519623L, "busiapp", "Maste_wmsmaterial_mgr_delete", null, null, null, null, null, false, null, "鐗╂枡淇℃伅鍒犻櫎", 0, "WmsMaterial:delete", 355690042511429L, "[0],[355690042499141],[355690042511429],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355690042519624L, "busiapp", "Maste_wmsmaterial_mgr_edit", null, null, null, null, null, false, null, "鐗╂枡淇℃伅缂栬緫", 0, "WmsMaterial:edit", 355690042511429L, "[0],[355690042499141],[355690042511429],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 355690923847749L, "warejob", "BindEntrance", "main/BindEntrance/index", null, null, null, "logout", false, null, "缁勭洏鍏ュ簱", 1, null, 0L, "[0],", null, null, "/BindEntrance", 100, 0, 1, null, null, null, "Y", 2 }, - { 355691450822725L, "warejob", "ExWarehouse", "main/ExWarehouse/index", null, null, null, "login", false, null, "鍑哄簱绠$悊", 1, null, 0L, "[0],", null, null, "/ExWarehouse", 100, 0, 1, null, null, null, "Y", 2 }, - { 355691891650629L, "warejob", "WmsTask", "main/WmsTask/index", null, null, null, "hourglass", false, null, "浠诲姟绠$悊", 1, null, 0L, "[0],", null, null, "/WmsTask", 100, 0, 1, null, null, null, "Y", 2 }, - { 355692253458501L, "warecount", "LocationView", "main/LocationView/index", null, null, null, "hdd", false, null, "搴撲綅瑙嗗浘", 1, null, 0L, "[0],", null, null, "/LocationView", 100, 0, 1, null, null, null, "Y", 2 } - }); - - migrationBuilder.InsertData( - table: "sys_menu", - columns: new[] { "Id", "Application", "Code", "Component", "CreatedTime", "CreatedUserId", "CreatedUserName", "Icon", "IsDeleted", "Link", "Name", "OpenType", "Permission", "Pid", "Pids", "Redirect", "Remark", "Router", "Sort", "Status", "Type", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Visible", "Weight" }, - values: new object[,] - { - { 355692487622725L, "warecount", "View_AccessDetails", "main/View_AccessDetails/index", null, null, null, "laptop", false, null, "鍑哄叆搴撹褰�", 1, null, 0L, "[0],", null, null, "/View_AccessDetails", 100, 0, 1, null, null, null, "Y", 2 }, - { 383310358700101L, "busiapp", "Maste_lesproductionline_mgr", "main/LesProductionline/index", null, null, null, "gateway", false, null, "浜х嚎淇℃伅", 1, null, 0L, "[0],", null, null, "/lesproductionline", 100, 0, 1, null, null, null, "Y", 2 }, - { 383310359138373L, "busiapp", "Maste_lesproductionline_mgr_page", null, null, null, null, null, false, null, "浜х嚎淇℃伅鏌ヨ", 0, "LesProductionline:page", 383310358700101L, "[0],[383310357848133],[383310358700101],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383310359146565L, "busiapp", "Maste_lesproductionline_mgr_detail", null, null, null, null, null, false, null, "浜х嚎淇℃伅璇︽儏", 0, "LesProductionline:detail", 383310358700101L, "[0],[383310357848133],[383310358700101],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383310359146566L, "busiapp", "Maste_lesproductionline_mgr_add", null, null, null, null, null, false, null, "浜х嚎淇℃伅澧炲姞", 0, "LesProductionline:add", 383310358700101L, "[0],[383310357848133],[383310358700101],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383310359150661L, "busiapp", "Maste_lesproductionline_mgr_delete", null, null, null, null, null, false, null, "浜х嚎淇℃伅鍒犻櫎", 0, "LesProductionline:delete", 383310358700101L, "[0],[383310357848133],[383310358700101],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383310359154757L, "busiapp", "Maste_lesproductionline_mgr_edit", null, null, null, null, null, false, null, "浜х嚎淇℃伅缂栬緫", 0, "LesProductionlinel:edit", 383310358700101L, "[0],[383310357848133],[383310358700101],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383311866703941L, "busiapp", "Maste_lesstation_mgr", "main/LesStation/index", null, null, null, "team", false, null, "宸ヤ綅淇℃伅", 1, null, 0L, "[0],", null, null, "/lesstation", 100, 0, 1, null, null, null, "Y", 2 }, - { 383311866744901L, "busiapp", "Maste_lesstation_mgr_page", null, null, null, null, null, false, null, "宸ヤ綅淇℃伅鏌ヨ", 0, "LesStation:page", 383311866703941L, "[0],[383311866441797],[383311866703941],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383311866748997L, "busiapp", "Maste_lesstation_mgr_detail", null, null, null, null, null, false, null, "宸ヤ綅淇℃伅璇︽儏", 0, "LesStation:detail", 383311866703941L, "[0],[383311866441797],[383311866703941],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383311866753093L, "busiapp", "Maste_lesstation_mgr_add", null, null, null, null, null, false, null, "宸ヤ綅淇℃伅澧炲姞", 0, "LesStation:add", 383311866703941L, "[0],[383311866441797],[383311866703941],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383311866753094L, "busiapp", "Maste_lesstation_mgr_delete", null, null, null, null, null, false, null, "宸ヤ綅淇℃伅鍒犻櫎", 0, "LesStation:delete", 383311866703941L, "[0],[383311866441797],[383311866703941],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383311866753095L, "busiapp", "Maste_lesstation_mgr_edit", null, null, null, null, null, false, null, "宸ヤ綅淇℃伅缂栬緫", 0, "LesStation:edit", 383311866703941L, "[0],[383311866441797],[383311866703941],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383328166334533L, "xbjl", "Maste_lestakematerials_mgr", "main/LesTakematerials/index", null, null, null, "deployment-unit", false, null, "鍙枡绠$悊", 1, null, 0L, "[0],", null, null, "/lestakematerials", 100, 0, 1, null, null, null, "Y", 2 }, - { 383328166449221L, "xbjl", "Maste_lestakematerials_mgr_page", null, null, null, null, null, false, null, "鍙枡鏌ヨ", 0, "LesTakematerials:page", 383328166334533L, "[0],[383328165556293],[383328166334533],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383328166457413L, "xbjl", "Maste_lestakematerials_mgr_detail", null, null, null, null, null, false, null, "鍙枡璇︽儏", 0, "LesTakematerials:detail", 383328166334533L, "[0],[383328165556293],[383328166334533],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383328166461509L, "xbjl", "Maste_lestakematerials_mgr_add", null, null, null, null, null, false, null, "鍙枡澧炲姞", 0, "LesTakematerials:add", 383328166334533L, "[0],[383328165556293],[383328166334533],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383328166461510L, "xbjl", "Maste_lestakematerials_mgr_delete", null, null, null, null, null, false, null, "鍙枡鍒犻櫎", 0, "LesTakematerials:delete", 383328166334533L, "[0],[383328165556293],[383328166334533],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 383328166461511L, "xbjl", "Maste_lestakematerials_mgr_edit", null, null, null, null, null, false, null, "鍙枡缂栬緫", 0, "LesTakematerials:edit", 383328166334533L, "[0],[383328165556293],[383328166334533],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 386851902500933L, "warecount", "Maste_wmsmaterialstock_mgr", "main/WmsMaterialStock/index", null, null, null, "vertical-left", false, null, "搴撳瓨淇℃伅", 1, null, 0L, "[0],", null, null, "/wmsmaterialstock", 100, 0, 1, null, null, null, "Y", 2 }, - { 386851902545989L, "warecount", "Maste_wmsmaterialstock_mgr_page", null, null, null, null, null, false, null, "搴撳瓨鏌ヨ", 0, "WmsMaterialStock:page", 386851902500933L, "[0],[386851902124101],[386851902500933],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 386851902550085L, "warecount", "Maste_wmsmaterialstock_mgr_detail", null, null, null, null, null, false, null, "搴撳瓨璇︽儏", 0, "WmsMaterialStock:detail", 386851902500933L, "[0],[386851902124101],[386851902500933],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 386851902554181L, "warecount", "Maste_wmsmaterialstock_mgr_add", null, null, null, null, null, false, null, "搴撳瓨澧炲姞", 0, "WmsMaterialStock:add", 386851902500933L, "[0],[386851902124101],[386851902500933],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 386851902558277L, "warecount", "Maste_wmsmaterialstock_mgr_delete", null, null, null, null, null, false, null, "搴撳瓨鍒犻櫎", 0, "WmsMaterialStock:delete", 386851902500933L, "[0],[386851902124101],[386851902500933],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 386851902558278L, "warecount", "Maste_wmsmaterialstock_mgr_edit", null, null, null, null, null, false, null, "搴撳瓨缂栬緫", 0, "WmsMaterialStock:edit", 386851902500933L, "[0],[386851902124101],[386851902500933],", null, null, null, 100, 0, 2, null, null, null, "Y", 2 }, - { 494834310545477L, "system", "sys_wmspdapower_mgr", "main/WmsPdaPower/index", null, null, null, null, false, null, "Pda鑿滃崟", 1, null, 142307070914633L, "[0],[142307070914633],", null, null, "/WmsPdaPower", 101, 0, 1, null, null, null, "Y", 1 } - }); - - migrationBuilder.InsertData( - table: "sys_org", - columns: new[] { "Id", "Code", "Contacts", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "OrgType", "Pid", "Pids", "Remark", "Sort", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910539L, "wbgf", null, null, null, null, false, "浼熸湰鑲′唤鏈夐檺鍏徃", null, 0L, "[0],", "浼熸湰鑲′唤鏈夐檺鍏徃", 100, 0, null, null, null, null }, - { 142307070910540L, "wbgf_sh", null, null, null, null, false, "浼熸湰鑲′唤鏈夐檺鍏徃(涓婃捣)", null, 142307070910539L, "[0],[142307070910539],", "浼熸湰鑲′唤鏈夐檺鍏徃-涓婃捣", 100, 0, null, null, null, null }, - { 142307070910541L, "wbgf_cq", null, null, null, null, false, "浼熸湰鑲′唤鏈夐檺鍏徃(閲嶅簡)", null, 142307070910539L, "[0],[142307070910539],", "浼熸湰鑲′唤鏈夐檺鍏徃-閲嶅簡", 100, 0, null, null, null, null }, - { 142307070910542L, "wbgf_sh_yfb", null, null, null, null, false, "鐮斿彂閮�", null, 142307070910540L, "[0],[142307070910539],[142307070910540],", "", 100, 0, null, null, null, null }, - { 142307070910543L, "wbgf_sh_qhb", null, null, null, null, false, "浼佸垝閮�", null, 142307070910540L, "[0],[142307070910539],[142307070910540],", "", 100, 0, null, null, null, null }, - { 142307070910544L, "wbgf_cq_scb", null, null, null, null, false, "甯傚満閮�", null, 142307070910541L, "[0],[142307070910539],[142307070910541],", "", 100, 0, null, null, null, null }, - { 142307070910545L, "wbgf_cq_cwb", null, null, null, null, false, "璐㈠姟閮�", null, 142307070910541L, "[0],[142307070910539],[142307070910541],", "", 100, 0, null, null, null, null }, - { 142307070910546L, "wbgf_cq_scb", null, null, null, null, false, "甯傚満閮ㄤ簩閮�", null, 142307070910544L, "[0],[142307070910539],[142307070910541],[142307070910544],", "", 100, 0, null, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_pos", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Name", "Remark", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910547L, "zjl", null, null, null, false, "鎬荤粡鐞�", "鎬荤粡鐞�", 100, 0, null, null, null }, - { 142307070910548L, "fzjl", null, null, null, false, "鍓�荤粡鐞�", "鍓�荤粡鐞�", 101, 0, null, null, null }, - { 142307070910549L, "bmjl", null, null, null, false, "閮ㄩ棬缁忕悊", "閮ㄩ棬缁忕悊", 102, 0, null, null, null }, - { 142307070910550L, "gzry", null, null, null, false, "宸ヤ綔浜哄憳", "宸ヤ綔浜哄憳", 103, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_role", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "DataScopeType", "IsDeleted", "Name", "Remark", "RoleType", "Sort", "Status", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[,] - { - { 142307070910554L, "sys_manager_role", null, null, null, 1, false, "绯荤粺绠$悊鍛�", "绯荤粺绠$悊鍛�", 0, 100, 0, null, null, null }, - { 356094617575493L, "admin", null, null, null, 1, false, "绠$悊鍛�", "", 0, 100, 0, null, null, null }, - { 358509609758789L, "ware", null, null, null, 1, false, "浠撳簱鐢ㄦ埛", "", 0, 100, 0, null, null, null }, - { 358536344862789L, "iWare", null, null, null, 5, false, "鐮斿彂鐢ㄦ埛", "", 0, 100, 0, null, null, null } - }); - - migrationBuilder.InsertData( - table: "sys_timer", - columns: new[] { "Id", "CreatedTime", "CreatedUserId", "CreatedUserName", "Cron", "DoOnce", "ExecuteType", "Headers", "Interval", "IsDeleted", "JobName", "Remark", "RequestParameters", "RequestType", "RequestUrl", "StartNow", "TimerType", "UpdatedTime", "UpdatedUserId", "UpdatedUserName" }, - values: new object[] { 142307070910556L, null, null, null, null, false, 1, null, 5, false, "鐧惧害api", "鎺ュ彛API", null, 2, "https://www.baidu.com", false, 0, null, null, null }); - - migrationBuilder.InsertData( - table: "sys_user", - columns: new[] { "Id", "Account", "AdminType", "Avatar", "Birthday", "CreatedTime", "CreatedUserId", "CreatedUserName", "Email", "IsDeleted", "LastLoginIp", "LastLoginTime", "Name", "NickName", "Password", "Phone", "ProductionlineId", "Sex", "Status", "Tel", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "WorkShopType" }, - values: new object[,] - { - { 142307070910551L, "superAdmin", 1, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, null, "瓒呯骇绠$悊鍛�", "superAdmin", "e10adc3949ba59abbe56e057f20f883e", "18020030720", 0L, 1, 0, null, null, null, null, 0 }, - { 142307070910552L, "admin", 2, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, null, "绯荤粺绠$悊鍛�", "admin", "e10adc3949ba59abbe56e057f20f883e", "18020030720", 0L, 1, 0, null, null, null, null, 0 }, - { 358533464608837L, "warehouse", 3, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, null, "浠撳簱鐢ㄦ埛", "warehouse", "e10adc3949ba59abbe56e057f20f883e", "13869156666", 0L, 1, 0, null, null, null, null, 0 }, - { 358536045723717L, "admin1", 3, null, new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), null, null, null, null, false, null, null, "鐮斿彂閮�", "admin1", "f379eaf3c831b04de153469d1bec345e", "13869156666", 0L, 1, 0, null, null, null, null, 0 } - }); - - migrationBuilder.InsertData( - table: "sys_dict_data", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 142307070902375L, "1", null, null, null, false, "鐢锋��", 100, 0, 142307070906484L, null, null, null, "鐢�" }, - { 142307070902376L, "2", null, null, null, false, "濂虫��", 100, 0, 142307070906484L, null, null, null, "濂�" }, - { 142307070902377L, "3", null, null, null, false, "鏈煡鎬у埆", 100, 0, 142307070906484L, null, null, null, "鏈煡" }, - { 142307070902384L, "0", null, null, null, false, "姝e父", 100, 0, 142307070906483L, null, null, null, "姝e父" }, - { 142307070902385L, "1", null, null, null, false, "鍋滅敤", 100, 0, 142307070906483L, null, null, null, "鍋滅敤" }, - { 142307070902386L, "2", null, null, null, false, "鍒犻櫎", 100, 0, 142307070906483L, null, null, null, "鍒犻櫎" }, - { 142307070902387L, "N", null, null, null, false, "鍚�", 100, 0, 142307070906486L, null, null, null, "鍚�" }, - { 142307070902388L, "Y", null, null, null, false, "鏄�", 100, 0, 142307070906486L, null, null, null, "鏄�" }, - { 142307070902389L, "1", null, null, null, false, "鐧诲綍", 100, 0, 142307070906487L, null, null, null, "鐧诲綍" }, - { 142307070902390L, "2", null, null, null, false, "鐧诲嚭", 100, 0, 142307070906487L, null, null, null, "鐧诲嚭" }, - { 142307070902391L, "0", null, null, null, false, "鐩綍", 100, 0, 142307070906488L, null, null, null, "鐩綍" }, - { 142307070902392L, "1", null, null, null, false, "鑿滃崟", 100, 0, 142307070906488L, null, null, null, "鑿滃崟" }, - { 142307070902393L, "2", null, null, null, false, "鎸夐挳", 100, 0, 142307070906488L, null, null, null, "鎸夐挳" }, - { 142307070902394L, "0", null, null, null, false, "鏈彂閫�", 100, 0, 142307070906489L, null, null, null, "鏈彂閫�" }, - { 142307070902395L, "1", null, null, null, false, "鍙戦�佹垚鍔�", 100, 0, 142307070906489L, null, null, null, "鍙戦�佹垚鍔�" }, - { 142307070902396L, "2", null, null, null, false, "鍙戦�佸け璐�", 100, 0, 142307070906489L, null, null, null, "鍙戦�佸け璐�" }, - { 142307070902397L, "3", null, null, null, false, "澶辨晥", 100, 0, 142307070906489L, null, null, null, "澶辨晥" }, - { 142307070902398L, "0", null, null, null, false, "鏃�", 100, 0, 142307070906490L, null, null, null, "鏃�" }, - { 142307070902399L, "1", null, null, null, false, "缁勪欢", 100, 0, 142307070906490L, null, null, null, "缁勪欢" }, - { 142307070906437L, "2", null, null, null, false, "鍐呴摼", 100, 0, 142307070906490L, null, null, null, "鍐呴摼" }, - { 142307070906438L, "3", null, null, null, false, "澶栭摼", 100, 0, 142307070906490L, null, null, null, "澶栭摼" }, - { 142307070906439L, "1", null, null, null, false, "绯荤粺鏉冮噸", 100, 0, 142307070906491L, null, null, null, "绯荤粺鏉冮噸" }, - { 142307070906440L, "2", null, null, null, false, "涓氬姟鏉冮噸", 100, 0, 142307070906491L, null, null, null, "涓氬姟鏉冮噸" }, - { 142307070906441L, "1", null, null, null, false, "鍏ㄩ儴鏁版嵁", 100, 0, 142307070906492L, null, null, null, "鍏ㄩ儴鏁版嵁" }, - { 142307070906442L, "2", null, null, null, false, "鏈儴闂ㄥ強浠ヤ笅鏁版嵁", 100, 0, 142307070906492L, null, null, null, "鏈儴闂ㄥ強浠ヤ笅鏁版嵁" }, - { 142307070906443L, "3", null, null, null, false, "鏈儴闂ㄦ暟鎹�", 100, 0, 142307070906492L, null, null, null, "鏈儴闂ㄦ暟鎹�" }, - { 142307070906444L, "4", null, null, null, false, "浠呮湰浜烘暟鎹�", 100, 0, 142307070906492L, null, null, null, "浠呮湰浜烘暟鎹�" }, - { 142307070906445L, "5", null, null, null, false, "鑷畾涔夋暟鎹�", 100, 0, 142307070906492L, null, null, null, "鑷畾涔夋暟鎹�" }, - { 142307070906449L, "0", null, null, null, false, "鍏跺畠", 100, 0, 142307070906494L, null, null, null, "鍏跺畠" }, - { 142307070906450L, "1", null, null, null, false, "澧炲姞", 100, 0, 142307070906494L, null, null, null, "澧炲姞" }, - { 142307070906451L, "2", null, null, null, false, "鍒犻櫎", 100, 0, 142307070906494L, null, null, null, "鍒犻櫎" }, - { 142307070906452L, "3", null, null, null, false, "缂栬緫", 100, 0, 142307070906494L, null, null, null, "缂栬緫" }, - { 142307070906453L, "4", null, null, null, false, "鏇存柊", 100, 0, 142307070906494L, null, null, null, "鏇存柊" }, - { 142307070906454L, "5", null, null, null, false, "鏌ヨ", 100, 0, 142307070906494L, null, null, null, "鏌ヨ" }, - { 142307070906455L, "6", null, null, null, false, "璇︽儏", 100, 0, 142307070906494L, null, null, null, "璇︽儏" }, - { 142307070906456L, "7", null, null, null, false, "鏍�", 100, 0, 142307070906494L, null, null, null, "鏍�" }, - { 142307070906457L, "8", null, null, null, false, "瀵煎叆", 100, 0, 142307070906494L, null, null, null, "瀵煎叆" }, - { 142307070906458L, "9", null, null, null, false, "瀵煎嚭", 100, 0, 142307070906494L, null, null, null, "瀵煎嚭" }, - { 142307070906459L, "10", null, null, null, false, "鎺堟潈", 100, 0, 142307070906494L, null, null, null, "鎺堟潈" }, - { 142307070906460L, "11", null, null, null, false, "寮洪��", 100, 0, 142307070906494L, null, null, null, "寮洪��" }, - { 142307070906461L, "12", null, null, null, false, "娓呯┖", 100, 0, 142307070906494L, null, null, null, "娓呯┖" }, - { 142307070906462L, "13", null, null, null, false, "淇敼鐘舵��", 100, 0, 142307070906494L, null, null, null, "淇敼鐘舵��" } - }); - - migrationBuilder.InsertData( - table: "sys_dict_data", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 142307070906463L, "1", null, null, null, false, "闃块噷浜�", 100, 0, 142307070906495L, null, null, null, "闃块噷浜�" }, - { 142307070906464L, "2", null, null, null, false, "鑵捐浜�", 100, 0, 142307070906495L, null, null, null, "鑵捐浜�" }, - { 142307070906465L, "3", null, null, null, false, "minio", 100, 0, 142307070906495L, null, null, null, "minio" }, - { 142307070906466L, "4", null, null, null, false, "鏈湴", 100, 0, 142307070906495L, null, null, null, "鏈湴" }, - { 142307070906467L, "1", null, null, null, false, "杩愯", 100, 0, 142307070910533L, null, null, null, "杩愯" }, - { 142307070906468L, "2", null, null, null, false, "鍋滄", 100, 0, 142307070910533L, null, null, null, "鍋滄" }, - { 142307070906469L, "1", null, null, null, false, "閫氱煡", 100, 0, 142307070910534L, null, null, null, "閫氱煡" }, - { 142307070906470L, "2", null, null, null, false, "鍏憡", 100, 0, 142307070910534L, null, null, null, "鍏憡" }, - { 142307070906471L, "0", null, null, null, false, "鑽夌", 100, 0, 142307070910535L, null, null, null, "鑽夌" }, - { 142307070906472L, "1", null, null, null, false, "鍙戝竷", 100, 0, 142307070910535L, null, null, null, "鍙戝竷" }, - { 142307070906473L, "2", null, null, null, false, "鎾ゅ洖", 100, 0, 142307070910535L, null, null, null, "鎾ゅ洖" }, - { 142307070906474L, "3", null, null, null, false, "鍒犻櫎", 100, 0, 142307070910535L, null, null, null, "鍒犻櫎" }, - { 142307070906475L, "true", null, null, null, false, "鏄�", 100, 0, 142307070910536L, null, null, null, "鏄�" }, - { 142307070906476L, "false", null, null, null, false, "鍚�", 100, 0, 142307070910536L, null, null, null, "鍚�" }, - { 142307070906477L, "1", null, null, null, false, "涓嬭浇鍘嬬缉鍖�", 100, 0, 142307070910537L, null, null, null, "涓嬭浇鍘嬬缉鍖�" }, - { 142307070906478L, "2", null, null, null, false, "鐢熸垚鍒版湰椤圭洰", 100, 0, 142307070910537L, null, null, null, "鐢熸垚鍒版湰椤圭洰" }, - { 142307070906479L, "1", null, null, null, false, "GET", 100, 0, 142307070910538L, null, null, null, "GET" }, - { 142307070906480L, "2", null, null, null, false, "POST", 100, 0, 142307070910538L, null, null, null, "POST" }, - { 142307070906481L, "3", null, null, null, false, "PUT", 100, 0, 142307070910538L, null, null, null, "PUT" }, - { 142307070906482L, "4", null, null, null, false, "DELETE", 100, 0, 142307070910538L, null, null, null, "DELETE" }, - { 142307070922829L, "fk", null, null, null, false, "澶栭敭", 100, 0, 142307070922827L, null, null, null, "澶栭敭" }, - { 142307070922830L, "input", null, null, null, false, "杈撳叆妗�", 100, 0, 142307070922827L, null, null, null, "杈撳叆妗�" }, - { 142307070922831L, "datepicker", null, null, null, false, "鏃ユ湡閫夋嫨", 100, 0, 142307070922827L, null, null, null, "鏃ユ湡閫夋嫨" }, - { 142307070922832L, "select", null, null, null, false, "涓嬫媺妗�", 100, 0, 142307070922827L, null, null, null, "涓嬫媺妗�" }, - { 142307070922833L, "radio", null, null, null, false, "鍗曢�夋", 100, 0, 142307070922827L, null, null, null, "鍗曢�夋" }, - { 142307070922834L, "switch", null, null, null, false, "寮�鍏�", 100, 0, 142307070922827L, null, null, null, "寮�鍏�" }, - { 142307070922835L, "checkbox", null, null, null, false, "澶氶�夋", 100, 0, 142307070922827L, null, null, null, "澶氶�夋" }, - { 142307070922836L, "inputnumber", null, null, null, false, "鏁板瓧杈撳叆妗�", 100, 0, 142307070922827L, null, null, null, "鏁板瓧杈撳叆妗�" }, - { 142307070922837L, "textarea", null, null, null, false, "鏂囨湰鍩�", 100, 0, 142307070922827L, null, null, null, "鏂囨湰鍩�" }, - { 142307070922838L, "==", null, null, null, false, "绛変簬", 1, 0, 142307070922828L, null, null, null, "绛変簬" }, - { 142307070922839L, "like", null, null, null, false, "妯$硦", 2, 0, 142307070922828L, null, null, null, "妯$硦" }, - { 142307070922840L, ">", null, null, null, false, "澶т簬", 3, 0, 142307070922828L, null, null, null, "澶т簬" }, - { 142307070922841L, "<", null, null, null, false, "灏忎簬", 4, 0, 142307070922828L, null, null, null, "灏忎簬" }, - { 142307070922842L, "!=", null, null, null, false, "涓嶇瓑浜�", 5, 0, 142307070922828L, null, null, null, "涓嶇瓑浜�" }, - { 142307070922843L, ">=", null, null, null, false, "澶т簬绛変簬", 6, 0, 142307070922828L, null, null, null, "澶т簬绛変簬" }, - { 142307070922844L, "<=", null, null, null, false, "灏忎簬绛変簬", 7, 0, 142307070922828L, null, null, null, "灏忎簬绛変簬" }, - { 142307070922845L, "isNotNull", null, null, null, false, "涓嶄负绌�", 8, 0, 142307070922828L, null, null, null, "涓嶄负绌�" }, - { 142307070922846L, "long", null, null, null, false, "long", 100, 0, 142307070922829L, null, null, null, "long" }, - { 142307070922847L, "string", null, null, null, false, "string", 100, 0, 142307070922829L, null, null, null, "string" }, - { 142307070922848L, "DateTime", null, null, null, false, "DateTime", 100, 0, 142307070922829L, null, null, null, "DateTime" }, - { 142307070922850L, "bool", null, null, null, false, "bool", 100, 0, 142307070922829L, null, null, null, "bool" }, - { 142307070922851L, "int", null, null, null, false, "int", 100, 0, 142307070922829L, null, null, null, "int" } - }); - - migrationBuilder.InsertData( - table: "sys_dict_data", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 142307070922852L, "double", null, null, null, false, "double", 100, 0, 142307070922829L, null, null, null, "double" }, - { 142307070922861L, "float", null, null, null, false, "float", 100, 0, 142307070922829L, null, null, null, "float" }, - { 142307070922862L, "decimal", null, null, null, false, "decimal", 100, 0, 142307070922829L, null, null, null, "decimal" }, - { 142307070922863L, "Guid", null, null, null, false, "Guid", 100, 0, 142307070922829L, null, null, null, "Guid" }, - { 142307070922864L, "DateTimeOffset", null, null, null, false, "DateTimeOffset", 100, 0, 142307070922829L, null, null, null, "DateTimeOffset" }, - { 142307070926943L, "0", null, null, null, false, "闆嗗洟瑙掕壊", 100, 0, 142307070926941L, null, null, null, "闆嗗洟瑙掕壊" }, - { 142307070926944L, "1", null, null, null, false, "鍔犵洘鍟嗚鑹�", 100, 0, 142307070926941L, null, null, null, "鍔犵洘鍟嗚鑹�" }, - { 142307070926945L, "2", null, null, null, false, "闂ㄥ簵瑙掕壊", 100, 0, 142307070926941L, null, null, null, "闂ㄥ簵瑙掕壊" }, - { 142307070926946L, "1", null, null, null, false, "涓�绾�", 100, 0, 142307070926942L, null, null, null, "涓�绾�" }, - { 142307070926947L, "2", null, null, null, false, "浜岀骇", 100, 0, 142307070926942L, null, null, null, "浜岀骇" }, - { 142307070926948L, "3", null, null, null, false, "涓夌骇", 100, 0, 142307070926942L, null, null, null, "涓夌骇" }, - { 142307070926949L, "4", null, null, null, false, "鍥涚骇", 100, 0, 142307070926942L, null, null, null, "鍥涚骇" }, - { 285605336563781L, "DefaultFormType", null, null, null, false, "榛樿琛ㄥ崟鍒嗙被", 100, 0, 285605149831237L, null, null, null, "榛樿琛ㄥ崟鍒嗙被" }, - { 285641495289925L, "DefaultGroup", null, null, null, false, "榛樿鍒嗙被", 100, 0, 285641358889029L, null, null, null, "榛樿鍒嗙被" }, - { 355697634480197L, "0", null, null, null, false, "", 100, 0, 355694205325381L, null, null, null, "鍏朵粬" }, - { 355697634480198L, "0", null, null, null, false, "", 100, 0, 355697881423942L, null, null, null, "閫氱敤" }, - { 355697676427333L, "1", null, null, null, false, "", 100, 0, 355694205325381L, null, null, null, "鏈ㄨ川" }, - { 355697676427399L, "1", null, null, null, false, "", 100, 0, 355697881423942L, null, null, null, "鍗卞寲鍝�" }, - { 355697726726200L, "2", null, null, null, false, "", 100, 0, 355697881423942L, null, null, null, "娑蹭綋" }, - { 355697726726213L, "2", null, null, null, false, "", 100, 0, 355694205325381L, null, null, null, "閲戝睘" }, - { 355697755361301L, "3", null, null, null, false, "", 100, 0, 355697881423942L, null, null, null, "璐甸噸鍝�" }, - { 355697755361302L, "4", null, null, null, false, "", 100, 0, 355697881423942L, null, null, null, "姘斾綋" }, - { 355697755361303L, "5", null, null, null, false, "", 100, 0, 355697881423942L, null, null, null, "浣庢俯" }, - { 355697755361349L, "3", null, null, null, false, "", 100, 0, 355694205325381L, null, null, null, "濉戞枡" }, - { 355697944657989L, "0", null, null, null, false, "", 100, 0, 355697881423941L, null, null, null, "绂佺敤" }, - { 355697974415429L, "1", null, null, null, false, "", 100, 0, 355697881423941L, null, null, null, "绌洪棽" }, - { 355698005966917L, "2", null, null, null, false, "", 100, 0, 355697881423941L, null, null, null, "缁勭洏" }, - { 355698032828485L, "3", null, null, null, false, "", 100, 0, 355697881423941L, null, null, null, "搴撲綅" }, - { 355698270015557L, "0", null, null, null, false, "", 100, 0, 355698224758853L, null, null, null, "鍏朵粬" }, - { 355698303508549L, "1", null, null, null, false, "", 100, 0, 355698224758853L, null, null, null, "绔嬩綋搴�" }, - { 355698328531013L, "2", null, null, null, false, "", 100, 0, 355698224758853L, null, null, null, "鏅�氬簱" }, - { 355698362712133L, "3", null, null, null, false, "", 100, 0, 355698224758853L, null, null, null, "鍏叡搴�" }, - { 355698476777541L, "1", null, null, null, false, "", 100, 0, 355698441912389L, null, null, null, "绌洪棽" }, - { 355698510786629L, "2", null, null, null, false, "", 100, 0, 355698441912389L, null, null, null, "寰呭叆" }, - { 355698549424197L, "3", null, null, null, false, "", 100, 0, 355698441912389L, null, null, null, "瀛樿揣" }, - { 355698576941125L, "4", null, null, null, false, "", 100, 0, 355698441912389L, null, null, null, "寰呭嚭" }, - { 355698694561861L, "1", null, null, null, false, "", 100, 0, 355698661130309L, null, null, null, "浣�" }, - { 355698716401733L, "2", null, null, null, false, "", 100, 0, 355698661130309L, null, null, null, "涓�" }, - { 355698740326469L, "3", null, null, null, false, "", 100, 0, 355698661130309L, null, null, null, "楂�" }, - { 355698898735173L, "1", null, null, null, false, "", 100, 0, 355698855280709L, null, null, null, "鍏嶆" }, - { 355698924970053L, "2", null, null, null, false, "", 100, 0, 355698855280709L, null, null, null, "鎶芥" }, - { 355699041800261L, "1", null, null, null, false, "", 100, 0, 355699003580485L, null, null, null, "鍘熸潗鏂�" } - }); - - migrationBuilder.InsertData( - table: "sys_dict_data", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 355699063255109L, "2", null, null, null, false, "", 100, 0, 355699003580485L, null, null, null, "鍗婃垚鍝�" }, - { 355699088330821L, "3", null, null, null, false, "", 100, 0, 355699003580485L, null, null, null, "鎴愬搧" }, - { 355699113156677L, "4", null, null, null, false, "", 100, 0, 355699003580485L, null, null, null, "绌烘墭" }, - { 355699219353669L, "1", null, null, null, false, "", 100, 0, 355699189051461L, null, null, null, "闀垮害" }, - { 355699243540549L, "2", null, null, null, false, "", 100, 0, 355699189051461L, null, null, null, "閲嶉噺" }, - { 355699345645637L, "1", null, null, null, false, "", 100, 0, 355699314061381L, null, null, null, "cm" }, - { 355699367575621L, "2", null, null, null, false, "", 100, 0, 355699314061381L, null, null, null, "t" }, - { 355699479236677L, "1", null, null, null, false, "", 100, 0, 355699447029829L, null, null, null, "鎵嬪姩" }, - { 355699505229893L, "2", null, null, null, false, "", 100, 0, 355699447029829L, null, null, null, "鑷姩" }, - { 355699615133765L, "1", null, null, null, false, "", 100, 0, 355699576467525L, null, null, null, "鍏ュ簱" }, - { 355699638476869L, "2", null, null, null, false, "", 100, 0, 355699576467525L, null, null, null, "鍑哄簱" }, - { 355699661889605L, "3", null, null, null, false, "", 100, 0, 355699576467525L, null, null, null, "绉诲簱" }, - { 355699760455749L, "1", null, null, null, false, "", 100, 0, 355699731099717L, null, null, null, "鏈墽琛�" }, - { 355699760455798L, "1", null, null, null, false, "", 100, 0, 355699731099718L, null, null, null, "鏈墽琛�" }, - { 355699784736837L, "2", null, null, null, false, "", 100, 0, 355699731099717L, null, null, null, "鎵ц涓�" }, - { 355699784736899L, "2", null, null, null, false, "", 100, 0, 355699731099718L, null, null, null, "鎵ц涓�-AGV" }, - { 355699813859300L, "3", null, null, null, false, "", 100, 0, 355699731099718L, null, null, null, "鎵ц涓�-杈撻�佺嚎" }, - { 355699813859301L, "4", null, null, null, false, "", 100, 0, 355699731099718L, null, null, null, "鎵ц涓�-鍫嗗灈鏈�" }, - { 355699813859302L, "5", null, null, null, false, "", 100, 0, 355699731099718L, null, null, null, "绛夊緟" }, - { 355699813859303L, "6", null, null, null, false, "", 100, 0, 355699731099718L, null, null, null, "瀹屾垚" }, - { 355699813859397L, "3", null, null, null, false, "", 100, 0, 355699731099717L, null, null, null, "瀹屾垚" }, - { 383290784104517L, "1", null, null, null, false, "", 100, 0, 383290718294085L, null, null, null, "娉℃搏鍒囧壊" }, - { 383290816860229L, "2", null, null, null, false, "", 100, 0, 383290718294085L, null, null, null, "瑁呴厤杞﹂棿" }, - { 383317608218693L, "0", null, null, null, false, "", 100, 0, 383317542490181L, null, null, null, "鏈紑濮�" }, - { 383317718302789L, "1", null, null, null, false, "", 100, 0, 383317542490181L, null, null, null, "杩愰�佷腑" }, - { 383317751234629L, "2", null, null, null, false, "", 100, 0, 383317542490181L, null, null, null, "瀹屾垚" }, - { 384394737053765L, "1", null, null, null, false, "", 100, 0, 384394636988485L, null, null, null, "AGV" }, - { 384394851618885L, "2", null, null, null, false, "", 100, 0, 384394636988485L, null, null, null, "鍫嗗灈鏈�" }, - { 384394877870149L, "3", null, null, null, false, "", 100, 0, 384394636988485L, null, null, null, "RGV" }, - { 385412179521605L, "1", null, null, null, false, "", 100, 0, 385412129075269L, null, null, null, "鍒囧壊" }, - { 385412217618501L, "2", null, null, null, false, "", 100, 0, 385412129075269L, null, null, null, "鍘嬪悎" }, - { 385412280418373L, "3", null, null, null, false, "", 100, 0, 385412129075269L, null, null, null, "CNC" }, - { 386523049214021L, "1", null, null, null, false, "", 100, 0, 386522984120389L, null, null, null, "鍏ュ簱鍙�" }, - { 386523049214022L, "1", null, null, null, false, "", 100, 0, 386522984120390L, null, null, null, "鍙戞场涓�绾�" }, - { 386523049214025L, "1", null, null, null, false, "", 100, 0, 386522984120391L, null, null, null, "鏈紑濮�" }, - { 386523049214029L, "1", null, null, null, false, "", 100, 0, 386522984120392L, null, null, null, "鍏ュ簱" }, - { 386523049214033L, "1", null, null, null, false, "", 100, 0, 386522984120393L, null, null, null, "鏈笅鍙�" }, - { 386523049214038L, "1", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "浜х嚎閫�搴�" }, - { 386523071475723L, "2", null, null, null, false, "", 100, 0, 386522984120390L, null, null, null, "鍙戞场浜岀嚎" }, - { 386523071475724L, "3", null, null, null, false, "", 100, 0, 386522984120390L, null, null, null, "鍙戞场涓夌嚎" }, - { 386523071475726L, "2", null, null, null, false, "", 100, 0, 386522984120391L, null, null, null, "杩涜涓�" }, - { 386523071475727L, "3", null, null, null, false, "", 100, 0, 386522984120391L, null, null, null, "瀹屾垚" } - }); - - migrationBuilder.InsertData( - table: "sys_dict_data", - columns: new[] { "Id", "Code", "CreatedTime", "CreatedUserId", "CreatedUserName", "IsDeleted", "Remark", "Sort", "Status", "TypeId", "UpdatedTime", "UpdatedUserId", "UpdatedUserName", "Value" }, - values: new object[,] - { - { 386523071475728L, "4", null, null, null, false, "", 100, 0, 386522984120391L, null, null, null, "鎾ゅ洖" }, - { 386523071475730L, "2", null, null, null, false, "", 100, 0, 386522984120392L, null, null, null, "鍑哄簱" }, - { 386523071475731L, "3", null, null, null, false, "", 100, 0, 386522984120392L, null, null, null, "璋冩嫧" }, - { 386523071475732L, "4", null, null, null, false, "", 100, 0, 386522984120392L, null, null, null, "瓒婂簱" }, - { 386523071475734L, "2", null, null, null, false, "", 100, 0, 386522984120393L, null, null, null, "宸蹭笅鍙�" }, - { 386523071475735L, "3", null, null, null, false, "", 100, 0, 386522984120393L, null, null, null, "鎵ц涓�" }, - { 386523071475736L, "4", null, null, null, false, "", 100, 0, 386522984120393L, null, null, null, "瀹屾垚" }, - { 386523071475737L, "5", null, null, null, false, "", 100, 0, 386522984120393L, null, null, null, "鎾ゅ洖" }, - { 386523071475739L, "2", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "鐢熶骇鍏ュ簱" }, - { 386523071475740L, "3", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "浣欐枡鍥炲簱" }, - { 386523071475741L, "4", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "閲囪喘鍏ュ簱" }, - { 386523071475742L, "5", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "鍏朵粬" }, - { 386523071475743L, "6", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "鍙戣揣鍗�" }, - { 386523071475744L, "7", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "鐢熶骇棰嗘枡" }, - { 386523071475745L, "8", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "閿�鍞嚭搴�" }, - { 386523071475746L, "9", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "渚涘簲鍟嗛��搴�" }, - { 386523071475747L, "10", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "娉℃搏鍑哄簱" }, - { 386523071475748L, "11", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "鍑哄簱鍏朵粬" }, - { 386523071475749L, "12", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "浠撳簱璋冩嫧" }, - { 386523071475750L, "13", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "搴撳尯璋冩嫧" }, - { 386523071475751L, "14", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "搴撲綅璋冩嫧" }, - { 386523071475752L, "15", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "椤圭洰璋冩嫧" }, - { 386523071475753L, "16", null, null, null, false, "", 100, 0, 386522984120394L, null, null, null, "璋冩嫧鍏朵粬" }, - { 386523071475754L, "1", null, null, null, false, "", 100, 0, 386522984120395L, null, null, null, "涓嶄娇鐢�" }, - { 386523071475755L, "2", null, null, null, false, "", 100, 0, 386522984120395L, null, null, null, "鏈鏍�" }, - { 386523071475756L, "3", null, null, null, false, "", 100, 0, 386522984120395L, null, null, null, "绛炬牳涓�" }, - { 386523071475757L, "4", null, null, null, false, "", 100, 0, 386522984120395L, null, null, null, "宸茬鏍�" }, - { 386523071475758L, "datetimepicker", null, null, null, false, "鏃ユ湡鏃堕棿閫夋嫨", 100, 0, 142307070922827L, null, null, null, "鏃ユ湡鏃堕棿閫夋嫨" }, - { 386523071475759L, "between", null, null, null, false, "浠嬩簬", 9, 0, 142307070922828L, null, null, null, "浠嬩簬" }, - { 386523071475781L, "2", null, null, null, false, "", 100, 0, 386522984120389L, null, null, null, "鍑哄簱鍙�" } - }); - - migrationBuilder.InsertData( - table: "sys_emp_ext_org_pos", - columns: new[] { "SysEmpId", "SysOrgId", "SysPosId" }, - values: new object[,] - { - { 142307070910551L, 142307070910539L, 142307070910547L }, - { 142307070910551L, 142307070910540L, 142307070910548L }, - { 142307070910551L, 142307070910541L, 142307070910549L }, - { 142307070910551L, 142307070910542L, 142307070910550L }, - { 142307070910553L, 142307070910542L, 142307070910547L } - }); - - migrationBuilder.InsertData( - table: "sys_emp_pos", - columns: new[] { "SysEmpId", "SysPosId" }, - values: new object[,] - { - { 142307070910551L, 142307070910547L }, - { 142307070910551L, 142307070910548L }, - { 142307070910552L, 142307070910549L }, - { 142307070910553L, 142307070910547L }, - { 358533464608837L, 142307070910550L }, - { 358536045723717L, 142307070910550L } - }); - - migrationBuilder.InsertData( - table: "sys_user_data_scope", - columns: new[] { "SysOrgId", "SysUserId" }, - values: new object[] { 142307070910540L, 142307070910551L }); - - migrationBuilder.InsertData( - table: "sys_user_role", - columns: new[] { "SysRoleId", "SysUserId" }, - values: new object[] { 142307070910554L, 142307070910552L }); - - migrationBuilder.CreateIndex( - name: "IX_les_entrance_AreaId", - table: "les_entrance", - column: "AreaId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_dict_data_TypeId", - table: "sys_dict_data", - column: "TypeId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_emp_ext_org_pos_SysOrgId", - table: "sys_emp_ext_org_pos", - column: "SysOrgId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_emp_ext_org_pos_SysPosId", - table: "sys_emp_ext_org_pos", - column: "SysPosId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_emp_pos_SysPosId", - table: "sys_emp_pos", - column: "SysPosId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_low_code_module_database_SysLowCodeId", - table: "sys_low_code_module_database", - column: "SysLowCodeId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_role_data_scope_SysOrgId", - table: "sys_role_data_scope", - column: "SysOrgId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_role_menu_SysMenuId", - table: "sys_role_menu", - column: "SysMenuId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_user_data_scope_SysOrgId", - table: "sys_user_data_scope", - column: "SysOrgId"); - - migrationBuilder.CreateIndex( - name: "IX_sys_user_role_SysRoleId", - table: "sys_user_role", - column: "SysRoleId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_dumporder_details_OrderId", - table: "wms_dumporder_details", - column: "OrderId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_goodsreturnorder_details_OrderId", - table: "wms_goodsreturnorder_details", - column: "OrderId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_history_materialcontainer_MaterialId", - table: "wms_history_materialcontainer", - column: "MaterialId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_materialcontainer_MaterialId", - table: "wms_materialcontainer", - column: "MaterialId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_materialcontainer_WmsContainerId", - table: "wms_materialcontainer", - column: "WmsContainerId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_order_details_OrderId", - table: "wms_order_details", - column: "OrderId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_place_AreaId", - table: "wms_place", - column: "AreaId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_receiptorder_details_OrderId", - table: "wms_receiptorder_details", - column: "OrderId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_role_pdamenu_PdaMenuId", - table: "wms_role_pdamenu", - column: "PdaMenuId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_stockreturn_order_details_OrderId", - table: "wms_stockreturn_order_details", - column: "OrderId"); - - migrationBuilder.CreateIndex( - name: "IX_wms_takematerial_orderdetail_OrderId", - table: "wms_takematerial_orderdetail", - column: "OrderId"); - } - - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "les_agv_task"); - - migrationBuilder.DropTable( - name: "les_agv_waring"); - - migrationBuilder.DropTable( - name: "les_devicewaring"); - - migrationBuilder.DropTable( - name: "les_entrance"); - - migrationBuilder.DropTable( - name: "les_packwarehouse"); - - migrationBuilder.DropTable( - name: "les_serial_rule_detail"); - - migrationBuilder.DropTable( - name: "les_station"); - - migrationBuilder.DropTable( - name: "sys_app"); - - migrationBuilder.DropTable( - name: "sys_code_gen"); - - migrationBuilder.DropTable( - name: "sys_code_gen_config"); - - migrationBuilder.DropTable( - name: "sys_code_modular"); - - migrationBuilder.DropTable( - name: "sys_config"); - - migrationBuilder.DropTable( - name: "sys_dict_data"); - - migrationBuilder.DropTable( - name: "sys_emp_ext_org_pos"); - - migrationBuilder.DropTable( - name: "sys_emp_pos"); - - migrationBuilder.DropTable( - name: "sys_excel_template"); - - migrationBuilder.DropTable( - name: "sys_file"); - - migrationBuilder.DropTable( - name: "sys_forms"); - - migrationBuilder.DropTable( - name: "sys_log_audit"); - - migrationBuilder.DropTable( - name: "sys_log_ex"); - - migrationBuilder.DropTable( - name: "sys_log_op"); - - migrationBuilder.DropTable( - name: "sys_log_vis"); - - migrationBuilder.DropTable( - name: "sys_low_code_module_database"); - - migrationBuilder.DropTable( - name: "sys_notice"); - - migrationBuilder.DropTable( - name: "sys_notice_user"); - - migrationBuilder.DropTable( - name: "sys_role_data_scope"); - - migrationBuilder.DropTable( - name: "sys_role_menu"); - - migrationBuilder.DropTable( - name: "sys_timer"); - - migrationBuilder.DropTable( - name: "sys_user_data_scope"); - - migrationBuilder.DropTable( - name: "sys_user_role"); - - migrationBuilder.DropTable( - name: "test_students"); - - migrationBuilder.DropTable( - name: "test_students2"); - - migrationBuilder.DropTable( - name: "test_students3"); - - migrationBuilder.DropTable( - name: "wms_containerplace"); - - migrationBuilder.DropTable( - name: "wms_dumporder_details"); - - migrationBuilder.DropTable( - name: "wms_goodsreturnorder_details"); - - migrationBuilder.DropTable( - name: "wms_history_materialcontainer"); - - migrationBuilder.DropTable( - name: "wms_materialcontainer"); - - migrationBuilder.DropTable( - name: "wms_materialstock"); - - migrationBuilder.DropTable( - name: "wms_merchantinfo"); - - migrationBuilder.DropTable( - name: "wms_order_details"); - - migrationBuilder.DropTable( - name: "wms_order_type"); - - migrationBuilder.DropTable( - name: "wms_place"); - - migrationBuilder.DropTable( - name: "wms_receiptorder_details"); - - migrationBuilder.DropTable( - name: "wms_role_pdamenu"); - - migrationBuilder.DropTable( - name: "wms_sortorder"); - - migrationBuilder.DropTable( - name: "wms_stockreturn_order_details"); - - migrationBuilder.DropTable( - name: "wms_takematerial_orderdetail"); - - migrationBuilder.DropTable( - name: "wms_task"); - - migrationBuilder.DropTable( - name: "wms_warehouse_entrance"); - - migrationBuilder.DropTable( - name: "wms_warehouse_manage"); - - migrationBuilder.DropTable( - name: "sys_dict_type"); - - migrationBuilder.DropTable( - name: "sys_emp"); - - migrationBuilder.DropTable( - name: "sys_pos"); - - migrationBuilder.DropTable( - name: "sys_low_code_module"); - - migrationBuilder.DropTable( - name: "sys_menu"); - - migrationBuilder.DropTable( - name: "sys_org"); - - migrationBuilder.DropTable( - name: "sys_user"); - - migrationBuilder.DropTable( - name: "wms_dumporder"); - - migrationBuilder.DropTable( - name: "wms_goodsreturnorder"); - - migrationBuilder.DropTable( - name: "wms_container"); - - migrationBuilder.DropTable( - name: "wms_material"); - - migrationBuilder.DropTable( - name: "wms_order"); - - migrationBuilder.DropTable( - name: "wms_area"); - - migrationBuilder.DropTable( - name: "wms_receiptorder"); - - migrationBuilder.DropTable( - name: "sys_role"); - - migrationBuilder.DropTable( - name: "wms_pdapower"); - - migrationBuilder.DropTable( - name: "wms_stockreturn_order"); - - migrationBuilder.DropTable( - name: "wms_takematerialorder"); - } - } -} diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs deleted file mode 100644 index ed5d221..0000000 --- a/iWare_RawMaterialWarehouse_Wms/Admin.NET.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs +++ /dev/null @@ -1,13178 +0,0 @@ -锘�// <auto-generated /> -using System; -using Admin.NET.EntityFramework.Core; -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; - -#nullable disable - -namespace Admin.NET.Database.Migrations.Migrations -{ - [DbContext(typeof(DefaultDbContext))] - partial class DefaultDbContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "6.0.9") - .HasAnnotation("Relational:MaxIdentifierLength", 128); - - SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); - - modelBuilder.Entity("Admin.NET.Core.AgvTask", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AgvState") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐘舵��"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹瑰櫒缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("EndName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缁撴潫鍚嶇О"); - - b.Property<string>("EndPlace") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缁撴潫浣嶇疆"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("Agv鐖禝d"); - - b.Property<string>("SourcePlaceName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰搴撲綅鍚嶇О"); - - b.Property<string>("StartName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰鍚嶇О"); - - b.Property<string>("StartPlace") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰浣嶇疆"); - - b.Property<string>("TaskNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("涓讳换鍔″彿"); - - b.Property<string>("TaskType") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("浠诲姟绫诲瀷-鍏ュ簱;鍑哄簱"); - - b.Property<string>("TransportOrder") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("褰撳墠鎵ц鐨勪换鍔�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("les_agv_task"); - - b.HasComment("Agv浠诲姟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.AgvWaring", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AgvCarCode") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("agv灏忚溅缂栧彿"); - - b.Property<string>("Code") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("鍞竴缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FaultText") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏁呴殰鍐呭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("IsRead") - .HasColumnType("bit") - .HasComment("WCS鏄惁鍙互璇诲彇"); - - b.Property<DateTimeOffset?>("StartTime") - .HasMaxLength(50) - .HasColumnType("datetimeoffset") - .HasComment("鏁呴殰鏃堕棿"); - - b.Property<string>("TransportOrder") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("浠诲姟鍙�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.Property<int>("YesOrNot") - .HasMaxLength(50) - .HasColumnType("int") - .HasComment("鏄惁瑙e喅"); - - b.HasKey("Id"); - - b.ToTable("les_agv_waring"); - - b.HasComment("Agv鎶ヨ"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.VAccessDetails", b => - { - b.Property<string>("Batch") - .HasColumnType("nvarchar(max)"); - - b.Property<string>("ContainerCode") - .HasColumnType("nvarchar(max)"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<string>("Description") - .HasColumnType("nvarchar(max)"); - - b.Property<int>("High") - .HasColumnType("int"); - - b.Property<long?>("Id") - .HasColumnType("bigint"); - - b.Property<int>("Long") - .HasColumnType("int"); - - b.Property<string>("MaterialDensity") - .HasColumnType("nvarchar(max)"); - - b.Property<string>("MaterialNo") - .HasColumnType("nvarchar(max)"); - - b.Property<string>("SourcePlace") - .HasColumnType("nvarchar(max)"); - - b.Property<DateTimeOffset?>("TaskCreatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<int>("TaskLevel") - .HasColumnType("int"); - - b.Property<int>("TaskModel") - .HasColumnType("int"); - - b.Property<string>("TaskNo") - .HasColumnType("nvarchar(max)"); - - b.Property<int>("TaskStatus") - .HasColumnType("int"); - - b.Property<int>("TaskType") - .HasColumnType("int"); - - b.Property<DateTimeOffset?>("TaskUpdatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<string>("ToPlace") - .HasColumnType("nvarchar(max)"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset"); - - b.Property<int>("Wide") - .HasColumnType("int"); - - b.ToView("View_AccessDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.WmsBase.WmsRolePdaMenu", b => - { - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.Property<long>("PdaMenuId") - .HasColumnType("bigint") - .HasComment("鑿滃崟Id"); - - b.HasKey("SysRoleId", "PdaMenuId"); - - b.HasIndex("PdaMenuId"); - - b.ToTable("wms_role_pdamenu"); - - b.HasComment("瑙掕壊鑿滃崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.WmsBase.WmsWarehouseManage", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("绫诲瀷"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_warehouse_manage"); - - b.HasComment("搴撳彛琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesDeviceWaring", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DeviceName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璁惧鍚嶇О"); - - b.Property<DateTimeOffset?>("EndTime") - .HasColumnType("datetimeoffset") - .HasComment("缁撴潫鏃堕棿"); - - b.Property<string>("FaultName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏁呴殰鍚嶇О"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("RunningTime") - .HasColumnType("int") - .HasComment("鎸佺画鏃堕棿"); - - b.Property<DateTimeOffset?>("StartTime") - .HasColumnType("datetimeoffset") - .HasComment("鍙戠敓鏃堕棿"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WcsId") - .HasColumnType("int") - .HasComment("WcsId"); - - b.HasKey("Id"); - - b.ToTable("les_devicewaring"); - - b.HasComment("璁惧鎶ヨ"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesEntrance", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<long>("AreaId") - .HasColumnType("bigint") - .HasComment("搴撳尯Id"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撳彛缂栫爜"); - - b.Property<int>("CommenStatus") - .HasColumnType("int") - .HasComment("搴撳彛鐘舵��"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("EntranceType") - .HasColumnType("int") - .HasComment("搴撳彛绫诲瀷"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撳彛鍚嶇О"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("AreaId"); - - b.ToTable("les_entrance"); - - b.HasComment("搴撳彛琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesPackWarehouse", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("High") - .HasColumnType("int") - .HasComment("楂�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("LesPackState") - .HasColumnType("int") - .HasComment("鎵撳寘鐘舵��"); - - b.Property<int>("Long") - .HasColumnType("int") - .HasComment("闀�"); - - b.Property<string>("MaterialNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鐮�"); - - b.Property<string>("OrderNo") - .HasColumnType("nvarchar(max)") - .HasComment("鍗曟嵁鍙�"); - - b.Property<string>("OutputEntrance") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍑哄簱鍙�"); - - b.Property<string>("PackCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏍囩鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("Wide") - .HasColumnType("int") - .HasComment("瀹�"); - - b.HasKey("Id"); - - b.ToTable("les_packwarehouse"); - - b.HasComment("鎵撳寘琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesSerialRuleDetail", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DecimalType") - .HasColumnType("int") - .HasComment("杩涗綅绫诲瀷"); - - b.Property<string>("Description") - .HasMaxLength(300) - .HasColumnType("nvarchar(300)") - .HasComment("璇存槑"); - - b.Property<int>("GetData") - .HasMaxLength(50) - .HasColumnType("int") - .HasComment("鎾峰彇"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("ItemNo") - .HasColumnType("int") - .HasComment("椤规"); - - b.Property<int>("PadLeft") - .HasColumnType("int") - .HasComment("鑷姩琛ラ浂"); - - b.Property<int>("SearchStart") - .HasColumnType("int") - .HasComment("鎾峰彇鐮佹暟(璧�)"); - - b.Property<int>("SerialCodeFlag") - .HasColumnType("int") - .HasComment("搴忓彿缂栫爜"); - - b.Property<int>("SerialLength") - .HasColumnType("int") - .HasComment("闀垮害"); - - b.Property<string>("SerialType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴忓彿绫诲埆"); - - b.Property<string>("SerialTypeNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴忓彿绫诲埆缂栧彿"); - - b.Property<string>("SourceType") - .HasColumnType("nvarchar(max)") - .HasComment("璧勬枡鏉ユ簮"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("UserDefine") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("浣跨敤鑰呰嚜瀹氫箟"); - - b.HasKey("Id"); - - b.ToTable("les_serial_rule_detail"); - - b.HasComment("缂栧彿瑙勫垯"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesStation", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("宸ヤ綅缂栫爜"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("宸ヤ綅鍚嶇О"); - - b.Property<decimal>("PlaceSpec") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅瑙勬牸"); - - b.Property<long>("ProductionlineId") - .HasColumnType("bigint") - .HasComment("浜х嚎Id"); - - b.Property<int>("StataionStatus") - .HasColumnType("int") - .HasComment("杩愯鐘舵��"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("宸ヤ綅鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("les_station"); - - b.HasComment("宸ヤ綅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysApp", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Active") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁榛樿婵�娲�"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_app"); - - b.HasComment("绯荤粺搴旂敤琛�"); - - b.HasData( - new - { - Id = 142307070898245L, - Active = "Y", - Code = "system", - IsDeleted = false, - Name = "寮�鍙戠鐞�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070902341L, - Active = "N", - Code = "manage", - IsDeleted = false, - Name = "绯荤粺绠$悊", - Sort = 300, - Status = 0 - }, - new - { - Id = 142307070922869L, - Active = "N", - Code = "busiapp", - IsDeleted = false, - Name = "涓氬姟搴旂敤", - Sort = 400, - Status = 0 - }, - new - { - Id = 355686432948293L, - Active = "N", - Code = "warejob", - IsDeleted = false, - Name = "浠撳簱浣滀笟", - Sort = 500, - Status = 0 - }, - new - { - Id = 355686518018117L, - Active = "N", - Code = "warecount", - IsDeleted = false, - Name = "缁熻鏌ヨ", - Sort = 600, - Status = 0 - }, - new - { - Id = 383337192390725L, - Active = "N", - Code = "xbjl", - IsDeleted = false, - Name = "绾胯竟鍙枡", - Sort = 550, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysCodeGen", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AuthorName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浣滆�呭鍚�"); - - b.Property<string>("BusName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("涓氬姟鍚�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DatabaseName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳悕"); - - b.Property<string>("FrontProName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍓嶇椤圭洰鍚�"); - - b.Property<string>("GenerateType") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢熸垚鏂瑰紡"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long?>("LowCodeId") - .HasColumnType("bigint"); - - b.Property<string>("MenuApplication") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鑿滃崟搴旂敤鍒嗙被"); - - b.Property<long>("MenuPid") - .HasColumnType("bigint") - .HasComment("鑿滃崟缂栫爜"); - - b.Property<string>("ModuleName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("妯″潡璺緞"); - - b.Property<string>("NameSpace") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍛藉悕绌洪棿"); - - b.Property<string>("TableName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撹〃鍚�"); - - b.Property<string>("TablePrefix") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁绉婚櫎琛ㄥ墠缂�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen"); - - b.HasComment("浠g爜鐢熸垚琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysCodeGenConfig", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<long>("CodeGenId") - .HasColumnType("bigint") - .HasComment("浠g爜鐢熸垚涓昏〃ID"); - - b.Property<string>("ColumnComment") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("瀛楁鎻忚堪"); - - b.Property<string>("ColumnKey") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("涓婚敭"); - - b.Property<string>("ColumnName") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳瓧娈靛悕"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DataType") - .HasMaxLength(128) - .HasColumnType("nvarchar(128)") - .HasComment("鏁版嵁搴撲腑绫诲瀷"); - - b.Property<string>("DictTypeCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀛楀吀Code"); - - b.Property<string>("DtoNetType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment(".NET鏁版嵁绫诲瀷(鎺ュ彛浼犲叆)"); - - b.Property<string>("EffectType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("浣滅敤绫诲瀷"); - - b.Property<string>("FkColumnName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("澶栭敭鏄剧ず瀛楁"); - - b.Property<string>("FkColumnNetType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("澶栭敭鏄剧ず瀛楁.NET绫诲瀷"); - - b.Property<string>("FkEntityName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("澶栭敭瀹炰綋鍚嶇О"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("NetType") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment(".NET鏁版嵁绫诲瀷"); - - b.Property<string>("QueryType") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("鏌ヨ鏂瑰紡"); - - b.Property<string>("QueryWhether") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁鏄煡璇㈡潯浠�"); - - b.Property<string>("ShowTitleMinWidth") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("椤甸潰鍒楁樉绀烘渶灏忓搴�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("WhetherAddUpdate") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("澧炴敼"); - - b.Property<string>("WhetherCommon") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁閫氱敤瀛楁"); - - b.Property<string>("WhetherOrderBy") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鍒楄〃鏄惁鎺掑簭"); - - b.Property<string>("WhetherRequired") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁蹇呭~"); - - b.Property<string>("WhetherRetract") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鍒楄〃鏄惁缂╄繘"); - - b.Property<string>("WhetherTable") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鍒楄〃鏄剧ず"); - - b.HasKey("Id"); - - b.ToTable("sys_code_gen_config"); - - b.HasComment("浠g爜鐢熸垚瀛楁閰嶇疆琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysConfig", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("GroupCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("甯搁噺鎵�灞炲垎绫荤殑缂栫爜"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("SysFlag") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁鏄郴缁熷弬鏁�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Value") - .HasColumnType("nvarchar(max)") - .HasComment("灞炴�у��"); - - b.HasKey("Id"); - - b.ToTable("sys_config"); - - b.HasComment("鍙傛暟閰嶇疆琛�"); - - b.HasData( - new - { - Id = 142307070902342L, - Code = "DILON_JWT_SECRET", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "jwt瀵嗛挜", - Remark = "锛堥噸瑕侊級jwt瀵嗛挜锛岄粯璁や负绌猴紝鑷璁剧疆", - Status = 0, - SysFlag = "Y", - Value = "weiben" - }, - new - { - Id = 142307070902343L, - Code = "DILON_DEFAULT_PASSWORD", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "榛樿瀵嗙爜", - Remark = "榛樿瀵嗙爜", - Status = 0, - SysFlag = "Y", - Value = "123456" - }, - new - { - Id = 142307070902344L, - Code = "DILON_TOKEN_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "token杩囨湡鏃堕棿", - Remark = "token杩囨湡鏃堕棿锛堝崟浣嶏細绉掞級", - Status = 0, - SysFlag = "Y", - Value = "86400" - }, - new - { - Id = 142307070902345L, - Code = "DILON_SESSION_EXPIRE", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "session浼氳瘽杩囨湡鏃堕棿", - Remark = "session浼氳瘽杩囨湡鏃堕棿锛堝崟浣嶏細绉掞級", - Status = 0, - SysFlag = "Y", - Value = "7200" - }, - new - { - Id = 142307070902361L, - Code = "DILON_FILE_UPLOAD_PATH_FOR_WINDOWS", - GroupCode = "FILE_PATH", - IsDeleted = false, - Name = "Win鏈湴涓婁紶鏂囦欢璺緞", - Remark = "Win鏈湴涓婁紶鏂囦欢璺緞", - Status = 0, - SysFlag = "Y", - Value = "D:/tmp" - }, - new - { - Id = 142307070902363L, - Code = "DILON_UN_XSS_FILTER_URL", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "鏀惧紑XSS杩囨护鐨勬帴鍙�", - Remark = "澶氫釜url鍙互鐢ㄨ嫳鏂囬�楀彿闅斿紑", - Status = 0, - SysFlag = "Y", - Value = "/demo/xssfilter,/demo/unxss" - }, - new - { - Id = 142307070902364L, - Code = "DILON_ENABLE_SINGLE_LOGIN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "鍗曠敤鎴风櫥闄嗙殑寮�鍏�", - Remark = "true-鎵撳紑锛宖alse-鍏抽棴锛屽鏋滀竴涓汉鐧诲綍涓ゆ锛屽氨浼氬皢涓婁竴娆$櫥闄嗘尋涓嬪幓", - Status = 0, - SysFlag = "Y", - Value = "false" - }, - new - { - Id = 142307070902365L, - Code = "DILON_CAPTCHA_OPEN", - GroupCode = "DEFAULT", - IsDeleted = false, - Name = "鐧诲綍楠岃瘉鐮佺殑寮�鍏�", - Remark = "true-鎵撳紑锛宖alse-鍏抽棴", - Status = 0, - SysFlag = "Y", - Value = "true" - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictData", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<long>("TypeId") - .HasColumnType("bigint") - .HasComment("瀛楀吀绫诲瀷Id"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Value") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍊�"); - - b.HasKey("Id"); - - b.HasIndex("TypeId"); - - b.ToTable("sys_dict_data"); - - b.HasComment("瀛楀吀鍊艰〃"); - - b.HasData( - new - { - Id = 142307070902375L, - Code = "1", - IsDeleted = false, - Remark = "鐢锋��", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "鐢�" - }, - new - { - Id = 142307070902376L, - Code = "2", - IsDeleted = false, - Remark = "濂虫��", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "濂�" - }, - new - { - Id = 142307070902377L, - Code = "3", - IsDeleted = false, - Remark = "鏈煡鎬у埆", - Sort = 100, - Status = 0, - TypeId = 142307070906484L, - Value = "鏈煡" - }, - new - { - Id = 142307070902384L, - Code = "0", - IsDeleted = false, - Remark = "姝e父", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "姝e父" - }, - new - { - Id = 142307070902385L, - Code = "1", - IsDeleted = false, - Remark = "鍋滅敤", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "鍋滅敤" - }, - new - { - Id = 142307070902386L, - Code = "2", - IsDeleted = false, - Remark = "鍒犻櫎", - Sort = 100, - Status = 0, - TypeId = 142307070906483L, - Value = "鍒犻櫎" - }, - new - { - Id = 142307070902387L, - Code = "N", - IsDeleted = false, - Remark = "鍚�", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "鍚�" - }, - new - { - Id = 142307070902388L, - Code = "Y", - IsDeleted = false, - Remark = "鏄�", - Sort = 100, - Status = 0, - TypeId = 142307070906486L, - Value = "鏄�" - }, - new - { - Id = 142307070902389L, - Code = "1", - IsDeleted = false, - Remark = "鐧诲綍", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "鐧诲綍" - }, - new - { - Id = 142307070902390L, - Code = "2", - IsDeleted = false, - Remark = "鐧诲嚭", - Sort = 100, - Status = 0, - TypeId = 142307070906487L, - Value = "鐧诲嚭" - }, - new - { - Id = 142307070902391L, - Code = "0", - IsDeleted = false, - Remark = "鐩綍", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "鐩綍" - }, - new - { - Id = 142307070902392L, - Code = "1", - IsDeleted = false, - Remark = "鑿滃崟", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "鑿滃崟" - }, - new - { - Id = 142307070902393L, - Code = "2", - IsDeleted = false, - Remark = "鎸夐挳", - Sort = 100, - Status = 0, - TypeId = 142307070906488L, - Value = "鎸夐挳" - }, - new - { - Id = 142307070902394L, - Code = "0", - IsDeleted = false, - Remark = "鏈彂閫�", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "鏈彂閫�" - }, - new - { - Id = 142307070902395L, - Code = "1", - IsDeleted = false, - Remark = "鍙戦�佹垚鍔�", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "鍙戦�佹垚鍔�" - }, - new - { - Id = 142307070902396L, - Code = "2", - IsDeleted = false, - Remark = "鍙戦�佸け璐�", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "鍙戦�佸け璐�" - }, - new - { - Id = 142307070902397L, - Code = "3", - IsDeleted = false, - Remark = "澶辨晥", - Sort = 100, - Status = 0, - TypeId = 142307070906489L, - Value = "澶辨晥" - }, - new - { - Id = 142307070902398L, - Code = "0", - IsDeleted = false, - Remark = "鏃�", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "鏃�" - }, - new - { - Id = 142307070902399L, - Code = "1", - IsDeleted = false, - Remark = "缁勪欢", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "缁勪欢" - }, - new - { - Id = 142307070906437L, - Code = "2", - IsDeleted = false, - Remark = "鍐呴摼", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "鍐呴摼" - }, - new - { - Id = 142307070906438L, - Code = "3", - IsDeleted = false, - Remark = "澶栭摼", - Sort = 100, - Status = 0, - TypeId = 142307070906490L, - Value = "澶栭摼" - }, - new - { - Id = 142307070906439L, - Code = "1", - IsDeleted = false, - Remark = "绯荤粺鏉冮噸", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "绯荤粺鏉冮噸" - }, - new - { - Id = 142307070906440L, - Code = "2", - IsDeleted = false, - Remark = "涓氬姟鏉冮噸", - Sort = 100, - Status = 0, - TypeId = 142307070906491L, - Value = "涓氬姟鏉冮噸" - }, - new - { - Id = 142307070906441L, - Code = "1", - IsDeleted = false, - Remark = "鍏ㄩ儴鏁版嵁", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鍏ㄩ儴鏁版嵁" - }, - new - { - Id = 142307070906442L, - Code = "2", - IsDeleted = false, - Remark = "鏈儴闂ㄥ強浠ヤ笅鏁版嵁", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鏈儴闂ㄥ強浠ヤ笅鏁版嵁" - }, - new - { - Id = 142307070906443L, - Code = "3", - IsDeleted = false, - Remark = "鏈儴闂ㄦ暟鎹�", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鏈儴闂ㄦ暟鎹�" - }, - new - { - Id = 142307070906444L, - Code = "4", - IsDeleted = false, - Remark = "浠呮湰浜烘暟鎹�", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "浠呮湰浜烘暟鎹�" - }, - new - { - Id = 142307070906445L, - Code = "5", - IsDeleted = false, - Remark = "鑷畾涔夋暟鎹�", - Sort = 100, - Status = 0, - TypeId = 142307070906492L, - Value = "鑷畾涔夋暟鎹�" - }, - new - { - Id = 142307070906449L, - Code = "0", - IsDeleted = false, - Remark = "鍏跺畠", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鍏跺畠" - }, - new - { - Id = 142307070906450L, - Code = "1", - IsDeleted = false, - Remark = "澧炲姞", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "澧炲姞" - }, - new - { - Id = 142307070906451L, - Code = "2", - IsDeleted = false, - Remark = "鍒犻櫎", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鍒犻櫎" - }, - new - { - Id = 142307070906452L, - Code = "3", - IsDeleted = false, - Remark = "缂栬緫", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "缂栬緫" - }, - new - { - Id = 142307070906453L, - Code = "4", - IsDeleted = false, - Remark = "鏇存柊", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鏇存柊" - }, - new - { - Id = 142307070906454L, - Code = "5", - IsDeleted = false, - Remark = "鏌ヨ", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鏌ヨ" - }, - new - { - Id = 142307070906455L, - Code = "6", - IsDeleted = false, - Remark = "璇︽儏", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "璇︽儏" - }, - new - { - Id = 142307070906456L, - Code = "7", - IsDeleted = false, - Remark = "鏍�", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鏍�" - }, - new - { - Id = 142307070906457L, - Code = "8", - IsDeleted = false, - Remark = "瀵煎叆", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "瀵煎叆" - }, - new - { - Id = 142307070906458L, - Code = "9", - IsDeleted = false, - Remark = "瀵煎嚭", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "瀵煎嚭" - }, - new - { - Id = 142307070906459L, - Code = "10", - IsDeleted = false, - Remark = "鎺堟潈", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "鎺堟潈" - }, - new - { - Id = 142307070906460L, - Code = "11", - IsDeleted = false, - Remark = "寮洪��", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "寮洪��" - }, - new - { - Id = 142307070906461L, - Code = "12", - IsDeleted = false, - Remark = "娓呯┖", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "娓呯┖" - }, - new - { - Id = 142307070906462L, - Code = "13", - IsDeleted = false, - Remark = "淇敼鐘舵��", - Sort = 100, - Status = 0, - TypeId = 142307070906494L, - Value = "淇敼鐘舵��" - }, - new - { - Id = 142307070906463L, - Code = "1", - IsDeleted = false, - Remark = "闃块噷浜�", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "闃块噷浜�" - }, - new - { - Id = 142307070906464L, - Code = "2", - IsDeleted = false, - Remark = "鑵捐浜�", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "鑵捐浜�" - }, - new - { - Id = 142307070906465L, - Code = "3", - IsDeleted = false, - Remark = "minio", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "minio" - }, - new - { - Id = 142307070906466L, - Code = "4", - IsDeleted = false, - Remark = "鏈湴", - Sort = 100, - Status = 0, - TypeId = 142307070906495L, - Value = "鏈湴" - }, - new - { - Id = 142307070906467L, - Code = "1", - IsDeleted = false, - Remark = "杩愯", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "杩愯" - }, - new - { - Id = 142307070906468L, - Code = "2", - IsDeleted = false, - Remark = "鍋滄", - Sort = 100, - Status = 0, - TypeId = 142307070910533L, - Value = "鍋滄" - }, - new - { - Id = 142307070906469L, - Code = "1", - IsDeleted = false, - Remark = "閫氱煡", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "閫氱煡" - }, - new - { - Id = 142307070906470L, - Code = "2", - IsDeleted = false, - Remark = "鍏憡", - Sort = 100, - Status = 0, - TypeId = 142307070910534L, - Value = "鍏憡" - }, - new - { - Id = 142307070906471L, - Code = "0", - IsDeleted = false, - Remark = "鑽夌", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鑽夌" - }, - new - { - Id = 142307070906472L, - Code = "1", - IsDeleted = false, - Remark = "鍙戝竷", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鍙戝竷" - }, - new - { - Id = 142307070906473L, - Code = "2", - IsDeleted = false, - Remark = "鎾ゅ洖", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鎾ゅ洖" - }, - new - { - Id = 142307070906474L, - Code = "3", - IsDeleted = false, - Remark = "鍒犻櫎", - Sort = 100, - Status = 0, - TypeId = 142307070910535L, - Value = "鍒犻櫎" - }, - new - { - Id = 142307070906475L, - Code = "true", - IsDeleted = false, - Remark = "鏄�", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "鏄�" - }, - new - { - Id = 142307070906476L, - Code = "false", - IsDeleted = false, - Remark = "鍚�", - Sort = 100, - Status = 0, - TypeId = 142307070910536L, - Value = "鍚�" - }, - new - { - Id = 142307070906477L, - Code = "1", - IsDeleted = false, - Remark = "涓嬭浇鍘嬬缉鍖�", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "涓嬭浇鍘嬬缉鍖�" - }, - new - { - Id = 142307070906478L, - Code = "2", - IsDeleted = false, - Remark = "鐢熸垚鍒版湰椤圭洰", - Sort = 100, - Status = 0, - TypeId = 142307070910537L, - Value = "鐢熸垚鍒版湰椤圭洰" - }, - new - { - Id = 142307070906479L, - Code = "1", - IsDeleted = false, - Remark = "GET", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "GET" - }, - new - { - Id = 142307070906480L, - Code = "2", - IsDeleted = false, - Remark = "POST", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "POST" - }, - new - { - Id = 142307070906481L, - Code = "3", - IsDeleted = false, - Remark = "PUT", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "PUT" - }, - new - { - Id = 142307070906482L, - Code = "4", - IsDeleted = false, - Remark = "DELETE", - Sort = 100, - Status = 0, - TypeId = 142307070910538L, - Value = "DELETE" - }, - new - { - Id = 142307070922829L, - Code = "fk", - IsDeleted = false, - Remark = "澶栭敭", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "澶栭敭" - }, - new - { - Id = 142307070922830L, - Code = "input", - IsDeleted = false, - Remark = "杈撳叆妗�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "杈撳叆妗�" - }, - new - { - Id = 142307070922831L, - Code = "datepicker", - IsDeleted = false, - Remark = "鏃ユ湡閫夋嫨", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏃ユ湡閫夋嫨" - }, - new - { - Id = 386523071475758L, - Code = "datetimepicker", - IsDeleted = false, - Remark = "鏃ユ湡鏃堕棿閫夋嫨", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏃ユ湡鏃堕棿閫夋嫨" - }, - new - { - Id = 142307070922832L, - Code = "select", - IsDeleted = false, - Remark = "涓嬫媺妗�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "涓嬫媺妗�" - }, - new - { - Id = 142307070922833L, - Code = "radio", - IsDeleted = false, - Remark = "鍗曢�夋", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鍗曢�夋" - }, - new - { - Id = 142307070922834L, - Code = "switch", - IsDeleted = false, - Remark = "寮�鍏�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "寮�鍏�" - }, - new - { - Id = 142307070922835L, - Code = "checkbox", - IsDeleted = false, - Remark = "澶氶�夋", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "澶氶�夋" - }, - new - { - Id = 142307070922836L, - Code = "inputnumber", - IsDeleted = false, - Remark = "鏁板瓧杈撳叆妗�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏁板瓧杈撳叆妗�" - }, - new - { - Id = 142307070922837L, - Code = "textarea", - IsDeleted = false, - Remark = "鏂囨湰鍩�", - Sort = 100, - Status = 0, - TypeId = 142307070922827L, - Value = "鏂囨湰鍩�" - }, - new - { - Id = 142307070922838L, - Code = "==", - IsDeleted = false, - Remark = "绛変簬", - Sort = 1, - Status = 0, - TypeId = 142307070922828L, - Value = "绛変簬" - }, - new - { - Id = 142307070922839L, - Code = "like", - IsDeleted = false, - Remark = "妯$硦", - Sort = 2, - Status = 0, - TypeId = 142307070922828L, - Value = "妯$硦" - }, - new - { - Id = 142307070922840L, - Code = ">", - IsDeleted = false, - Remark = "澶т簬", - Sort = 3, - Status = 0, - TypeId = 142307070922828L, - Value = "澶т簬" - }, - new - { - Id = 142307070922841L, - Code = "<", - IsDeleted = false, - Remark = "灏忎簬", - Sort = 4, - Status = 0, - TypeId = 142307070922828L, - Value = "灏忎簬" - }, - new - { - Id = 142307070922842L, - Code = "!=", - IsDeleted = false, - Remark = "涓嶇瓑浜�", - Sort = 5, - Status = 0, - TypeId = 142307070922828L, - Value = "涓嶇瓑浜�" - }, - new - { - Id = 142307070922843L, - Code = ">=", - IsDeleted = false, - Remark = "澶т簬绛変簬", - Sort = 6, - Status = 0, - TypeId = 142307070922828L, - Value = "澶т簬绛変簬" - }, - new - { - Id = 142307070922844L, - Code = "<=", - IsDeleted = false, - Remark = "灏忎簬绛変簬", - Sort = 7, - Status = 0, - TypeId = 142307070922828L, - Value = "灏忎簬绛変簬" - }, - new - { - Id = 142307070922845L, - Code = "isNotNull", - IsDeleted = false, - Remark = "涓嶄负绌�", - Sort = 8, - Status = 0, - TypeId = 142307070922828L, - Value = "涓嶄负绌�" - }, - new - { - Id = 386523071475759L, - Code = "between", - IsDeleted = false, - Remark = "浠嬩簬", - Sort = 9, - Status = 0, - TypeId = 142307070922828L, - Value = "浠嬩簬" - }, - new - { - Id = 142307070922851L, - Code = "int", - IsDeleted = false, - Remark = "int", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "int" - }, - new - { - Id = 142307070922846L, - Code = "long", - IsDeleted = false, - Remark = "long", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "long" - }, - new - { - Id = 142307070922847L, - Code = "string", - IsDeleted = false, - Remark = "string", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "string" - }, - new - { - Id = 142307070922850L, - Code = "bool", - IsDeleted = false, - Remark = "bool", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "bool" - }, - new - { - Id = 142307070922852L, - Code = "double", - IsDeleted = false, - Remark = "double", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "double" - }, - new - { - Id = 142307070922848L, - Code = "DateTime", - IsDeleted = false, - Remark = "DateTime", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTime" - }, - new - { - Id = 142307070922861L, - Code = "float", - IsDeleted = false, - Remark = "float", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "float" - }, - new - { - Id = 142307070922862L, - Code = "decimal", - IsDeleted = false, - Remark = "decimal", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "decimal" - }, - new - { - Id = 142307070922863L, - Code = "Guid", - IsDeleted = false, - Remark = "Guid", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "Guid" - }, - new - { - Id = 142307070922864L, - Code = "DateTimeOffset", - IsDeleted = false, - Remark = "DateTimeOffset", - Sort = 100, - Status = 0, - TypeId = 142307070922829L, - Value = "DateTimeOffset" - }, - new - { - Id = 142307070926943L, - Code = "0", - IsDeleted = false, - Remark = "闆嗗洟瑙掕壊", - Sort = 100, - Status = 0, - TypeId = 142307070926941L, - Value = "闆嗗洟瑙掕壊" - }, - new - { - Id = 142307070926944L, - Code = "1", - IsDeleted = false, - Remark = "鍔犵洘鍟嗚鑹�", - Sort = 100, - Status = 0, - TypeId = 142307070926941L, - Value = "鍔犵洘鍟嗚鑹�" - }, - new - { - Id = 142307070926945L, - Code = "2", - IsDeleted = false, - Remark = "闂ㄥ簵瑙掕壊", - Sort = 100, - Status = 0, - TypeId = 142307070926941L, - Value = "闂ㄥ簵瑙掕壊" - }, - new - { - Id = 142307070926946L, - Code = "1", - IsDeleted = false, - Remark = "涓�绾�", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "涓�绾�" - }, - new - { - Id = 142307070926947L, - Code = "2", - IsDeleted = false, - Remark = "浜岀骇", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "浜岀骇" - }, - new - { - Id = 142307070926948L, - Code = "3", - IsDeleted = false, - Remark = "涓夌骇", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "涓夌骇" - }, - new - { - Id = 142307070926949L, - Code = "4", - IsDeleted = false, - Remark = "鍥涚骇", - Sort = 100, - Status = 0, - TypeId = 142307070926942L, - Value = "鍥涚骇" - }, - new - { - Id = 285605336563781L, - Code = "DefaultFormType", - IsDeleted = false, - Remark = "榛樿琛ㄥ崟鍒嗙被", - Sort = 100, - Status = 0, - TypeId = 285605149831237L, - Value = "榛樿琛ㄥ崟鍒嗙被" - }, - new - { - Id = 285641495289925L, - Code = "DefaultGroup", - IsDeleted = false, - Remark = "榛樿鍒嗙被", - Sort = 100, - Status = 0, - TypeId = 285641358889029L, - Value = "榛樿鍒嗙被" - }, - new - { - Id = 355697634480197L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "鍏朵粬" - }, - new - { - Id = 355697676427333L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "鏈ㄨ川" - }, - new - { - Id = 355697726726213L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "閲戝睘" - }, - new - { - Id = 355697755361349L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355694205325381L, - Value = "濉戞枡" - }, - new - { - Id = 355697944657989L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "绂佺敤" - }, - new - { - Id = 355697974415429L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "绌洪棽" - }, - new - { - Id = 355698005966917L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "缁勭洏" - }, - new - { - Id = 355698032828485L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423941L, - Value = "搴撲綅" - }, - new - { - Id = 355697634480198L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "閫氱敤" - }, - new - { - Id = 355697676427399L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "鍗卞寲鍝�" - }, - new - { - Id = 355697726726200L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "娑蹭綋" - }, - new - { - Id = 355697755361301L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "璐甸噸鍝�" - }, - new - { - Id = 355697755361302L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "姘斾綋" - }, - new - { - Id = 355697755361303L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355697881423942L, - Value = "浣庢俯" - }, - new - { - Id = 355698270015557L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "鍏朵粬" - }, - new - { - Id = 355698303508549L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "绔嬩綋搴�" - }, - new - { - Id = 355698328531013L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "鏅�氬簱" - }, - new - { - Id = 355698362712133L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698224758853L, - Value = "鍏叡搴�" - }, - new - { - Id = 355698476777541L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "绌洪棽" - }, - new - { - Id = 355698510786629L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "寰呭叆" - }, - new - { - Id = 355698549424197L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "瀛樿揣" - }, - new - { - Id = 355698576941125L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698441912389L, - Value = "寰呭嚭" - }, - new - { - Id = 355698694561861L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698661130309L, - Value = "浣�" - }, - new - { - Id = 355698716401733L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698661130309L, - Value = "涓�" - }, - new - { - Id = 355698740326469L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698661130309L, - Value = "楂�" - }, - new - { - Id = 355698898735173L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698855280709L, - Value = "鍏嶆" - }, - new - { - Id = 355698924970053L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355698855280709L, - Value = "鎶芥" - }, - new - { - Id = 355699041800261L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "鍘熸潗鏂�" - }, - new - { - Id = 355699063255109L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "鍗婃垚鍝�" - }, - new - { - Id = 355699088330821L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "鎴愬搧" - }, - new - { - Id = 355699113156677L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699003580485L, - Value = "绌烘墭" - }, - new - { - Id = 355699219353669L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699189051461L, - Value = "闀垮害" - }, - new - { - Id = 355699243540549L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699189051461L, - Value = "閲嶉噺" - }, - new - { - Id = 355699345645637L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699314061381L, - Value = "cm" - }, - new - { - Id = 355699367575621L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699314061381L, - Value = "t" - }, - new - { - Id = 355699479236677L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699447029829L, - Value = "鎵嬪姩" - }, - new - { - Id = 355699505229893L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699447029829L, - Value = "鑷姩" - }, - new - { - Id = 355699615133765L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699576467525L, - Value = "鍏ュ簱" - }, - new - { - Id = 355699638476869L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699576467525L, - Value = "鍑哄簱" - }, - new - { - Id = 355699661889605L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699576467525L, - Value = "绉诲簱" - }, - new - { - Id = 355699760455749L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099717L, - Value = "鏈墽琛�" - }, - new - { - Id = 355699784736837L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099717L, - Value = "鎵ц涓�" - }, - new - { - Id = 355699813859397L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099717L, - Value = "瀹屾垚" - }, - new - { - Id = 355699760455798L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鏈墽琛�" - }, - new - { - Id = 355699784736899L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鎵ц涓�-AGV" - }, - new - { - Id = 355699813859300L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鎵ц涓�-杈撻�佺嚎" - }, - new - { - Id = 355699813859301L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "鎵ц涓�-鍫嗗灈鏈�" - }, - new - { - Id = 355699813859302L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "绛夊緟" - }, - new - { - Id = 355699813859303L, - Code = "6", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 355699731099718L, - Value = "瀹屾垚" - }, - new - { - Id = 383290784104517L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383290718294085L, - Value = "娉℃搏鍒囧壊" - }, - new - { - Id = 383290816860229L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383290718294085L, - Value = "瑁呴厤杞﹂棿" - }, - new - { - Id = 383317608218693L, - Code = "0", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383317542490181L, - Value = "鏈紑濮�" - }, - new - { - Id = 383317718302789L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383317542490181L, - Value = "杩愰�佷腑" - }, - new - { - Id = 383317751234629L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 383317542490181L, - Value = "瀹屾垚" - }, - new - { - Id = 384394737053765L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 384394636988485L, - Value = "AGV" - }, - new - { - Id = 384394851618885L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 384394636988485L, - Value = "鍫嗗灈鏈�" - }, - new - { - Id = 384394877870149L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 384394636988485L, - Value = "RGV" - }, - new - { - Id = 385412179521605L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 385412129075269L, - Value = "鍒囧壊" - }, - new - { - Id = 385412217618501L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 385412129075269L, - Value = "鍘嬪悎" - }, - new - { - Id = 385412280418373L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 385412129075269L, - Value = "CNC" - }, - new - { - Id = 386523049214021L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120389L, - Value = "鍏ュ簱鍙�" - }, - new - { - Id = 386523071475781L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120389L, - Value = "鍑哄簱鍙�" - }, - new - { - Id = 386523049214022L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120390L, - Value = "鍙戞场涓�绾�" - }, - new - { - Id = 386523071475723L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120390L, - Value = "鍙戞场浜岀嚎" - }, - new - { - Id = 386523071475724L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120390L, - Value = "鍙戞场涓夌嚎" - }, - new - { - Id = 386523049214025L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "鏈紑濮�" - }, - new - { - Id = 386523071475726L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "杩涜涓�" - }, - new - { - Id = 386523071475727L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "瀹屾垚" - }, - new - { - Id = 386523071475728L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120391L, - Value = "鎾ゅ洖" - }, - new - { - Id = 386523049214029L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "鍏ュ簱" - }, - new - { - Id = 386523071475730L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "鍑哄簱" - }, - new - { - Id = 386523071475731L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "璋冩嫧" - }, - new - { - Id = 386523071475732L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120392L, - Value = "瓒婂簱" - }, - new - { - Id = 386523049214033L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "鏈笅鍙�" - }, - new - { - Id = 386523071475734L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "宸蹭笅鍙�" - }, - new - { - Id = 386523071475735L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "鎵ц涓�" - }, - new - { - Id = 386523071475736L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "瀹屾垚" - }, - new - { - Id = 386523071475737L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120393L, - Value = "鎾ゅ洖" - }, - new - { - Id = 386523049214038L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "浜х嚎閫�搴�" - }, - new - { - Id = 386523071475739L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鐢熶骇鍏ュ簱" - }, - new - { - Id = 386523071475740L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "浣欐枡鍥炲簱" - }, - new - { - Id = 386523071475741L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "閲囪喘鍏ュ簱" - }, - new - { - Id = 386523071475742L, - Code = "5", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鍏朵粬" - }, - new - { - Id = 386523071475743L, - Code = "6", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鍙戣揣鍗�" - }, - new - { - Id = 386523071475744L, - Code = "7", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鐢熶骇棰嗘枡" - }, - new - { - Id = 386523071475745L, - Code = "8", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "閿�鍞嚭搴�" - }, - new - { - Id = 386523071475746L, - Code = "9", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "渚涘簲鍟嗛��搴�" - }, - new - { - Id = 386523071475747L, - Code = "10", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "娉℃搏鍑哄簱" - }, - new - { - Id = 386523071475748L, - Code = "11", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "鍑哄簱鍏朵粬" - }, - new - { - Id = 386523071475749L, - Code = "12", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "浠撳簱璋冩嫧" - }, - new - { - Id = 386523071475750L, - Code = "13", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "搴撳尯璋冩嫧" - }, - new - { - Id = 386523071475751L, - Code = "14", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "搴撲綅璋冩嫧" - }, - new - { - Id = 386523071475752L, - Code = "15", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "椤圭洰璋冩嫧" - }, - new - { - Id = 386523071475753L, - Code = "16", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120394L, - Value = "璋冩嫧鍏朵粬" - }, - new - { - Id = 386523071475754L, - Code = "1", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "涓嶄娇鐢�" - }, - new - { - Id = 386523071475755L, - Code = "2", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "鏈鏍�" - }, - new - { - Id = 386523071475756L, - Code = "3", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "绛炬牳涓�" - }, - new - { - Id = 386523071475757L, - Code = "4", - IsDeleted = false, - Remark = "", - Sort = 100, - Status = 0, - TypeId = 386522984120395L, - Value = "宸茬鏍�" - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictType", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("EnumClassName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("瀵瑰簲鏋氫妇"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_dict_type"); - - b.HasComment("瀛楀吀绫诲瀷琛�"); - - b.HasData( - new - { - Id = 142307070906483L, - Code = "common_status", - IsDeleted = false, - Name = "閫氱敤鐘舵��", - Remark = "閫氱敤鐘舵��", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906484L, - Code = "sex", - IsDeleted = false, - Name = "鎬у埆", - Remark = "鎬у埆瀛楀吀", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906485L, - Code = "consts_type", - IsDeleted = false, - Name = "甯搁噺鐨勫垎绫�", - Remark = "甯搁噺鐨勫垎绫伙紝鐢ㄤ簬鍖哄埆涓�缁勯厤缃�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906486L, - Code = "yes_or_no", - IsDeleted = false, - Name = "鏄惁", - Remark = "鏄惁", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906487L, - Code = "vis_type", - IsDeleted = false, - Name = "璁块棶绫诲瀷", - Remark = "璁块棶绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906488L, - Code = "menu_type", - IsDeleted = false, - Name = "鑿滃崟绫诲瀷", - Remark = "鑿滃崟绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906489L, - Code = "send_type", - IsDeleted = false, - Name = "鍙戦�佺被鍨�", - Remark = "鍙戦�佺被鍨�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906490L, - Code = "open_type", - IsDeleted = false, - Name = "鎵撳紑鏂瑰紡", - Remark = "鎵撳紑鏂瑰紡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906491L, - Code = "menu_weight", - IsDeleted = false, - Name = "鑿滃崟鏉冮噸", - Remark = "鑿滃崟鏉冮噸", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906492L, - Code = "data_scope_type", - IsDeleted = false, - Name = "鏁版嵁鑼冨洿绫诲瀷", - Remark = "鏁版嵁鑼冨洿绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906494L, - Code = "op_type", - IsDeleted = false, - Name = "鎿嶄綔绫诲瀷", - Remark = "鎿嶄綔绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070906495L, - Code = "file_storage_location", - IsDeleted = false, - Name = "鏂囦欢瀛樺偍浣嶇疆", - Remark = "鏂囦欢瀛樺偍浣嶇疆", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910533L, - Code = "run_status", - IsDeleted = false, - Name = "杩愯鐘舵��", - Remark = "瀹氭椂浠诲姟杩愯鐘舵��", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910534L, - Code = "notice_type", - IsDeleted = false, - Name = "閫氱煡鍏憡绫诲瀷", - Remark = "閫氱煡鍏憡绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910535L, - Code = "notice_status", - IsDeleted = false, - Name = "閫氱煡鍏憡鐘舵��", - Remark = "閫氱煡鍏憡鐘舵��", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910536L, - Code = "yes_true_false", - IsDeleted = false, - Name = "鏄惁boolean", - Remark = "鏄惁boolean", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910537L, - Code = "code_gen_create_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚鏂瑰紡", - Remark = "浠g爜鐢熸垚鏂瑰紡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910538L, - Code = "request_type", - IsDeleted = false, - Name = "璇锋眰鏂瑰紡", - Remark = "璇锋眰鏂瑰紡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922827L, - Code = "code_gen_effect_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚浣滅敤绫诲瀷", - Remark = "浠g爜鐢熸垚浣滅敤绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922828L, - Code = "code_gen_query_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚鏌ヨ绫诲瀷", - Remark = "浠g爜鐢熸垚鏌ヨ绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070922829L, - Code = "code_gen_net_type", - IsDeleted = false, - Name = "浠g爜鐢熸垚.NET绫诲瀷", - Remark = "浠g爜鐢熸垚.NET绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070926941L, - Code = "role_type", - IsDeleted = false, - Name = "瑙掕壊绫诲瀷", - Remark = "瑙掕壊绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070926942L, - Code = "org_type", - IsDeleted = false, - Name = "鏈烘瀯绫诲瀷", - Remark = "鏈烘瀯绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 285605149831237L, - Code = "form_type", - IsDeleted = false, - Name = "琛ㄥ崟绫诲瀷", - Remark = "琛ㄥ崟绫诲瀷", - Sort = 100, - Status = 0 - }, - new - { - Id = 285641358889029L, - Code = "workflow_group", - IsDeleted = false, - Name = "娴佺▼鍒嗙被", - Remark = "娴佺▼鍒嗙被", - Sort = 100, - Status = 0 - }, - new - { - Id = 355694205325381L, - Code = "container_type", - IsDeleted = false, - Name = "鎵樼洏绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355697881423941L, - Code = "container_status", - IsDeleted = false, - Name = "鎵樼洏鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355697881423942L, - Code = "container_category", - IsDeleted = false, - Name = "鎵樼洏鍒嗙被", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698224758853L, - Code = "area_type", - IsDeleted = false, - Name = "搴撳尯绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698441912389L, - Code = "place_status", - IsDeleted = false, - Name = "搴撲綅鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698661130309L, - Code = "height_level", - IsDeleted = false, - Name = "搴撲綅楂樺害", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355698855280709L, - Code = "material_inspection", - IsDeleted = false, - Name = "鐗╂枡妫�楠�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699003580485L, - Code = "material_type", - IsDeleted = false, - Name = "鐗╂枡绫诲埆", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699189051461L, - Code = "unit_type", - IsDeleted = false, - Name = "鍗曚綅绫诲埆", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699314061381L, - Code = "unitno_type", - IsDeleted = false, - Name = "鍗曚綅缂栧彿", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699447029829L, - Code = "task_model", - IsDeleted = false, - Name = "浠诲姟鏂瑰紡", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699576467525L, - Code = "task_type", - IsDeleted = false, - Name = "浠诲姟绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699731099717L, - Code = "task_status", - IsDeleted = false, - Name = "浠诲姟鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 355699731099718L, - Code = "taskdodevice_statusenum", - IsDeleted = false, - Name = "浠诲姟璁惧鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 383290718294085L, - Code = "les_workshop_type", - IsDeleted = false, - Name = "鎵�灞炶溅闂�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 383317542490181L, - Code = "les_takematerials_status", - IsDeleted = false, - Name = "鍙枡鍗曠姸鎬�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 384394636988485L, - Code = "dodevice_type", - IsDeleted = false, - Name = "璁惧绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 385412129075269L, - Code = "lesworkshop_section", - IsDeleted = false, - Name = "宸ユ", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120389L, - Code = "les_entrance_type", - IsDeleted = false, - Name = "搴撳彛绫诲瀷", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120390L, - Code = "blankingproductionLine_enum", - IsDeleted = false, - Name = "涓嬫枡浜х嚎", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120391L, - Code = "orderdetails_statusenum", - IsDeleted = false, - Name = "鍗曟嵁鏄庣粏琛ㄧ姸鎬�", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120392L, - Code = "orderlargecategory_Enum", - IsDeleted = false, - Name = "鍗曟嵁澶х被", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120393L, - Code = "order_statusenum", - IsDeleted = false, - Name = "鍗曟嵁涓昏〃鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120394L, - Code = "ordersubclass_enum", - IsDeleted = false, - Name = "鍗曟嵁灏忕被", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 386522984120395L, - Code = "issue_state", - IsDeleted = false, - Name = "绛炬牳鐘舵��", - Remark = "", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmp", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<string>("JobNum") - .HasMaxLength(30) - .HasColumnType("nvarchar(30)") - .HasComment("宸ュ彿"); - - b.Property<long>("OrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.Property<string>("OrgName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏈烘瀯鍚嶇О"); - - b.HasKey("Id"); - - b.ToTable("sys_emp"); - - b.HasComment("鍛樺伐琛�"); - - b.HasData( - new - { - Id = 142307070910551L, - JobNum = "D1001", - OrgId = 142307070910539L, - OrgName = "绉熸埛3鍏徃" - }, - new - { - Id = 142307070910552L, - JobNum = "D1002", - OrgId = 142307070910539L, - OrgName = "绉熸埛3鍏徃" - }, - new - { - Id = 142307070910553L, - JobNum = "D1003", - OrgId = 142307070910539L, - OrgName = "绉熸埛3鍏徃" - }, - new - { - Id = 142307070910554L, - JobNum = "D1001", - OrgId = 142307070910547L, - OrgName = "绉熸埛1鍏徃" - }, - new - { - Id = 142307070910555L, - JobNum = "D1002", - OrgId = 142307070910547L, - OrgName = "绉熸埛1鍏徃" - }, - new - { - Id = 142307070910556L, - JobNum = "D1003", - OrgId = 142307070910547L, - OrgName = "绉熸埛1鍏徃" - }, - new - { - Id = 142307070910557L, - JobNum = "D1001", - OrgId = 142307070910548L, - OrgName = "绉熸埛2鍏徃" - }, - new - { - Id = 142307070910558L, - JobNum = "D1002", - OrgId = 142307070910548L, - OrgName = "绉熸埛2鍏徃" - }, - new - { - Id = 142307070910559L, - JobNum = "D1003", - OrgId = 142307070910548L, - OrgName = "绉熸埛2鍏徃" - }, - new - { - Id = 358533464608837L, - JobNum = "", - OrgId = 142307070910539L, - OrgName = "浼熸湰鑲′唤鏈夐檺鍏徃" - }, - new - { - Id = 358536045723717L, - JobNum = "", - OrgId = 142307070910542L, - OrgName = "鐮斿彂閮�" - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpExtOrgPos", b => - { - b.Property<long>("SysEmpId") - .HasColumnType("bigint") - .HasComment("鍛樺伐Id"); - - b.Property<long>("SysOrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.Property<long>("SysPosId") - .HasColumnType("bigint") - .HasComment("鑱屼綅Id"); - - b.HasKey("SysEmpId", "SysOrgId", "SysPosId"); - - b.HasIndex("SysOrgId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_ext_org_pos"); - - b.HasComment("鍛樺伐闄勫睘鏈烘瀯鑱屼綅琛�"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910539L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910540L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910541L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910551L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910550L - }, - new - { - SysEmpId = 142307070910553L, - SysOrgId = 142307070910542L, - SysPosId = 142307070910547L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpPos", b => - { - b.Property<long>("SysEmpId") - .HasColumnType("bigint") - .HasComment("鍛樺伐Id"); - - b.Property<long>("SysPosId") - .HasColumnType("bigint") - .HasComment("鑱屼綅Id"); - - b.HasKey("SysEmpId", "SysPosId"); - - b.HasIndex("SysPosId"); - - b.ToTable("sys_emp_pos"); - - b.HasComment("鍛樺伐鑱屼綅琛�"); - - b.HasData( - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 142307070910551L, - SysPosId = 142307070910548L - }, - new - { - SysEmpId = 142307070910552L, - SysPosId = 142307070910549L - }, - new - { - SysEmpId = 142307070910553L, - SysPosId = 142307070910547L - }, - new - { - SysEmpId = 358533464608837L, - SysPosId = 142307070910550L - }, - new - { - SysEmpId = 358536045723717L, - SysPosId = 142307070910550L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysExcelTemplate", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AppName") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鎵�灞炲簲鐢�"); - - b.Property<string>("ClassName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("绫诲悕"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DataStartLine") - .HasColumnType("int") - .HasComment("鏁版嵁寮�濮嬭"); - - b.Property<int>("HeadStartLine") - .HasColumnType("int") - .HasComment("琛ㄥご寮�濮嬭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("妯℃澘鍚嶇О"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("TemplateFileName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("妯℃澘鏂囦欢鍚嶇О"); - - b.Property<string>("UnionUniqueFields") - .IsRequired() - .HasMaxLength(300) - .HasColumnType("nvarchar(300)") - .HasComment("鍞竴瀛楁闆�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Version") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐗堟湰"); - - b.HasKey("Id"); - - b.HasAlternateKey("ClassName", "Version", "AppName"); - - b.ToTable("sys_excel_template"); - - b.HasComment("Excel妯℃澘"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysFile", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FileBucket") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂囦欢浠撳簱"); - - b.Property<int>("FileLocation") - .HasColumnType("int") - .HasComment("鏂囦欢瀛樺偍浣嶇疆"); - - b.Property<string>("FileObjectName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("瀛樺偍鍒癰ucket鐨勫悕绉�"); - - b.Property<string>("FileOriginName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂囦欢鍚嶇О"); - - b.Property<string>("FilePath") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("瀛樺偍璺緞"); - - b.Property<string>("FileSizeInfo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏂囦欢澶у皬淇℃伅"); - - b.Property<string>("FileSizeKb") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("鏂囦欢澶у皬kb"); - - b.Property<string>("FileSuffix") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏂囦欢鍚庣紑"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_file"); - - b.HasComment("鏂囦欢淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysForm", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FormJson") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("form琛ㄥ崟Json"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("Publish") - .HasColumnType("bit") - .HasComment("鏄惁鍙戝竷"); - - b.Property<string>("Title") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("鏍囬"); - - b.Property<long>("TypeId") - .HasColumnType("bigint") - .HasComment("琛ㄥ崟绫诲瀷ID"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("Version") - .HasColumnType("int") - .HasComment("鐗堟湰"); - - b.HasKey("Id"); - - b.ToTable("sys_forms"); - - b.HasComment("琛ㄥ崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogAudit", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("ColumnName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒楀悕"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鎿嶄綔鏃堕棿"); - - b.Property<string>("NewValue") - .HasColumnType("nvarchar(max)") - .HasComment("鏂板��"); - - b.Property<string>("OldValue") - .HasColumnType("nvarchar(max)") - .HasComment("鏃у��"); - - b.Property<int>("Operate") - .HasColumnType("int") - .HasComment("鎿嶄綔鏂瑰紡"); - - b.Property<string>("TableName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("琛ㄥ悕"); - - b.Property<long>("UserId") - .HasColumnType("bigint") - .HasComment("鎿嶄綔浜篒d"); - - b.Property<string>("UserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎿嶄綔浜哄悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_log_audit"); - - b.HasComment("瀹¤鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogEx", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("Account") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎿嶄綔浜�"); - - b.Property<string>("ClassName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("绫诲悕"); - - b.Property<string>("ExceptionMsg") - .HasColumnType("nvarchar(max)") - .HasComment("寮傚父淇℃伅"); - - b.Property<string>("ExceptionName") - .HasColumnType("nvarchar(max)") - .HasComment("寮傚父鍚嶇О"); - - b.Property<string>("ExceptionSource") - .HasColumnType("nvarchar(max)") - .HasComment("寮傚父婧�"); - - b.Property<DateTimeOffset?>("ExceptionTime") - .HasColumnType("datetimeoffset") - .HasComment("寮傚父鏃堕棿"); - - b.Property<string>("MethodName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂规硶鍚�"); - - b.Property<string>("Name") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("ParamsObj") - .HasColumnType("nvarchar(max)") - .HasComment("鍙傛暟瀵硅薄"); - - b.Property<string>("StackTrace") - .HasColumnType("nvarchar(max)") - .HasComment("鍫嗘爤淇℃伅"); - - b.HasKey("Id"); - - b.ToTable("sys_log_ex"); - - b.HasComment("寮傚父鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogOp", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("Account") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎿嶄綔浜�"); - - b.Property<string>("Browser") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("娴忚鍣�"); - - b.Property<string>("ClassName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("绫诲悕绉�"); - - b.Property<long>("ElapsedTime") - .HasColumnType("bigint") - .HasComment("鑰楁椂"); - - b.Property<string>("Ip") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("IP"); - - b.Property<string>("Location") - .HasMaxLength(1024) - .HasColumnType("nvarchar(1024)") - .HasComment("鍦板潃"); - - b.Property<string>("Message") - .HasColumnType("nvarchar(max)") - .HasComment("鍏蜂綋娑堟伅"); - - b.Property<string>("MethodName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏂规硶鍚嶇О"); - - b.Property<string>("Name") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<DateTimeOffset?>("OpTime") - .HasColumnType("datetimeoffset") - .HasComment("鎿嶄綔鏃堕棿"); - - b.Property<string>("Os") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鎿嶄綔绯荤粺"); - - b.Property<string>("Param") - .HasColumnType("nvarchar(max)") - .HasComment("璇锋眰鍙傛暟"); - - b.Property<string>("ReqMethod") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("璇锋眰鏂瑰紡"); - - b.Property<string>("Result") - .HasColumnType("nvarchar(max)") - .HasComment("杩斿洖缁撴灉"); - - b.Property<int>("Success") - .HasColumnType("int") - .HasComment("鏄惁鎵ц鎴愬姛"); - - b.Property<string>("Url") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("璇锋眰鍦板潃"); - - b.HasKey("Id"); - - b.ToTable("sys_log_op"); - - b.HasComment("鎿嶄綔鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysLogVis", b => - { - b.Property<int>("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int"); - - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property<int>("Id"), 1L, 1); - - b.Property<string>("Account") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璁块棶浜�"); - - b.Property<string>("Browser") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("娴忚鍣�"); - - b.Property<string>("Ip") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("IP"); - - b.Property<string>("Location") - .HasMaxLength(1024) - .HasColumnType("nvarchar(1024)") - .HasComment("鍦板潃"); - - b.Property<string>("Message") - .HasColumnType("nvarchar(max)") - .HasComment("鍏蜂綋娑堟伅"); - - b.Property<string>("Name") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("Os") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鎿嶄綔绯荤粺"); - - b.Property<int>("Success") - .HasColumnType("int") - .HasComment("鏄惁鎵ц鎴愬姛"); - - b.Property<DateTimeOffset?>("VisTime") - .HasColumnType("datetimeoffset") - .HasComment("璁块棶鏃堕棿"); - - b.Property<int>("VisType") - .HasColumnType("int") - .HasComment("璁块棶绫诲瀷"); - - b.HasKey("Id"); - - b.ToTable("sys_log_vis"); - - b.HasComment("璁块棶鏃ュ織琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysMenu", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Application") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴旂敤鍒嗙被"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<string>("Component") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("缁勪欢鍦板潃"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Icon") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍥炬爣"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Link") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍐呴摼鍦板潃"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<int>("OpenType") - .HasColumnType("int") - .HasComment("鎵撳紑鏂瑰紡"); - - b.Property<string>("Permission") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏉冮檺鏍囪瘑"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("鐖禝d"); - - b.Property<string>("Pids") - .HasColumnType("nvarchar(max)") - .HasComment("鐖禝ds"); - - b.Property<string>("Redirect") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("閲嶅畾鍚戝湴鍧�"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<string>("Router") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("璺敱鍦板潃"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("鑿滃崟绫诲瀷"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Visible") - .HasMaxLength(5) - .HasColumnType("nvarchar(5)") - .HasComment("鏄惁鍙"); - - b.Property<int>("Weight") - .HasColumnType("int") - .HasComment("鏉冮噸"); - - b.HasKey("Id"); - - b.ToTable("sys_menu"); - - b.HasComment("鑿滃崟琛�"); - - b.HasData( - new - { - Id = 142307000914633L, - Application = "manage", - Code = "sys_mgr", - Component = "PageView", - Icon = "team", - IsDeleted = false, - Name = "缁勭粐鏋舵瀯", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/sys", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910581L, - Application = "manage", - Code = "sys_org_mgr", - Component = "system/org/index", - IsDeleted = false, - Name = "鏈烘瀯绠$悊", - OpenType = 1, - Pid = 142307000914633L, - Pids = "[0],[142307000914633],", - Router = "/org", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910582L, - Application = "manage", - Code = "sys_org_mgr_page", - IsDeleted = false, - Name = "鏈烘瀯鏌ヨ", - OpenType = 0, - Permission = "sysOrg:page", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910583L, - Application = "manage", - Code = "sys_org_mgr_list", - IsDeleted = false, - Name = "鏈烘瀯鍒楄〃", - OpenType = 0, - Permission = "sysOrg:list", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910584L, - Application = "manage", - Code = "sys_org_mgr_add", - IsDeleted = false, - Name = "鏈烘瀯澧炲姞", - OpenType = 0, - Permission = "sysOrg:add", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910585L, - Application = "manage", - Code = "sys_org_mgr_edit", - IsDeleted = false, - Name = "鏈烘瀯缂栬緫", - OpenType = 0, - Permission = "sysOrg:edit", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910586L, - Application = "manage", - Code = "sys_org_mgr_delete", - IsDeleted = false, - Name = "鏈烘瀯鍒犻櫎", - OpenType = 0, - Permission = "sysOrg:delete", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910587L, - Application = "manage", - Code = "sys_org_mgr_detail", - IsDeleted = false, - Name = "鏈烘瀯璇︽儏", - OpenType = 0, - Permission = "sysOrg:detail", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910588L, - Application = "manage", - Code = "sys_org_mgr_tree", - IsDeleted = false, - Name = "鏈烘瀯鏍�", - OpenType = 0, - Permission = "sysOrg:tree", - Pid = 142307070910581L, - Pids = "[0],[142307000914633],[142307070910581],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910589L, - Application = "manage", - Code = "sys_pos_mgr", - Component = "system/pos/index", - IsDeleted = false, - Name = "鑱屼綅绠$悊", - OpenType = 1, - Pid = 142307000914633L, - Pids = "[0],[142307000914633],", - Router = "/pos", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910590L, - Application = "manage", - Code = "sys_pos_mgr_page", - IsDeleted = false, - Name = "鑱屼綅鏌ヨ", - OpenType = 0, - Permission = "sysPos:page", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910591L, - Application = "manage", - Code = "sys_pos_mgr_list", - IsDeleted = false, - Name = "鑱屼綅鍒楄〃", - OpenType = 0, - Permission = "sysPos:list", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914629L, - Application = "manage", - Code = "sys_pos_mgr_add", - IsDeleted = false, - Name = "鑱屼綅澧炲姞", - OpenType = 0, - Permission = "sysPos:add", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914630L, - Application = "manage", - Code = "sys_pos_mgr_edit", - IsDeleted = false, - Name = "鑱屼綅缂栬緫", - OpenType = 0, - Permission = "sysPos:edit", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914631L, - Application = "manage", - Code = "sys_pos_mgr_delete", - IsDeleted = false, - Name = "鑱屼綅鍒犻櫎", - OpenType = 0, - Permission = "sysPos:delete", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914632L, - Application = "manage", - Code = "sys_pos_mgr_detail", - IsDeleted = false, - Name = "鑱屼綅璇︽儏", - OpenType = 0, - Permission = "sysPos:detail", - Pid = 142307070910589L, - Pids = "[0],[142307000914633],[142307070910589],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910563L, - Application = "manage", - Code = "auth_manager", - Component = "PageView", - Icon = "safety-certificate", - IsDeleted = false, - Name = "鏉冮檺绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/auth", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910564L, - Application = "manage", - Code = "sys_user_mgr", - Component = "system/user/index", - IsDeleted = false, - Name = "鐢ㄦ埛绠$悊", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/mgr_user", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910565L, - Application = "manage", - Code = "sys_user_mgr_page", - IsDeleted = false, - Name = "鐢ㄦ埛鏌ヨ", - OpenType = 0, - Permission = "sysUser:page", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910566L, - Application = "manage", - Code = "sys_user_mgr_edit", - IsDeleted = false, - Name = "鐢ㄦ埛缂栬緫", - OpenType = 0, - Permission = "sysUser:edit", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910567L, - Application = "manage", - Code = "sys_user_mgr_add", - IsDeleted = false, - Name = "鐢ㄦ埛澧炲姞", - OpenType = 0, - Permission = "sysUser:add", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910568L, - Application = "manage", - Code = "sys_user_mgr_delete", - IsDeleted = false, - Name = "鐢ㄦ埛鍒犻櫎", - OpenType = 0, - Permission = "sysUser:delete", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910569L, - Application = "manage", - Code = "sys_user_mgr_detail", - IsDeleted = false, - Name = "鐢ㄦ埛璇︽儏", - OpenType = 0, - Permission = "sysUser:detail", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910570L, - Application = "manage", - Code = "sys_user_mgr_export", - IsDeleted = false, - Name = "鐢ㄦ埛瀵煎嚭", - OpenType = 0, - Permission = "sysUser:export", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910571L, - Application = "manage", - Code = "sys_user_mgr_selector", - IsDeleted = false, - Name = "鐢ㄦ埛閫夋嫨鍣�", - OpenType = 0, - Permission = "sysUser:selector", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910572L, - Application = "manage", - Code = "sys_user_mgr_grant_role", - IsDeleted = false, - Name = "鐢ㄦ埛鎺堟潈瑙掕壊", - OpenType = 0, - Permission = "sysUser:grantRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910573L, - Application = "manage", - Code = "sys_user_mgr_own_role", - IsDeleted = false, - Name = "鐢ㄦ埛鎷ユ湁瑙掕壊", - OpenType = 0, - Permission = "sysUser:ownRole", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910574L, - Application = "manage", - Code = "sys_user_mgr_grant_data", - IsDeleted = false, - Name = "鐢ㄦ埛鎺堟潈鏁版嵁", - OpenType = 0, - Permission = "sysUser:grantData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910575L, - Application = "manage", - Code = "sys_user_mgr_own_data", - IsDeleted = false, - Name = "鐢ㄦ埛鎷ユ湁鏁版嵁", - OpenType = 0, - Permission = "sysUser:ownData", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910576L, - Application = "manage", - Code = "sys_user_mgr_update_info", - IsDeleted = false, - Name = "鐢ㄦ埛鏇存柊淇℃伅", - OpenType = 0, - Permission = "sysUser:updateInfo", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910577L, - Application = "manage", - Code = "sys_user_mgr_update_pwd", - IsDeleted = false, - Name = "鐢ㄦ埛淇敼瀵嗙爜", - OpenType = 0, - Permission = "sysUser:updatePwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910578L, - Application = "manage", - Code = "sys_user_mgr_change_status", - IsDeleted = false, - Name = "鐢ㄦ埛淇敼鐘舵��", - OpenType = 0, - Permission = "sysUser:changeStatus", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910579L, - Application = "manage", - Code = "sys_user_mgr_update_avatar", - IsDeleted = false, - Name = "鐢ㄦ埛淇敼澶村儚", - OpenType = 0, - Permission = "sysUser:updateAvatar", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070910580L, - Application = "manage", - Code = "sys_user_mgr_reset_pwd", - IsDeleted = false, - Name = "鐢ㄦ埛閲嶇疆瀵嗙爜", - OpenType = 0, - Permission = "sysUser:resetPwd", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918777L, - Application = "manage", - Code = "sys_user_mgr_login", - IsDeleted = false, - Name = "鐢ㄦ埛鐧诲綍淇℃伅", - OpenType = 0, - Permission = "getLoginUser", - Pid = 142307070910564L, - Pids = "[0],[142307070910563],[142307070910564],", - Sort = 100, - Status = 1, - Type = 2, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070914651L, - Application = "manage", - Code = "sys_role_mgr", - Component = "system/role/index", - IsDeleted = false, - Name = "瑙掕壊绠$悊", - OpenType = 1, - Pid = 142307070910563L, - Pids = "[0],[142307070910563],", - Router = "/role", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914652L, - Application = "manage", - Code = "sys_role_mgr_page", - IsDeleted = false, - Name = "瑙掕壊鏌ヨ", - OpenType = 0, - Permission = "sysRole:page", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914653L, - Application = "manage", - Code = "sys_role_mgr_add", - IsDeleted = false, - Name = "瑙掕壊澧炲姞", - OpenType = 0, - Permission = "sysRole:add", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914654L, - Application = "manage", - Code = "sys_role_mgr_edit", - IsDeleted = false, - Name = "瑙掕壊缂栬緫", - OpenType = 0, - Permission = "sysRole:edit", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914655L, - Application = "manage", - Code = "sys_role_mgr_delete", - IsDeleted = false, - Name = "瑙掕壊鍒犻櫎", - OpenType = 0, - Permission = "sysRole:delete", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914656L, - Application = "manage", - Code = "sys_role_mgr_detail", - IsDeleted = false, - Name = "瑙掕壊璇︽儏", - OpenType = 0, - Permission = "sysRole:detail", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914657L, - Application = "manage", - Code = "sys_role_mgr_drop_down", - IsDeleted = false, - Name = "瑙掕壊涓嬫媺", - OpenType = 0, - Permission = "sysRole:dropDown", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914658L, - Application = "manage", - Code = "sys_role_mgr_grant_menu", - IsDeleted = false, - Name = "瑙掕壊鎺堟潈鑿滃崟", - OpenType = 0, - Permission = "sysRole:grantMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914659L, - Application = "manage", - Code = "sys_role_mgr_own_menu", - IsDeleted = false, - Name = "瑙掕壊鎷ユ湁鑿滃崟", - OpenType = 0, - Permission = "sysRole:ownMenu", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914660L, - Application = "manage", - Code = "sys_role_mgr_grant_data", - IsDeleted = false, - Name = "瑙掕壊鎺堟潈鏁版嵁", - OpenType = 0, - Permission = "sysRole:grantData", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914661L, - Application = "manage", - Code = "sys_role_mgr_own_data", - IsDeleted = false, - Name = "瑙掕壊鎷ユ湁鏁版嵁", - OpenType = 0, - Permission = "sysRole:ownData", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914648L, - Application = "manage", - Code = "sys_menu_mgr_grant_tree", - IsDeleted = false, - Name = "鑿滃崟鎺堟潈鏍�", - OpenType = 0, - Permission = "sysMenu:treeForGrant", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914649L, - Application = "manage", - Code = "sys_menu_mgr_tree", - IsDeleted = false, - Name = "鑿滃崟鏍�", - OpenType = 0, - Permission = "sysMenu:tree", - Pid = 142307070914651L, - Pids = "[0],[142307070910563],[142307070914651],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914633L, - Application = "system", - Code = "sys_platform", - Component = "PageView", - Icon = "safety-certificate", - IsDeleted = false, - Name = "骞冲彴绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/platform", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914634L, - Application = "system", - Code = "sys_app_mgr", - Component = "system/app/index", - IsDeleted = false, - Name = "搴旂敤绠$悊", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/app", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914635L, - Application = "system", - Code = "sys_app_mgr_page", - IsDeleted = false, - Name = "搴旂敤鏌ヨ", - OpenType = 0, - Permission = "sysApp:page", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914636L, - Application = "system", - Code = "sys_app_mgr_list", - IsDeleted = false, - Name = "搴旂敤鍒楄〃", - OpenType = 0, - Permission = "sysApp:list", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914637L, - Application = "system", - Code = "sys_app_mgr_add", - IsDeleted = false, - Name = "搴旂敤澧炲姞", - OpenType = 0, - Permission = "sysApp:add", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914638L, - Application = "system", - Code = "sys_app_mgr_edit", - IsDeleted = false, - Name = "搴旂敤缂栬緫", - OpenType = 0, - Permission = "sysApp:edit", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914639L, - Application = "system", - Code = "sys_app_mgr_delete", - IsDeleted = false, - Name = "搴旂敤鍒犻櫎", - OpenType = 0, - Permission = "sysApp:delete", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914640L, - Application = "system", - Code = "sys_app_mgr_detail", - IsDeleted = false, - Name = "搴旂敤璇︽儏", - OpenType = 0, - Permission = "sysApp:detail", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914641L, - Application = "system", - Code = "sys_app_mgr_set_as_default", - IsDeleted = false, - Name = "璁句负榛樿搴旂敤", - OpenType = 0, - Permission = "sysApp:setAsDefault", - Pid = 142307070914634L, - Pids = "[0],[142307070914633],[142307070914634],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914642L, - Application = "system", - Code = "sys_menu_mgr", - Component = "system/menu/index", - IsDeleted = false, - Name = "鑿滃崟绠$悊", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/menu", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914643L, - Application = "system", - Code = "sys_menu_mgr_list", - IsDeleted = false, - Name = "鑿滃崟鍒楄〃", - OpenType = 0, - Permission = "sysMenu:list", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914644L, - Application = "system", - Code = "sys_menu_mgr_add", - IsDeleted = false, - Name = "鑿滃崟澧炲姞", - OpenType = 0, - Permission = "sysMenu:add", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914645L, - Application = "system", - Code = "sys_menu_mgr_edit", - IsDeleted = false, - Name = "鑿滃崟缂栬緫", - OpenType = 0, - Permission = "sysMenu:edit", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914646L, - Application = "system", - Code = "sys_menu_mgr_delete", - IsDeleted = false, - Name = "鑿滃崟鍒犻櫎", - OpenType = 0, - Permission = "sysMenu:delete", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914647L, - Application = "system", - Code = "sys_menu_mgr_detail", - IsDeleted = false, - Name = "鑿滃崟璇︽儏", - OpenType = 0, - Permission = "sysMenu:detail", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914650L, - Application = "system", - Code = "sys_menu_mgr_change", - IsDeleted = false, - Name = "鑿滃崟鍒囨崲", - OpenType = 0, - Permission = "sysMenu:change", - Pid = 142307070914642L, - Pids = "[0],[142307070914633],[142307070914642],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 494834310545477L, - Application = "system", - Code = "sys_wmspdapower_mgr", - Component = "main/WmsPdaPower/index", - IsDeleted = false, - Name = "Pda鑿滃崟", - OpenType = 1, - Pid = 142307070914633L, - Pids = "[0],[142307070914633],", - Router = "/WmsPdaPower", - Sort = 101, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914662L, - Application = "system", - Code = "system_tools", - Component = "PageView", - Icon = "euro", - IsDeleted = false, - Name = "寮�鍙戠鐞�", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/tools", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914663L, - Application = "system", - Code = "system_tools_config", - Component = "system/config/index", - IsDeleted = false, - Name = "绯荤粺閰嶇疆", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/config", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914664L, - Application = "system", - Code = "system_tools_config_page", - IsDeleted = false, - Name = "閰嶇疆鏌ヨ", - OpenType = 0, - Permission = "sysConfig:page", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914665L, - Application = "system", - Code = "system_tools_config_list", - IsDeleted = false, - Name = "閰嶇疆鍒楄〃", - OpenType = 0, - Permission = "sysConfig:list", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914666L, - Application = "system", - Code = "system_tools_config_add", - IsDeleted = false, - Name = "閰嶇疆澧炲姞", - OpenType = 0, - Permission = "sysConfig:add", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914667L, - Application = "system", - Code = "system_tools_config_edit", - IsDeleted = false, - Name = "閰嶇疆缂栬緫", - OpenType = 0, - Permission = "sysConfig:edit", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914668L, - Application = "system", - Code = "system_tools_config_delete", - IsDeleted = false, - Name = "閰嶇疆鍒犻櫎", - OpenType = 0, - Permission = "sysConfig:delete", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914669L, - Application = "system", - Code = "system_tools_config_detail", - IsDeleted = false, - Name = "閰嶇疆璇︽儏", - OpenType = 0, - Permission = "sysConfig:detail", - Pid = 142307070914663L, - Pids = "[0],[142307070914662],[142307070914663],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914678L, - Application = "system", - Code = "sys_dict_mgr", - Component = "system/dict/index", - IsDeleted = false, - Name = "瀛楀吀绠$悊", - OpenType = 1, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/dict", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914679L, - Application = "system", - Code = "sys_dict_mgr_dict_type_page", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷鏌ヨ", - OpenType = 0, - Permission = "sysDictType:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914680L, - Application = "system", - Code = "sys_dict_mgr_dict_type_list", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷鍒楄〃", - OpenType = 0, - Permission = "sysDictType:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914681L, - Application = "system", - Code = "sys_dict_mgr_dict_type_add", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷澧炲姞", - OpenType = 0, - Permission = "sysDictType:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914682L, - Application = "system", - Code = "sys_dict_mgr_dict_type_delete", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷鍒犻櫎", - OpenType = 0, - Permission = "sysDictType:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914683L, - Application = "system", - Code = "sys_dict_mgr_dict_type_edit", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷缂栬緫", - OpenType = 0, - Permission = "sysDictType:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914684L, - Application = "system", - Code = "sys_dict_mgr_dict_type_detail", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷璇︽儏", - OpenType = 0, - Permission = "sysDictType:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914685L, - Application = "system", - Code = "sys_dict_mgr_dict_type_drop_down", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷涓嬫媺", - OpenType = 0, - Permission = "sysDictType:dropDown", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914686L, - Application = "system", - Code = "sys_dict_mgr_dict_type_change_status", - IsDeleted = false, - Name = "瀛楀吀绫诲瀷淇敼鐘舵��", - OpenType = 0, - Permission = "sysDictType:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070914687L, - Application = "system", - Code = "sys_dict_mgr_dict_page", - IsDeleted = false, - Name = "瀛楀吀鍊兼煡璇�", - OpenType = 0, - Permission = "sysDictData:page", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918725L, - Application = "system", - Code = "sys_dict_mgr_dict_list", - IsDeleted = false, - Name = "瀛楀吀鍊煎垪琛�", - OpenType = 0, - Permission = "sysDictData:list", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918726L, - Application = "system", - Code = "sys_dict_mgr_dict_add", - IsDeleted = false, - Name = "瀛楀吀鍊煎鍔�", - OpenType = 0, - Permission = "sysDictData:add", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918727L, - Application = "system", - Code = "sys_dict_mgr_dict_delete", - IsDeleted = false, - Name = "瀛楀吀鍊煎垹闄�", - OpenType = 0, - Permission = "sysDictData:delete", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918728L, - Application = "system", - Code = "sys_dict_mgr_dict_edit", - IsDeleted = false, - Name = "瀛楀吀鍊肩紪杈�", - OpenType = 0, - Permission = "sysDictData:edit", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918729L, - Application = "system", - Code = "sys_dict_mgr_dict_detail", - IsDeleted = false, - Name = "瀛楀吀鍊艰鎯�", - OpenType = 0, - Permission = "sysDictData:detail", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918730L, - Application = "system", - Code = "sys_dict_mgr_dict_change_status", - IsDeleted = false, - Name = "瀛楀吀鍊间慨鏀圭姸鎬�", - OpenType = 0, - Permission = "sysDictData:changeStatus", - Pid = 142307070914678L, - Pids = "[0],[142307070914662],[142307070914678],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918731L, - Application = "system", - Code = "sys_swagger_mgr", - Component = "Iframe", - IsDeleted = false, - Link = "http://localhost:6677/swagger/", - Name = "鎺ュ彛鏂囨。", - OpenType = 2, - Pid = 142307070914662L, - Pids = "[0],[142307070914662],", - Router = "/swagger", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918732L, - Application = "manage", - Code = "sys_log_mgr", - Component = "PageView", - Icon = "read", - IsDeleted = false, - Name = "鏃ュ織绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/log", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918733L, - Application = "manage", - Code = "sys_log_mgr_vis_log", - Component = "system/log/vislog/index", - IsDeleted = false, - Name = "璁块棶鏃ュ織", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/vislog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918734L, - Application = "manage", - Code = "sys_log_mgr_vis_log_page", - IsDeleted = false, - Name = "璁块棶鏃ュ織鏌ヨ", - OpenType = 0, - Permission = "sysVisLog:page", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918735L, - Application = "manage", - Code = "sys_log_mgr_vis_log_delete", - IsDeleted = false, - Name = "璁块棶鏃ュ織娓呯┖", - OpenType = 0, - Permission = "sysVisLog:delete", - Pid = 142307070918733L, - Pids = "[0],[142307070918732],[142307070918733],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918736L, - Application = "manage", - Code = "sys_log_mgr_op_log", - Component = "system/log/oplog/index", - IsDeleted = false, - Name = "鎿嶄綔鏃ュ織", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/oplog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918737L, - Application = "manage", - Code = "sys_log_mgr_op_log_page", - IsDeleted = false, - Name = "鎿嶄綔鏃ュ織鏌ヨ", - OpenType = 0, - Permission = "sysOpLog:page", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918738L, - Application = "manage", - Code = "sys_log_mgr_op_log_delete", - IsDeleted = false, - Name = "鎿嶄綔鏃ュ織娓呯┖", - OpenType = 0, - Permission = "sysOpLog:delete", - Pid = 142307070918736L, - Pids = "[0],[142307070918732],[142307070918736],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070911739L, - Application = "manage", - Code = "sys_log_mgr_ex_log", - Component = "system/log/exlog/index", - IsDeleted = false, - Name = "寮傚父鏃ュ織", - OpenType = 1, - Pid = 142307070918732L, - Pids = "[0],[142307070918732],", - Router = "/exlog", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070911740L, - Application = "manage", - Code = "sys_log_mgr_ex_log_page", - IsDeleted = false, - Name = "寮傚父鏃ュ織鏌ヨ", - OpenType = 0, - Permission = "sysExLog:page", - Pid = 142307070911739L, - Pids = "[0],[142307070918732],[142307070911739],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070911741L, - Application = "manage", - Code = "sys_log_mgr_ex_log_delete", - IsDeleted = false, - Name = "寮傚父鏃ュ織娓呯┖", - OpenType = 0, - Permission = "sysExLog:delete", - Pid = 142307070911739L, - Pids = "[0],[142307070918732],[142307070911739],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918739L, - Application = "system", - Code = "sys_monitor_mgr", - Component = "PageView", - Icon = "deployment-unit", - IsDeleted = false, - Name = "绯荤粺鐩戞帶", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/monitor", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918740L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor", - Component = "system/machine/index", - IsDeleted = false, - Name = "鏈嶅姟鐩戞帶", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/machine", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918741L, - Application = "system", - Code = "sys_monitor_mgr_machine_monitor_query", - IsDeleted = false, - Name = "鏈嶅姟鐩戞帶鏌ヨ", - OpenType = 0, - Permission = "sysMachine:query", - Pid = 142307070918740L, - Pids = "[0],[142307070918739],[142307070918740],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918742L, - Application = "system", - Code = "sys_monitor_mgr_online_user", - Component = "system/onlineUser/index", - IsDeleted = false, - Name = "鍦ㄧ嚎鐢ㄦ埛", - OpenType = 1, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/onlineUser", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918743L, - Application = "system", - Code = "sys_monitor_mgr_online_user_page", - IsDeleted = false, - Name = "鍦ㄧ嚎鐢ㄦ埛鏌ヨ", - OpenType = 0, - Permission = "sysOnlineUser:page", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918744L, - Application = "system", - Code = "sys_monitor_mgr_online_user_force_exist", - IsDeleted = false, - Name = "鍦ㄧ嚎鐢ㄦ埛寮洪��", - OpenType = 0, - Permission = "sysOnlineUser:forceExist", - Pid = 142307070918742L, - Pids = "[0],[142307070918739],[142307070918742],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918745L, - Application = "system", - Code = "sys_monitor_mgr_druid", - Component = "Iframe", - IsDeleted = false, - Link = "http://localhost:82/druid/login.html", - Name = "鏁版嵁鐩戞帶", - OpenType = 2, - Pid = 142307070918739L, - Pids = "[0],[142307070918739],", - Router = "/druid", - Sort = 100, - Status = 0, - Type = 1, - Visible = "N", - Weight = 1 - }, - new - { - Id = 142307070918746L, - Application = "manage", - Code = "sys_notice", - Component = "PageView", - Icon = "sound", - IsDeleted = false, - Name = "閫氱煡鍏憡", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918747L, - Application = "manage", - Code = "sys_notice_mgr", - Component = "system/notice/index", - IsDeleted = false, - Name = "鍏憡绠$悊", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/notice", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918748L, - Application = "manage", - Code = "sys_notice_mgr_page", - IsDeleted = false, - Name = "鍏憡鏌ヨ", - OpenType = 0, - Permission = "sysNotice:page", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918749L, - Application = "manage", - Code = "sys_notice_mgr_add", - IsDeleted = false, - Name = "鍏憡澧炲姞", - OpenType = 0, - Permission = "sysNotice:add", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918750L, - Application = "manage", - Code = "sys_notice_mgr_edit", - IsDeleted = false, - Name = "鍏憡缂栬緫", - OpenType = 0, - Permission = "sysNotice:edit", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918751L, - Application = "manage", - Code = "sys_notice_mgr_delete", - IsDeleted = false, - Name = "鍏憡鍒犻櫎", - OpenType = 0, - Permission = "sysNotice:delete", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918752L, - Application = "manage", - Code = "sys_notice_mgr_detail", - IsDeleted = false, - Name = "鍏憡鏌ョ湅", - OpenType = 0, - Permission = "sysNotice:detail", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918753L, - Application = "manage", - Code = "sys_notice_mgr_changeStatus", - IsDeleted = false, - Name = "鍏憡淇敼鐘舵��", - OpenType = 0, - Permission = "sysNotice:changeStatus", - Pid = 142307070918747L, - Pids = "[0],[142307070918746],[142307070918747],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918754L, - Application = "manage", - Code = "sys_notice_mgr_received", - Component = "system/noticeReceived/index", - IsDeleted = false, - Name = "宸叉敹鍏憡", - OpenType = 1, - Pid = 142307070918746L, - Pids = "[0],[142307070918746],", - Router = "/noticeReceived", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918755L, - Application = "manage", - Code = "sys_notice_mgr_received_page", - IsDeleted = false, - Name = "宸叉敹鍏憡鏌ヨ", - OpenType = 0, - Permission = "sysNotice:received", - Pid = 142307070918754L, - Pids = "[0],[142307070918746],[142307070918754],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918756L, - Application = "manage", - Code = "sys_file_mgr", - Component = "PageView", - Icon = "file", - IsDeleted = false, - Name = "鏂囦欢绠$悊", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918757L, - Application = "manage", - Code = "sys_file_mgr_sys_file", - Component = "system/file/index", - IsDeleted = false, - Name = "绯荤粺鏂囦欢", - OpenType = 1, - Pid = 142307070918756L, - Pids = "[0],[142307070918756],", - Router = "/file", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918758L, - Application = "manage", - Code = "sys_file_mgr_sys_file_page", - IsDeleted = false, - Name = "鏂囦欢鏌ヨ", - OpenType = 0, - Permission = "sysFileInfo:page", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918759L, - Application = "manage", - Code = "sys_file_mgr_sys_file_list", - IsDeleted = false, - Name = "鏂囦欢鍒楄〃", - OpenType = 0, - Permission = "sysFileInfo:list", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918760L, - Application = "manage", - Code = "sys_file_mgr_sys_file_delete", - IsDeleted = false, - Name = "鏂囦欢鍒犻櫎", - OpenType = 0, - Permission = "sysFileInfo:delete", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918761L, - Application = "manage", - Code = "sys_file_mgr_sys_file_detail", - IsDeleted = false, - Name = "鏂囦欢璇︽儏", - OpenType = 0, - Permission = "sysFileInfo:detail", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918762L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload", - IsDeleted = false, - Name = "鏂囦欢涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:upload", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918763L, - Application = "manage", - Code = "sys_file_mgr_sys_file_download", - IsDeleted = false, - Name = "鏂囦欢涓嬭浇", - OpenType = 0, - Permission = "sysFileInfo:download", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918764L, - Application = "manage", - Code = "sys_file_mgr_sys_file_preview", - IsDeleted = false, - Name = "鍥剧墖棰勮", - OpenType = 0, - Permission = "sysFileInfo:preview", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922874L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload_avatar", - IsDeleted = false, - Name = "澶村儚涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:uploadAvatar", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922875L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload_document", - IsDeleted = false, - Name = "鏂囨。涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:uploadDocument", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922876L, - Application = "manage", - Code = "sys_file_mgr_sys_file_upload_shop", - IsDeleted = false, - Name = "鍟嗗煄涓婁紶", - OpenType = 0, - Permission = "sysFileInfo:uploadShop", - Pid = 142307070918757L, - Pids = "[0],[142307070918756],[142307070918757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918765L, - Application = "system", - Code = "sys_timers", - Component = "PageView", - Icon = "dashboard", - IsDeleted = false, - Name = "浠诲姟璋冨害", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918766L, - Application = "system", - Code = "sys_timers_mgr", - Component = "system/timers/index", - IsDeleted = false, - Name = "浠诲姟绠$悊", - OpenType = 1, - Pid = 142307070918765L, - Pids = "[0],[142307070918765],", - Router = "/timers", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918767L, - Application = "system", - Code = "sys_timers_mgr_page", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鏌ヨ", - OpenType = 0, - Permission = "sysTimers:page", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918768L, - Application = "system", - Code = "sys_timers_mgr_list", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍒楄〃", - OpenType = 0, - Permission = "sysTimers:list", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918769L, - Application = "system", - Code = "sys_timers_mgr_detail", - IsDeleted = false, - Name = "瀹氭椂浠诲姟璇︽儏", - OpenType = 0, - Permission = "sysTimers:detail", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918770L, - Application = "system", - Code = "sys_timers_mgr_add", - IsDeleted = false, - Name = "瀹氭椂浠诲姟澧炲姞", - OpenType = 0, - Permission = "sysTimers:add", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918771L, - Application = "system", - Code = "sys_timers_mgr_delete", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍒犻櫎", - OpenType = 0, - Permission = "sysTimers:delete", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918772L, - Application = "system", - Code = "sys_timers_mgr_edit", - IsDeleted = false, - Name = "瀹氭椂浠诲姟缂栬緫", - OpenType = 0, - Permission = "sysTimers:edit", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918773L, - Application = "system", - Code = "sys_timers_mgr_get_action_classes", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍙墽琛屽垪琛�", - OpenType = 0, - Permission = "sysTimers:getActionClasses", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918774L, - Application = "system", - Code = "sys_timers_mgr_start", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍚姩", - OpenType = 0, - Permission = "sysTimers:start", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918775L, - Application = "system", - Code = "sys_timers_mgr_stop", - IsDeleted = false, - Name = "瀹氭椂浠诲姟鍏抽棴", - OpenType = 0, - Permission = "sysTimers:stop", - Pid = 142307070918766L, - Pids = "[0],[142307070918765],[142307070918766],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918776L, - Application = "system", - Code = "code_gen", - Component = "PageView", - Icon = "thunderbolt", - IsDeleted = false, - Name = "浠g爜鐢熸垚", - OpenType = 0, - Pid = 0L, - Pids = "[0],", - Router = "/codeGenerate", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918778L, - Application = "system", - Code = "low_code", - Component = "gen/lowCode/index", - IsDeleted = false, - Name = "琛ㄥ崟璁捐", - OpenType = 0, - Pid = 142307070918776L, - Pids = "[0],[142307070918776],", - Router = "/lowCode/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070918779L, - Application = "system", - Code = "code_gen_gen", - Component = "gen/codeGenerate/index", - IsDeleted = false, - Name = "浠g爜鐢熸垚", - OpenType = 0, - Pid = 142307070918776L, - Pids = "[0],[142307070918776],", - Router = "/codeGenerate/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 142307070922870L, - Application = "system", - Code = "form_design", - Component = "system/formDesign/index", - IsDeleted = false, - Name = "琛ㄥ崟璁捐", - OpenType = 0, - Pid = 285599875018821L, - Pids = "[0],[285599875018821],", - Router = "/formDesign/index", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285599875018821L, - Application = "system", - Code = "sys_formDesign", - Component = "PageView", - Icon = "snippets", - IsDeleted = false, - Name = "琛ㄥ崟绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/formDesign", - Sort = 100, - Status = 0, - Type = 0, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285599875018823L, - Application = "system", - Code = "sys_formDesign_list", - Component = "system/formDesign/list", - IsDeleted = false, - Name = "琛ㄥ崟鍒楄〃", - OpenType = 1, - Pid = 285599875018821L, - Pids = "[0],[285599875018821],", - Router = "/formDesign/list", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285635743518789L, - Application = "system", - Code = "sys_formDesign_edit", - Component = "system/formDesign/edit", - IsDeleted = false, - Name = "淇敼琛ㄥ崟", - OpenType = 1, - Pid = 285599875018821L, - Pids = "[0],[285599875018821],", - Router = "/formDesign/edit", - Sort = 100, - Status = 0, - Type = 1, - Visible = "N", - Weight = 1 - }, - new - { - Id = 285640475689029L, - Application = "system", - Code = "btn_formDesign_edit", - Component = "", - IsDeleted = false, - Name = "淇敼琛ㄥ崟", - OpenType = 0, - Permission = "formmanager:edit", - Pid = 285599875018823L, - Pids = "[0],[285599875018821],[285599875018823],", - Router = "", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285640599859269L, - Application = "system", - Code = "btn_formDesign_delete", - Component = "", - IsDeleted = false, - Name = "鍒犻櫎琛ㄥ崟", - OpenType = 0, - Permission = "formmanager:delete", - Pid = 285599875018823L, - Pids = "[0],[285599875018821],[285599875018823],", - Router = "", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 285640740945989L, - Application = "system", - Code = "btn_formDesign_page", - Component = "", - IsDeleted = false, - Name = "琛ㄥ崟鍒楄〃", - OpenType = 0, - Permission = "formmanager:page", - Pid = 285599875018823L, - Pids = "[0],[285599875018821],[285599875018823],", - Router = "", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 1 - }, - new - { - Id = 355687925174341L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr", - Component = "main/WmsContainer/index", - Icon = "border", - IsDeleted = false, - Name = "鎵樼洏淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmscontainer", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925178437L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_page", - IsDeleted = false, - Name = "鎵樼洏淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsContainer:page", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925178438L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_detail", - IsDeleted = false, - Name = "鎵樼洏淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsContainer:detail", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925178439L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_add", - IsDeleted = false, - Name = "鎵樼洏淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsContainer:add", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925182533L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_delete", - IsDeleted = false, - Name = "鎵樼洏淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsContainer:delete", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355687925182534L, - Application = "busiapp", - Code = "Maste_wmscontainer_mgr_edit", - IsDeleted = false, - Name = "鎵樼洏淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsContainer:edit", - Pid = 355687925174341L, - Pids = "[0],[355687924998213],[355687925174341],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792178757L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr", - Component = "main/WmsArea/index", - Icon = "appstore", - IsDeleted = false, - Name = "搴撳尯淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsarea", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792182853L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_page", - IsDeleted = false, - Name = "搴撳尯淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsArea:page", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792182854L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_detail", - IsDeleted = false, - Name = "搴撳尯淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsArea:detail", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792186949L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_add", - IsDeleted = false, - Name = "搴撳尯淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsArea:add", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792186950L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_delete", - IsDeleted = false, - Name = "搴撳尯淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsArea:delete", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355688792186951L, - Application = "busiapp", - Code = "Maste_wmsarea_mgr_edit", - IsDeleted = false, - Name = "搴撳尯淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsArea:edit", - Pid = 355688792178757L, - Pids = "[0],[355688792162373],[355688792178757],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496985669L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr", - Component = "main/WmsPlace/index", - Icon = "table", - IsDeleted = false, - Name = "搴撲綅淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsplace", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496989765L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_page", - IsDeleted = false, - Name = "搴撲綅淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsPlace:page", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993861L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_detail", - IsDeleted = false, - Name = "搴撲綅淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsPlace:detail", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993862L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_add", - IsDeleted = false, - Name = "搴撲綅淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsPlace:add", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993863L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_delete", - IsDeleted = false, - Name = "搴撲綅淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsPlace:delete", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355689496993864L, - Application = "busiapp", - Code = "Maste_wmsplace_mgr_edit", - IsDeleted = false, - Name = "搴撲綅淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsPlace:edit", - Pid = 355689496985669L, - Pids = "[0],[355689496977477],[355689496985669],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042511429L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr", - Component = "main/WmsMaterial/index", - Icon = "barcode", - IsDeleted = false, - Name = "鐗╂枡淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsmaterial", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042515525L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_page", - IsDeleted = false, - Name = "鐗╂枡淇℃伅鏌ヨ", - OpenType = 0, - Permission = "WmsMaterial:page", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519621L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_detail", - IsDeleted = false, - Name = "鐗╂枡淇℃伅璇︽儏", - OpenType = 0, - Permission = "WmsMaterial:detail", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519622L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_add", - IsDeleted = false, - Name = "鐗╂枡淇℃伅澧炲姞", - OpenType = 0, - Permission = "WmsMaterial:add", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519623L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_delete", - IsDeleted = false, - Name = "鐗╂枡淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "WmsMaterial:delete", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690042519624L, - Application = "busiapp", - Code = "Maste_wmsmaterial_mgr_edit", - IsDeleted = false, - Name = "鐗╂枡淇℃伅缂栬緫", - OpenType = 0, - Permission = "WmsMaterial:edit", - Pid = 355690042511429L, - Pids = "[0],[355690042499141],[355690042511429],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355690923847749L, - Application = "warejob", - Code = "BindEntrance", - Component = "main/BindEntrance/index", - Icon = "logout", - IsDeleted = false, - Name = "缁勭洏鍏ュ簱", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/BindEntrance", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355691450822725L, - Application = "warejob", - Code = "ExWarehouse", - Component = "main/ExWarehouse/index", - Icon = "login", - IsDeleted = false, - Name = "鍑哄簱绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/ExWarehouse", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355691891650629L, - Application = "warejob", - Code = "WmsTask", - Component = "main/WmsTask/index", - Icon = "hourglass", - IsDeleted = false, - Name = "浠诲姟绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/WmsTask", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355692253458501L, - Application = "warecount", - Code = "LocationView", - Component = "main/LocationView/index", - Icon = "hdd", - IsDeleted = false, - Name = "搴撲綅瑙嗗浘", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/LocationView", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 355692487622725L, - Application = "warecount", - Code = "View_AccessDetails", - Component = "main/View_AccessDetails/index", - Icon = "laptop", - IsDeleted = false, - Name = "鍑哄叆搴撹褰�", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/View_AccessDetails", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310358700101L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr", - Component = "main/LesProductionline/index", - Icon = "gateway", - IsDeleted = false, - Name = "浜х嚎淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/lesproductionline", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359138373L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_page", - IsDeleted = false, - Name = "浜х嚎淇℃伅鏌ヨ", - OpenType = 0, - Permission = "LesProductionline:page", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359146565L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_detail", - IsDeleted = false, - Name = "浜х嚎淇℃伅璇︽儏", - OpenType = 0, - Permission = "LesProductionline:detail", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359146566L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_add", - IsDeleted = false, - Name = "浜х嚎淇℃伅澧炲姞", - OpenType = 0, - Permission = "LesProductionline:add", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359150661L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_delete", - IsDeleted = false, - Name = "浜х嚎淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "LesProductionline:delete", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383310359154757L, - Application = "busiapp", - Code = "Maste_lesproductionline_mgr_edit", - IsDeleted = false, - Name = "浜х嚎淇℃伅缂栬緫", - OpenType = 0, - Permission = "LesProductionlinel:edit", - Pid = 383310358700101L, - Pids = "[0],[383310357848133],[383310358700101],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866703941L, - Application = "busiapp", - Code = "Maste_lesstation_mgr", - Component = "main/LesStation/index", - Icon = "team", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/lesstation", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866744901L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_page", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅鏌ヨ", - OpenType = 0, - Permission = "LesStation:page", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866748997L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_detail", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅璇︽儏", - OpenType = 0, - Permission = "LesStation:detail", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866753093L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_add", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅澧炲姞", - OpenType = 0, - Permission = "LesStation:add", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866753094L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_delete", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅鍒犻櫎", - OpenType = 0, - Permission = "LesStation:delete", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383311866753095L, - Application = "busiapp", - Code = "Maste_lesstation_mgr_edit", - IsDeleted = false, - Name = "宸ヤ綅淇℃伅缂栬緫", - OpenType = 0, - Permission = "LesStation:edit", - Pid = 383311866703941L, - Pids = "[0],[383311866441797],[383311866703941],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166334533L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr", - Component = "main/LesTakematerials/index", - Icon = "deployment-unit", - IsDeleted = false, - Name = "鍙枡绠$悊", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/lestakematerials", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166449221L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_page", - IsDeleted = false, - Name = "鍙枡鏌ヨ", - OpenType = 0, - Permission = "LesTakematerials:page", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166457413L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_detail", - IsDeleted = false, - Name = "鍙枡璇︽儏", - OpenType = 0, - Permission = "LesTakematerials:detail", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166461509L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_add", - IsDeleted = false, - Name = "鍙枡澧炲姞", - OpenType = 0, - Permission = "LesTakematerials:add", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166461510L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_delete", - IsDeleted = false, - Name = "鍙枡鍒犻櫎", - OpenType = 0, - Permission = "LesTakematerials:delete", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 383328166461511L, - Application = "xbjl", - Code = "Maste_lestakematerials_mgr_edit", - IsDeleted = false, - Name = "鍙枡缂栬緫", - OpenType = 0, - Permission = "LesTakematerials:edit", - Pid = 383328166334533L, - Pids = "[0],[383328165556293],[383328166334533],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902500933L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr", - Component = "main/WmsMaterialStock/index", - Icon = "vertical-left", - IsDeleted = false, - Name = "搴撳瓨淇℃伅", - OpenType = 1, - Pid = 0L, - Pids = "[0],", - Router = "/wmsmaterialstock", - Sort = 100, - Status = 0, - Type = 1, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902545989L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_page", - IsDeleted = false, - Name = "搴撳瓨鏌ヨ", - OpenType = 0, - Permission = "WmsMaterialStock:page", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902550085L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_detail", - IsDeleted = false, - Name = "搴撳瓨璇︽儏", - OpenType = 0, - Permission = "WmsMaterialStock:detail", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902554181L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_add", - IsDeleted = false, - Name = "搴撳瓨澧炲姞", - OpenType = 0, - Permission = "WmsMaterialStock:add", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902558277L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_delete", - IsDeleted = false, - Name = "搴撳瓨鍒犻櫎", - OpenType = 0, - Permission = "WmsMaterialStock:delete", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }, - new - { - Id = 386851902558278L, - Application = "warecount", - Code = "Maste_wmsmaterialstock_mgr_edit", - IsDeleted = false, - Name = "搴撳瓨缂栬緫", - OpenType = 0, - Permission = "WmsMaterialStock:edit", - Pid = 386851902500933L, - Pids = "[0],[386851902124101],[386851902500933],", - Sort = 100, - Status = 0, - Type = 2, - Visible = "Y", - Weight = 2 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysNotice", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CancelTime") - .HasColumnType("datetimeoffset") - .HasComment("鎾ゅ洖鏃堕棿"); - - b.Property<string>("Content") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("鍐呭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long>("PublicOrgId") - .HasColumnType("bigint") - .HasComment("鍙戝竷鏈烘瀯Id"); - - b.Property<string>("PublicOrgName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍙戝竷鏈烘瀯鍚嶇О"); - - b.Property<DateTimeOffset?>("PublicTime") - .HasColumnType("datetimeoffset") - .HasComment("鍙戝竷鏃堕棿"); - - b.Property<long>("PublicUserId") - .HasColumnType("bigint") - .HasComment("鍙戝竷浜篒d"); - - b.Property<string>("PublicUserName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍙戝竷浜哄鍚�"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("Title") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鏍囬"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("绫诲瀷"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_notice"); - - b.HasComment("閫氱煡鍏憡琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysNoticeUser", b => - { - b.Property<long>("NoticeId") - .HasColumnType("bigint") - .HasComment("閫氱煡鍏憡Id"); - - b.Property<long>("UserId") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<int>("ReadStatus") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("ReadTime") - .HasColumnType("datetimeoffset") - .HasComment("闃呰鏃堕棿"); - - b.HasKey("NoticeId", "UserId"); - - b.ToTable("sys_notice_user"); - - b.HasComment("閫氱煡鍏憡鐢ㄦ埛琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysOrg", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<string>("Contacts") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鑱旂郴浜�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("OrgType") - .HasColumnType("nvarchar(max)"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("鐖禝d"); - - b.Property<string>("Pids") - .HasColumnType("nvarchar(max)") - .HasComment("鐖禝ds"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<string>("Tel") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢佃瘽"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_org"); - - b.HasComment("缁勭粐鏈烘瀯琛�"); - - b.HasData( - new - { - Id = 142307070910539L, - Code = "wbgf", - IsDeleted = false, - Name = "浼熸湰鑲′唤鏈夐檺鍏徃", - Pid = 0L, - Pids = "[0],", - Remark = "浼熸湰鑲′唤鏈夐檺鍏徃", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910540L, - Code = "wbgf_sh", - IsDeleted = false, - Name = "浼熸湰鑲′唤鏈夐檺鍏徃(涓婃捣)", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "浼熸湰鑲′唤鏈夐檺鍏徃-涓婃捣", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910541L, - Code = "wbgf_cq", - IsDeleted = false, - Name = "浼熸湰鑲′唤鏈夐檺鍏徃(閲嶅簡)", - Pid = 142307070910539L, - Pids = "[0],[142307070910539],", - Remark = "浼熸湰鑲′唤鏈夐檺鍏徃-閲嶅簡", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910542L, - Code = "wbgf_sh_yfb", - IsDeleted = false, - Name = "鐮斿彂閮�", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910543L, - Code = "wbgf_sh_qhb", - IsDeleted = false, - Name = "浼佸垝閮�", - Pid = 142307070910540L, - Pids = "[0],[142307070910539],[142307070910540],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910544L, - Code = "wbgf_cq_scb", - IsDeleted = false, - Name = "甯傚満閮�", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910545L, - Code = "wbgf_cq_cwb", - IsDeleted = false, - Name = "璐㈠姟閮�", - Pid = 142307070910541L, - Pids = "[0],[142307070910539],[142307070910541],", - Remark = "", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910546L, - Code = "wbgf_cq_scb", - IsDeleted = false, - Name = "甯傚満閮ㄤ簩閮�", - Pid = 142307070910544L, - Pids = "[0],[142307070910539],[142307070910541],[142307070910544],", - Remark = "", - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysPos", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_pos"); - - b.HasComment("鑱屼綅琛�"); - - b.HasData( - new - { - Id = 142307070910547L, - Code = "zjl", - IsDeleted = false, - Name = "鎬荤粡鐞�", - Remark = "鎬荤粡鐞�", - Sort = 100, - Status = 0 - }, - new - { - Id = 142307070910548L, - Code = "fzjl", - IsDeleted = false, - Name = "鍓�荤粡鐞�", - Remark = "鍓�荤粡鐞�", - Sort = 101, - Status = 0 - }, - new - { - Id = 142307070910549L, - Code = "bmjl", - IsDeleted = false, - Name = "閮ㄩ棬缁忕悊", - Remark = "閮ㄩ棬缁忕悊", - Sort = 102, - Status = 0 - }, - new - { - Id = 142307070910550L, - Code = "gzry", - IsDeleted = false, - Name = "宸ヤ綔浜哄憳", - Remark = "宸ヤ綔浜哄憳", - Sort = 103, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRole", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DataScopeType") - .HasColumnType("int") - .HasComment("鏁版嵁鑼冨洿绫诲瀷"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("RoleType") - .HasColumnType("int") - .HasComment("瑙掕壊绫诲瀷-闆嗗洟瑙掕壊_0銆佸姞鐩熷晢瑙掕壊_1銆侀棬搴楄鑹瞋2"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_role"); - - b.HasComment("瑙掕壊琛�"); - - b.HasData( - new - { - Id = 142307070910554L, - Code = "sys_manager_role", - DataScopeType = 1, - IsDeleted = false, - Name = "绯荤粺绠$悊鍛�", - Remark = "绯荤粺绠$悊鍛�", - RoleType = 0, - Sort = 100, - Status = 0 - }, - new - { - Id = 356094617575493L, - Code = "admin", - DataScopeType = 1, - IsDeleted = false, - Name = "绠$悊鍛�", - Remark = "", - RoleType = 0, - Sort = 100, - Status = 0 - }, - new - { - Id = 358509609758789L, - Code = "ware", - DataScopeType = 1, - IsDeleted = false, - Name = "浠撳簱鐢ㄦ埛", - Remark = "", - RoleType = 0, - Sort = 100, - Status = 0 - }, - new - { - Id = 358536344862789L, - Code = "iWare", - DataScopeType = 5, - IsDeleted = false, - Name = "鐮斿彂鐢ㄦ埛", - Remark = "", - RoleType = 0, - Sort = 100, - Status = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleDataScope", b => - { - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.Property<long>("SysOrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.HasKey("SysRoleId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_role_data_scope"); - - b.HasComment("瑙掕壊鏁版嵁鑼冨洿琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleMenu", b => - { - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.Property<long>("SysMenuId") - .HasColumnType("bigint") - .HasComment("鑿滃崟Id"); - - b.HasKey("SysRoleId", "SysMenuId"); - - b.HasIndex("SysMenuId"); - - b.ToTable("sys_role_menu"); - - b.HasComment("瑙掕壊鑿滃崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysTimer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Cron") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("Cron琛ㄨ揪寮�"); - - b.Property<bool>("DoOnce") - .HasColumnType("bit") - .HasComment("鍙墽琛屼竴娆�"); - - b.Property<int>("ExecuteType") - .HasColumnType("int") - .HasComment("鎵ц绫诲瀷"); - - b.Property<string>("Headers") - .HasColumnType("nvarchar(max)") - .HasComment("Headers"); - - b.Property<int?>("Interval") - .HasColumnType("int") - .HasComment("闂撮殧鏃堕棿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("JobName") - .IsRequired() - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浠诲姟鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<string>("RequestParameters") - .HasColumnType("nvarchar(max)") - .HasComment("璇锋眰鍙傛暟"); - - b.Property<int>("RequestType") - .HasColumnType("int") - .HasComment("璇锋眰绫诲瀷"); - - b.Property<string>("RequestUrl") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("璇锋眰url"); - - b.Property<bool>("StartNow") - .HasColumnType("bit") - .HasComment("绔嬪嵆鎵ц"); - - b.Property<int>("TimerType") - .HasColumnType("int") - .HasComment("瀹氭椂鍣ㄧ被鍨�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_timer"); - - b.HasComment("瀹氭椂浠诲姟琛�"); - - b.HasData( - new - { - Id = 142307070910556L, - DoOnce = false, - ExecuteType = 1, - Interval = 5, - IsDeleted = false, - JobName = "鐧惧害api", - Remark = "鎺ュ彛API", - RequestType = 2, - RequestUrl = "https://www.baidu.com", - StartNow = false, - TimerType = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUser", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Account") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璐﹀彿"); - - b.Property<int>("AdminType") - .HasColumnType("int") - .HasComment("绠$悊鍛樼被鍨�-瓒呯骇绠$悊鍛榑1銆佺鐞嗗憳_2銆佹櫘閫氳处鍙穇3"); - - b.Property<string>("Avatar") - .HasColumnType("nvarchar(max)") - .HasComment("澶村儚"); - - b.Property<DateTimeOffset?>("Birthday") - .HasColumnType("datetimeoffset") - .HasComment("鐢熸棩"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Email") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("閭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("LastLoginIp") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鏈�鍚庣櫥褰旾P"); - - b.Property<DateTimeOffset?>("LastLoginTime") - .HasColumnType("datetimeoffset") - .HasComment("鏈�鍚庣櫥褰曟椂闂�"); - - b.Property<string>("Name") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("濮撳悕"); - - b.Property<string>("NickName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鏄电О"); - - b.Property<string>("Password") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀵嗙爜"); - - b.Property<string>("Phone") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鎵嬫満"); - - b.Property<long>("ProductionlineId") - .HasColumnType("bigint"); - - b.Property<int>("Sex") - .HasColumnType("int") - .HasComment("鎬у埆-鐢穇1銆佸コ_2"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��-姝e父_0銆佸仠鐢╛1銆佸垹闄2"); - - b.Property<string>("Tel") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢佃瘽"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int"); - - b.HasKey("Id"); - - b.ToTable("sys_user"); - - b.HasComment("鐢ㄦ埛琛�"); - - b.HasData( - new - { - Id = 142307070910551L, - Account = "superAdmin", - AdminType = 1, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "瓒呯骇绠$悊鍛�", - NickName = "superAdmin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }, - new - { - Id = 142307070910552L, - Account = "admin", - AdminType = 2, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "绯荤粺绠$悊鍛�", - NickName = "admin", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "18020030720", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }, - new - { - Id = 358533464608837L, - Account = "warehouse", - AdminType = 3, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "浠撳簱鐢ㄦ埛", - NickName = "warehouse", - Password = "e10adc3949ba59abbe56e057f20f883e", - Phone = "13869156666", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }, - new - { - Id = 358536045723717L, - Account = "admin1", - AdminType = 3, - Birthday = new DateTimeOffset(new DateTime(1986, 7, 26, 0, 0, 0, 0, DateTimeKind.Unspecified), new TimeSpan(0, 8, 0, 0, 0)), - IsDeleted = false, - Name = "鐮斿彂閮�", - NickName = "admin1", - Password = "f379eaf3c831b04de153469d1bec345e", - Phone = "13869156666", - ProductionlineId = 0L, - Sex = 1, - Status = 0, - WorkShopType = 0 - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserDataScope", b => - { - b.Property<long>("SysUserId") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<long>("SysOrgId") - .HasColumnType("bigint") - .HasComment("鏈烘瀯Id"); - - b.HasKey("SysUserId", "SysOrgId"); - - b.HasIndex("SysOrgId"); - - b.ToTable("sys_user_data_scope"); - - b.HasComment("鐢ㄦ埛鏁版嵁鑼冨洿琛�"); - - b.HasData( - new - { - SysUserId = 142307070910551L, - SysOrgId = 142307070910540L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserRole", b => - { - b.Property<long>("SysUserId") - .HasColumnType("bigint") - .HasComment("鐢ㄦ埛Id"); - - b.Property<long>("SysRoleId") - .HasColumnType("bigint") - .HasComment("瑙掕壊Id"); - - b.HasKey("SysUserId", "SysRoleId"); - - b.HasIndex("SysRoleId"); - - b.ToTable("sys_user_role"); - - b.HasComment("鐢ㄦ埛瑙掕壊琛�"); - - b.HasData( - new - { - SysUserId = 142307070910552L, - SysRoleId = 142307070910554L - }); - }); - - modelBuilder.Entity("Admin.NET.Core.TestStudent", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Age") - .HasColumnType("int") - .HasComment("瀛︾敓骞撮緞"); - - b.Property<DateTime>("BrithDate") - .HasColumnType("datetime2") - .HasComment("鍑虹敓鏃ユ湡"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("Gender") - .HasColumnType("int") - .HasComment("鎬у埆"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("瀛︾敓濮撳悕"); - - b.Property<bool>("StartName") - .HasMaxLength(50) - .HasColumnType("bit") - .HasComment("鏄惁鍦ㄦ牎"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("test_students"); - - b.HasComment("瀛︾敓淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.TestStudent2", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Age") - .HasColumnType("int") - .HasComment("瀛︾敓骞撮緞"); - - b.Property<DateTime>("BrithDate") - .HasColumnType("datetime2") - .HasComment("鍑虹敓鏃ユ湡"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("Gender") - .HasColumnType("int") - .HasComment("鎬у埆"); - - b.Property<decimal>("HasMoney") - .HasColumnType("decimal(10,3)") - .HasColumnName("HasMoney") - .HasComment("闆惰姳閽�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("瀛︾敓濮撳悕"); - - b.Property<bool>("StartName") - .HasMaxLength(50) - .HasColumnType("bit") - .HasComment("鏄惁鍦ㄦ牎"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("test_students2"); - - b.HasComment("瀛︾敓淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.TestStudent3", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Age") - .HasColumnType("int") - .HasComment("瀛︾敓骞撮緞"); - - b.Property<DateTime>("BrithDate") - .HasColumnType("datetime2") - .HasComment("鍑虹敓鏃ユ湡"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("Gender") - .HasColumnType("int") - .HasComment("鎬у埆"); - - b.Property<decimal>("HasMoney") - .HasColumnType("decimal(10,3)") - .HasColumnName("HasMoney") - .HasComment("闆惰姳閽�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .HasMaxLength(10) - .HasColumnType("nvarchar(10)") - .HasComment("瀛︾敓濮撳悕"); - - b.Property<bool>("StartName") - .HasMaxLength(50) - .HasColumnType("bit") - .HasComment("鏄惁鍦ㄦ牎"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("test_students3"); - - b.HasComment("瀛︾敓淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsArea", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AreaDesc") - .HasMaxLength(250) - .HasColumnType("nvarchar(250)") - .HasComment("鎻忚堪"); - - b.Property<string>("AreaName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍚嶇О"); - - b.Property<int>("AreaStatus") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<int>("AreaType") - .HasColumnType("int") - .HasComment("鍒嗙被"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("IsSteel") - .HasColumnType("bit") - .HasComment("鏄惁涓洪挗骞冲彴"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("wms_area"); - - b.HasComment("搴撳尯琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsContainer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AssetNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧勪骇缂栧彿"); - - b.Property<int>("ContainerCategory") - .HasColumnType("int") - .HasComment("鎵樼洏鍒嗙被"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栧彿"); - - b.Property<int>("ContainerStatus") - .HasColumnType("int") - .HasComment("鎵樼洏鐘舵��"); - - b.Property<int>("ContainerType") - .HasColumnType("int") - .HasComment("绫诲瀷"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("ErpNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("Erp鍗曞彿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("IsVirtually") - .HasColumnType("int") - .HasComment("鏄惁铏氭嫙"); - - b.Property<decimal>("LimitHeight") - .HasColumnType("decimal(18,2)") - .HasComment("闄愰珮"); - - b.Property<decimal>("LimitLength") - .HasColumnType("decimal(18,2)") - .HasComment("闄愰暱"); - - b.Property<decimal>("LimitWidth") - .HasColumnType("decimal(18,2)") - .HasComment("闄愬"); - - b.Property<decimal>("MaxWeight") - .HasColumnType("decimal(18,2)") - .HasComment("杞介噸涓婇檺"); - - b.Property<long>("ParentContainerId") - .HasColumnType("bigint") - .HasComment("鐖舵墭鐩業d"); - - b.Property<decimal>("SpecHeight") - .HasColumnType("decimal(18,2)") - .HasComment("楂樺害"); - - b.Property<decimal>("SpecLength") - .HasColumnType("decimal(18,2)") - .HasComment("闀垮害"); - - b.Property<decimal>("SpecWidth") - .HasColumnType("decimal(18,2)") - .HasComment("瀹藉害"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("wms_container"); - - b.HasComment("鎵樼洏淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsContainerPlace", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<int>("ContainerPlaceStatus") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("PlaceCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<long>("PlaceId") - .HasColumnType("bigint") - .HasComment("搴撲綅Id"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_containerplace"); - - b.HasComment("鎵樼洏搴撲綅鍏崇郴琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Creator") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒涘缓浜�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_dumporder"); - - b.HasComment("杞偍鍗�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_SCM") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("SCM鎵规鍙�"); - - b.Property<string>("Batchno_WMS") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("WMS鎵规鍙�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<decimal>("Length") - .HasColumnType("decimal(18,2)") - .HasComment("闀垮害"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("搴撳瓨椤圭洰缂栫爜"); - - b.Property<string>("Projectcode_To") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏂板簱瀛橀」鐩紪鐮�"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_dumporder_details"); - - b.HasComment("杞偍鍗曟槑缁�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃鍚嶇О"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("GoodsReturnStatus") - .HasColumnType("int") - .HasComment("閫�璐х姸鎬�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Vendorcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗙紪鐮�"); - - b.Property<string>("Vendorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗗悕绉�"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.Property<string>("WarehouseKeepername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撶鍛�"); - - b.HasKey("Id"); - - b.ToTable("wms_goodsreturnorder"); - - b.HasComment("閫�璐у崟"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_WMS") - .HasColumnType("nvarchar(max)") - .HasComment("鎵规鍙�"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("CustomsNum") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧鏁伴噺"); - - b.Property<decimal>("CustomsPrices") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧閲戦"); - - b.Property<string>("CustomsUnitName") - .HasColumnType("nvarchar(max)") - .HasComment("鎶ュ叧鍗曚綅"); - - b.Property<string>("DeclarationCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曞彿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("ItemNo") - .HasColumnType("nvarchar(max)") - .HasComment("鎶ュ叧椤瑰彿"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<decimal>("Price") - .HasColumnType("decimal(18,2)") - .HasComment("涓嶅惈绋庡崟浠�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<int>("ReceivingStatus") - .HasColumnType("int") - .HasComment("閫�璐х姸鎬�"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("StoreRoomname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撻棿"); - - b.Property<decimal>("SumPrice") - .HasColumnType("decimal(18,2)") - .HasComment("鎴愭湰閲戦"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<decimal>("TheoreticalWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鐞嗚閲嶉噺"); - - b.Property<string>("TradeName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍝佸悕"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_goodsreturnorder_details"); - - b.HasComment("閫�璐у崟鎹槑缁嗚〃"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsHistoryMaterialContainer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<decimal>("BindQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("缁勭洏鏁伴噺"); - - b.Property<int>("BindStatus") - .HasColumnType("int") - .HasComment("缁勭洏鐘舵��"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MaterialBatch") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<long>("MaterialId") - .HasColumnType("bigint") - .HasComment("鐗╂枡Id"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<string>("OrderNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍗曞彿"); - - b.Property<decimal>("SampleQty") - .HasColumnType("decimal(18,2)") - .HasComment("鎶芥鏁伴噺"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("MaterialId"); - - b.ToTable("wms_history_materialcontainer"); - - b.HasComment("鐗╂枡鎵樼洏鍘嗗彶琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterial", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AreaIds") - .HasColumnType("nvarchar(max)") - .HasComment("搴撳尯Ids"); - - b.Property<string>("AreaNameParameter") - .HasColumnType("nvarchar(max)") - .HasComment("搴撳尯鍙傛暟"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Description") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("鎻忚堪"); - - b.Property<int>("InspectionMethod") - .HasColumnType("int") - .HasComment("鐗╂枡妫�楠�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MaterialBatch") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<int>("MaterialType") - .HasColumnType("int") - .HasComment("鐗╂枡绫诲埆"); - - b.Property<string>("MaterialUnit") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍗曚綅"); - - b.Property<decimal>("MaxImumqty") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�澶у瓨閲�"); - - b.Property<decimal>("MaxstorageAge") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�澶у簱榫�"); - - b.Property<decimal>("MinstorageAge") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�灏忓簱榫�"); - - b.Property<decimal>("Safeqty") - .HasColumnType("decimal(18,2)") - .HasComment("瀹夊叏瀛橀噺"); - - b.Property<string>("StationIds") - .HasColumnType("nvarchar(max)") - .HasComment("宸ヤ綔鍖篒ds"); - - b.Property<string>("StationNameParameter") - .HasColumnType("nvarchar(max)") - .HasComment("宸ヤ綔鍖哄弬鏁�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_material"); - - b.HasComment("鐗╂枡淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterialContainer", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<decimal>("BindQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("缁勭洏鏁伴噺"); - - b.Property<int>("BindStatus") - .HasColumnType("int") - .HasComment("缁勭洏鐘舵��"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MaterialBatch") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<long>("MaterialId") - .HasColumnType("bigint") - .HasComment("鐗╂枡Id"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<long>("OrderDetailsId") - .HasColumnType("bigint") - .HasComment("鍗曟嵁鏄庣粏Id"); - - b.Property<string>("OrderNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍗曞彿"); - - b.Property<decimal>("SampleQty") - .HasColumnType("decimal(18,2)") - .HasComment("鎶芥鏁伴噺"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<long?>("WmsContainerId") - .HasColumnType("bigint"); - - b.HasKey("Id"); - - b.HasIndex("MaterialId"); - - b.HasIndex("WmsContainerId"); - - b.ToTable("wms_materialcontainer"); - - b.HasComment("鐗╂枡鎵樼洏鍏崇郴琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterialStock", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<long>("AreaId") - .HasColumnType("bigint") - .HasComment("搴撳尯Id"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<long>("ContainerId") - .HasColumnType("bigint") - .HasComment("鎵樼洏Id"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("High") - .HasColumnType("int") - .HasComment("楂�"); - - b.Property<int>("InspectionMethod") - .HasColumnType("int") - .HasComment("妫�楠屾柟寮�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("Long") - .HasColumnType("int") - .HasComment("闀�"); - - b.Property<string>("MaterialBatch") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鎵规"); - - b.Property<string>("MaterialDensity") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瀵嗗害"); - - b.Property<string>("MaterialName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<string>("MaterialNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("MaterialSpec") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐗╂枡瑙勬牸"); - - b.Property<int>("MaterialType") - .HasColumnType("int") - .HasComment("鐗╂枡绫诲埆"); - - b.Property<string>("PlaceCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("QuantityOfBill") - .HasColumnType("decimal(18,2)") - .HasComment("璐﹂潰鏁伴噺"); - - b.Property<int>("Source") - .HasColumnType("int") - .HasComment("鍏ュ簱鏉ユ簮"); - - b.Property<decimal>("StockNumber") - .HasColumnType("decimal(18,2)") - .HasComment("瀹炵墿搴撳瓨鏁�"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<int>("UnitNo") - .HasColumnType("int") - .HasComment("鍗曚綅缂栧彿"); - - b.Property<int>("UnitType") - .HasColumnType("int") - .HasComment("鍗曚綅绫诲埆"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("Wide") - .HasColumnType("int") - .HasComment("瀹�"); - - b.HasKey("Id"); - - b.ToTable("wms_materialstock"); - - b.HasComment("搴撳瓨琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMerchantinfo", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MerchantAddress") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鍦板潃"); - - b.Property<string>("MerchantAttribute") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢灞炴��"); - - b.Property<string>("MerchantContact") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鑱旂郴浜�"); - - b.Property<string>("MerchantEmail") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢閭"); - - b.Property<string>("MerchantFax") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢浼犵湡"); - - b.Property<int>("MerchantGrade") - .HasColumnType("int") - .HasComment("瀹㈠晢绛夌骇"); - - b.Property<string>("MerchantName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鍚嶇О"); - - b.Property<string>("MerchantNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢缂栧彿"); - - b.Property<string>("MerchantPhone") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢鐢佃瘽"); - - b.Property<string>("MerchantShort") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢绠�绉�"); - - b.Property<string>("MerchantTmt") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹㈠晢琛屼笟"); - - b.Property<int>("MerchantType") - .HasColumnType("int") - .HasComment("瀹㈠晢鍒嗙被"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_merchantinfo"); - - b.HasComment("瀹㈠晢淇℃伅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃鍚嶇О"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DeclarationCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曞彿"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Majorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("涓撲笟"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<string>("Remarks") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("澶囨敞"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<string>("SourceBillNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("閫佽揣閫氱煡鍗曞彿"); - - b.Property<string>("StoreRoomname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撻棿"); - - b.Property<int>("TradeMode") - .HasColumnType("int") - .HasComment("璐告槗鏂瑰紡"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Vendorcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗙紪鐮�"); - - b.Property<string>("Vendorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗗悕绉�"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.Property<string>("WarehouseKeepername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撶鍛�"); - - b.HasKey("Id"); - - b.ToTable("wms_order"); - - b.HasComment("鍗曟嵁琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("CustomsNum") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧鏁伴噺"); - - b.Property<decimal>("CustomsPrices") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧閲戦"); - - b.Property<string>("CustomsUnitName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曚綅"); - - b.Property<int>("InspectionResults") - .HasColumnType("int") - .HasComment("妫�楠岀粨鏋�"); - - b.Property<decimal>("InventoryQty") - .HasColumnType("decimal(18,2)") - .HasComment("鍏ュ簱鏁伴噺"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("ItemNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧椤瑰彿"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<string>("PlaceCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<decimal>("Price") - .HasColumnType("decimal(18,2)") - .HasComment("涓嶅惈绋庡崟浠�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("SpecialNeeds") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗规畩瑕佹眰"); - - b.Property<decimal>("SumPrice") - .HasColumnType("decimal(18,2)") - .HasComment("鎴愭湰閲戦"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<decimal>("TheoreticalWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鐞嗚閲嶉噺"); - - b.Property<string>("TradeName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍝佸悕"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_order_details"); - - b.HasComment("鍗曟嵁鏄庣粏琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrderType", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("LesWorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<long>("Pid") - .HasColumnType("bigint") - .HasComment("鐖禝d"); - - b.Property<string>("Pids") - .HasColumnType("nvarchar(max)") - .HasComment("鐖禝ds"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Sort") - .HasColumnType("int") - .HasComment("鎺掑簭"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_order_type"); - - b.HasComment("鍗曟嵁绫诲瀷缁存姢琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPdaPower", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Clolor") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("棰滆壊"); - - b.Property<string>("Code") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Icon") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍥炬爣"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Name") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("鍚嶇О"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<int>("WorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.HasKey("Id"); - - b.ToTable("wms_pdapower"); - - b.HasComment("PDA鑿滃崟琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPlace", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AgvCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅瀵瑰簲AGV缂栫爜"); - - b.Property<int>("Aisle") - .HasColumnType("int") - .HasComment("宸烽亾"); - - b.Property<long>("AreaId") - .HasColumnType("bigint") - .HasComment("鎵�鍦ㄥ簱鍖�"); - - b.Property<int>("ColumnNo") - .HasColumnType("int") - .HasComment("鍒�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<int>("DeepcellNo") - .HasColumnType("int") - .HasComment("杩涙繁鍙�"); - - b.Property<int>("EmptyContainer") - .HasColumnType("int") - .HasComment("鏄惁绌烘墭"); - - b.Property<decimal>("Height") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅楂樺害"); - - b.Property<int>("HeightLevel") - .HasColumnType("int") - .HasComment("搴撲綅楂樺害灞炴��"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("Islock") - .HasColumnType("int") - .HasComment("鏄惁閿佸畾"); - - b.Property<int>("LayerNo") - .HasColumnType("int") - .HasComment("灞�"); - - b.Property<decimal>("Length") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅闀垮害"); - - b.Property<int>("Line") - .HasColumnType("int") - .HasComment("绾垮彿"); - - b.Property<int>("LogicalName") - .HasColumnType("int") - .HasComment("閫昏緫鍖哄煙"); - - b.Property<decimal>("MaxWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鏈�澶ф壙閲�"); - - b.Property<string>("PlaceCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<int>("PlaceStatus") - .HasColumnType("int") - .HasComment("搴撲綅鐘舵��"); - - b.Property<string>("PositionnoForSrm") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍫嗗灈鏈哄唴閮ㄧ殑浣嶇疆"); - - b.Property<int>("Priority") - .HasColumnType("int") - .HasComment("浼樺厛绾�"); - - b.Property<int>("RowNo") - .HasColumnType("int") - .HasComment("鎺�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<decimal>("Width") - .HasColumnType("decimal(18,2)") - .HasComment("搴撲綅瀹藉害"); - - b.Property<string>("Xzb") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅X鍧愭爣"); - - b.Property<string>("Yzb") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅Y鍧愭爣"); - - b.Property<string>("Zzb") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅Z鍧愭爣"); - - b.HasKey("Id"); - - b.HasIndex("AreaId"); - - b.ToTable("wms_place"); - - b.HasComment("搴撲綅琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃ユ湡"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃鍚嶇О"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DeclarationCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曞彿"); - - b.Property<int>("InspectionStatus") - .HasColumnType("int") - .HasComment("鎶ユ鐘舵��"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Majorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("涓撲笟"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<int>("ReceivingStatus") - .HasColumnType("int") - .HasComment("鏀惰揣鐘舵��"); - - b.Property<string>("Remarks") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("澶囨敞"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<string>("SourceBillNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("閫佽揣閫氱煡鍗曞彿"); - - b.Property<string>("StoreRoomname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撻棿"); - - b.Property<int>("TradeMode") - .HasColumnType("int") - .HasComment("璐告槗鏂瑰紡"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("Vendorcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗙紪鐮�"); - - b.Property<string>("Vendorname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("渚涘簲鍟嗗悕绉�"); - - b.Property<string>("WMSNO") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("WMS鏀惰揣鍗曞彿"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.Property<string>("WarehouseKeepername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撶鍛�"); - - b.HasKey("Id"); - - b.ToTable("wms_receiptorder"); - - b.HasComment("鏀惰揣鍗�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<string>("ContractCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍚堝悓缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("CustomsNum") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧鏁伴噺"); - - b.Property<decimal>("CustomsPrices") - .HasColumnType("decimal(18,2)") - .HasComment("鎶ュ叧閲戦"); - - b.Property<string>("CustomsUnitName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍗曚綅"); - - b.Property<decimal>("DeliveryQty") - .HasMaxLength(50) - .HasColumnType("decimal(18,2)") - .HasComment("閫佽揣鏁伴噺"); - - b.Property<int>("InspectionResultsEnum") - .HasColumnType("int") - .HasComment("鎶ユ缁撴灉"); - - b.Property<int>("InspectionStatus") - .HasColumnType("int") - .HasComment("鎶ユ鐘舵��"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("ItemNo") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧椤瑰彿"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<string>("PlaceCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<decimal>("Price") - .HasColumnType("decimal(18,2)") - .HasComment("涓嶅惈绋庡崟浠�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<decimal>("ReceivedQty") - .HasMaxLength(50) - .HasColumnType("decimal(18,2)") - .HasComment("鏀惰揣鏁伴噺"); - - b.Property<int>("ReceivingStatus") - .HasColumnType("int") - .HasComment("鏀惰揣鐘舵��"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("SpecialNeeds") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗规畩瑕佹眰"); - - b.Property<decimal>("SumPrice") - .HasColumnType("decimal(18,2)") - .HasComment("鎴愭湰閲戦"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<decimal>("TheoreticalWeight") - .HasColumnType("decimal(18,2)") - .HasComment("鐞嗚閲嶉噺"); - - b.Property<string>("TradeName") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鎶ュ叧鍝佸悕"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_receiptorder_details"); - - b.HasComment("鏀惰揣鍗曟嵁鏄庣粏琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsSortOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<decimal>("ActualQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("瀹為檯鍒嗘嫞鏁�"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("瀹瑰櫒缂栧彿"); - - b.Property<string>("ContainerOrderNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒嗘嫞缁勭洏鍗曞彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<long>("OrderDetailID") - .HasColumnType("bigint"); - - b.Property<string>("OrderNo") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鏉ユ簮鍗曞彿"); - - b.Property<string>("PartCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒嗘鍙�"); - - b.Property<string>("PlaceCode") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<string>("Remarks") - .HasMaxLength(500) - .HasColumnType("nvarchar(500)") - .HasComment("澶囨敞"); - - b.Property<decimal>("SortQuantity") - .HasColumnType("decimal(18,2)") - .HasComment("鍒嗘嫞鏁�"); - - b.Property<int>("SortStatus") - .HasColumnType("int") - .HasComment("鐘舵��-鏈垎鎷1銆佸垎鎷e畬鎴恄2"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_sortorder"); - - b.HasComment("鍒嗘嫞琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("BenefitingDepartcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗘枡閮ㄩ棬"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("閫�鏂欑敵璇锋棩鏈�"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃"); - - b.Property<string>("ConstructionTeamID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏂藉伐闃�"); - - b.Property<string>("CostCenterID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏀剁泭閮ㄩ棬"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FI_Client_Analysis_H") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("瀹㈡埛"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("MoveType") - .HasColumnType("int") - .HasComment("浜嬪姟绫诲瀷"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<string>("PickerID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗗彇浜�"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("WBSElementcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗙敤椤圭洰鍙�"); - - b.HasKey("Id"); - - b.ToTable("wms_stockreturn_order"); - - b.HasComment("閫�鏂欏叆搴撳崟"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrderDetails", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_SCM") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("SCM鎵规鍙�"); - - b.Property<string>("Batchno_WMS") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("WMS鎵规鍙�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<decimal>("Length") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<decimal>("Number") - .HasColumnType("decimal(18,2)") - .HasComment("浠舵暟"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鏄庣粏鍞竴璇嗗埆鐮�"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<string>("PartCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒嗘鍙�"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_stockreturn_order_details"); - - b.HasComment("閫�鏂欏叆搴撳崟璇︽儏"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrder", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("BenefitingDepartcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗘枡閮ㄩ棬"); - - b.Property<DateTimeOffset?>("Billdate") - .HasColumnType("datetimeoffset") - .HasComment("棰嗘枡鍗曠敵璇锋棩鏈�"); - - b.Property<string>("Companyname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍏徃"); - - b.Property<string>("ConstructionTeamID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鏂藉伐闃�"); - - b.Property<string>("CostCenterID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍙楃泭閮ㄩ棬"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("FI_Client_Analysis_H") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("瀹㈡埛"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<long>("IsInnerCompany") - .HasColumnType("bigint") - .HasComment("鏄惁鍏徃闂翠氦鏄�"); - - b.Property<string>("MoveType") - .HasColumnType("nvarchar(max)") - .HasComment("浜嬪姟绫诲瀷"); - - b.Property<string>("NO") - .IsRequired() - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍗曟嵁缂栧彿"); - - b.Property<long>("OrderLargeCategory") - .HasColumnType("bigint") - .HasComment("鍗曟嵁澶х被"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<long>("OrderSubclass") - .HasColumnType("bigint") - .HasComment("鍗曟嵁灏忕被"); - - b.Property<string>("PickerID") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗘枡浜�"); - - b.Property<long>("SOID") - .HasColumnType("bigint") - .HasComment("涓婁綅绯荤粺鍗曟嵁鍞竴璇嗗埆鐮�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<string>("WBSElementcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("棰嗙敤椤圭洰鍙�"); - - b.Property<string>("WarehouseCentername") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("浠撳偍涓績"); - - b.HasKey("Id"); - - b.ToTable("wms_takematerialorder"); - - b.HasComment("棰嗘枡鍗�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrderDetail", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("Batchno_SCM") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("SCM鎵规鍙�"); - - b.Property<string>("Batchno_WMS") - .HasColumnType("nvarchar(max)") - .HasComment("WMS鎵规鍙�"); - - b.Property<string>("ContainerCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<decimal>("DistributeQty") - .HasColumnType("decimal(18,2)") - .HasComment("涓嬪彂鏁伴噺"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("Materialcode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡缂栧彿"); - - b.Property<string>("Materialname") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鐗╂枡鍚嶇О"); - - b.Property<decimal>("Number") - .HasColumnType("decimal(18,2)") - .HasComment("浠舵暟"); - - b.Property<long>("OID") - .HasColumnType("bigint") - .HasComment("SCM棰嗘枡鐢宠鍗曟槑缁嗚鍞竴鏍囪瘑"); - - b.Property<long>("OrderId") - .HasMaxLength(50) - .HasColumnType("bigint") - .HasComment("鍗曟嵁Id"); - - b.Property<int>("OrderStatus") - .HasColumnType("int") - .HasComment("鍗曟嵁鐘舵��"); - - b.Property<string>("PartCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍒嗘鍙�"); - - b.Property<string>("PlaceCode") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撲綅缂栫爜"); - - b.Property<string>("ProjectCode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("椤圭洰缂栧彿"); - - b.Property<decimal>("Qty") - .HasColumnType("decimal(18,2)") - .HasComment("鏁伴噺"); - - b.Property<decimal>("SingleLength") - .HasColumnType("decimal(18,2)") - .HasComment("鍗曟牴闀垮害"); - - b.Property<string>("TACode") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("TA鍙�"); - - b.Property<string>("Unit") - .HasMaxLength(255) - .HasColumnType("nvarchar(255)") - .HasComment("鍩烘湰鍗曚綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.HasIndex("OrderId"); - - b.ToTable("wms_takematerial_orderdetail"); - - b.HasComment("鍗曟嵁鏄庣粏琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTask", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("Aisle") - .HasColumnType("int") - .HasComment("宸烽亾"); - - b.Property<string>("AreaName") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("搴撳尯鍚嶇О"); - - b.Property<string>("ContainerCode") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鎵樼洏缂栧彿"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("Description") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍏ュ簱鏉ユ簮"); - - b.Property<int>("DodeviceId") - .HasColumnType("int") - .HasComment("浠诲姟鎵ц鍫嗗灈鏈篒d"); - - b.Property<string>("DodevicenodeId") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璁惧鎵ц鑺傜偣Id"); - - b.Property<int>("Dodevicetype") - .HasMaxLength(50) - .HasColumnType("int") - .HasComment("璁惧绫诲瀷"); - - b.Property<int>("EmptyContainer") - .HasColumnType("int") - .HasComment("鏄惁绌烘墭"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool>("IsRead") - .HasColumnType("bit") - .HasComment("WCS鏄惁鍙互璇诲彇"); - - b.Property<long>("OrderDetailsId") - .HasColumnType("bigint") - .HasComment("鍗曟嵁鏄庣粏Id"); - - b.Property<string>("OrderNo") - .IsRequired() - .HasColumnType("nvarchar(max)") - .HasComment("缁勭洏璁板綍鍗曟嵁鍙�"); - - b.Property<int>("SendTimes") - .HasColumnType("int") - .HasComment("鍙戦�佹鏁�"); - - b.Property<string>("SourcePlace") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("璧峰搴撲綅"); - - b.Property<int>("TaskDodeviceStatus") - .HasColumnType("int") - .HasComment("浠诲姟璁惧鐘舵��"); - - b.Property<int>("TaskLevel") - .HasColumnType("int") - .HasComment("浠诲姟绾у埆"); - - b.Property<int>("TaskModel") - .HasColumnType("int") - .HasComment("浠诲姟鏂瑰紡"); - - b.Property<string>("TaskNo") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("浠诲姟鍙�"); - - b.Property<int>("TaskStatus") - .HasColumnType("int") - .HasComment("浠诲姟鐘舵��"); - - b.Property<int>("TaskType") - .HasColumnType("int") - .HasComment("浠诲姟绫诲瀷"); - - b.Property<string>("ToPlace") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鐩爣搴撲綅"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_task"); - - b.HasComment("浠诲姟绠$悊琛�"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsWarehouseEntrance", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<int>("AffiliatedRoadway") - .HasColumnType("int") - .HasComment("鎵�灞炲贩閬�"); - - b.Property<string>("Code") - .IsRequired() - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("缂栫爜"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<int>("LesWorkShopType") - .HasColumnType("int") - .HasComment("鎵�灞炶溅闂�"); - - b.Property<string>("Name") - .IsRequired() - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍚嶇О"); - - b.Property<string>("Remark") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("澶囨敞"); - - b.Property<int>("Status") - .HasColumnType("int") - .HasComment("鐘舵��"); - - b.Property<int>("Type") - .HasColumnType("int") - .HasComment("绫诲瀷-1.鍏ュ簱鍙2.鍑哄簱鍙�"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("wms_warehouse_entrance"); - - b.HasComment("搴撳彛琛�"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCode", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AuthorName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浣滆�呭鍚�"); - - b.Property<string>("BusName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("涓氬姟鍚�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DatabaseName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳悕"); - - b.Property<string>("FormDesign") - .HasColumnType("text") - .HasComment("鍔ㄦ�佽〃鍗�"); - - b.Property<int>("FormDesignType") - .HasColumnType("int") - .HasComment("鍔ㄦ�佽〃鍗曠被鍨�"); - - b.Property<string>("GenerateType") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("鐢熸垚鏂瑰紡"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MenuApplication") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鑿滃崟搴旂敤鍒嗙被"); - - b.Property<long>("MenuPid") - .HasColumnType("bigint") - .HasComment("鑿滃崟缂栫爜"); - - b.Property<string>("ModuleName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("妯″潡鍚�,鐢ㄤ簬鐢熸垚鐨勬枃浠跺す鐩綍"); - - b.Property<string>("NameSpace") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍛藉悕绌洪棿"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_low_code_module"); - - b.HasComment("浣庝唬鐮佹ā鍧楃鐞�"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCodeDataBase", b => - { - b.Property<Guid>("Id") - .HasColumnType("uniqueidentifier") - .HasComment("Id涓婚敭"); - - b.Property<string>("ClassName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("绫诲悕"); - - b.Property<string>("Control_Key") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢Key"); - - b.Property<string>("Control_Label") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢鍚嶇О"); - - b.Property<string>("Control_Model") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢瀛楁"); - - b.Property<string>("Control_Type") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("缁勪欢瀛楁"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DbParam") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("鏁版嵁绫诲瀷琛ュ厖鍙傛暟"); - - b.Property<string>("DbTypeName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("鏁版嵁绫诲瀷"); - - b.Property<string>("DtoTypeName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("浼犲叆鏁版嵁绫诲瀷"); - - b.Property<string>("FieldName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("瀛楁鍚嶇О"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<bool?>("IsRequired") - .HasColumnType("bit") - .HasComment("鏄惁蹇呭~"); - - b.Property<string>("QueryType") - .HasColumnType("nvarchar(max)") - .HasComment("鏌ヨ鏂瑰紡"); - - b.Property<bool?>("QueryWhether") - .HasColumnType("bit") - .HasComment("鏄惁鏄煡璇�"); - - b.Property<long>("SysLowCodeId") - .HasColumnType("bigint"); - - b.Property<string>("TableDesc") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("琛ㄦ弿杩�"); - - b.Property<string>("TableName") - .HasMaxLength(200) - .HasColumnType("nvarchar(200)") - .HasComment("琛ㄥ悕"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.Property<bool?>("WhetherAddUpdate") - .HasColumnType("bit") - .HasComment("澧炴敼"); - - b.Property<bool?>("WhetherOrderBy") - .HasColumnType("bit") - .HasComment("鎺掑簭"); - - b.Property<bool?>("WhetherTable") - .HasColumnType("bit") - .HasComment("鍒楄〃鏄剧ず"); - - b.HasKey("Id"); - - b.HasIndex("SysLowCodeId"); - - b.ToTable("sys_low_code_module_database"); - - b.HasComment("浣庝唬鐮佹ā鍧楃鐞�"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.SysCodeModular", b => - { - b.Property<long>("Id") - .HasColumnType("bigint") - .HasComment("Id涓婚敭"); - - b.Property<string>("AuthorName") - .HasMaxLength(20) - .HasColumnType("nvarchar(20)") - .HasComment("浣滆�呭鍚�"); - - b.Property<string>("BusName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("涓氬姟鍚�"); - - b.Property<DateTimeOffset?>("CreatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鍒涘缓鏃堕棿"); - - b.Property<long?>("CreatedUserId") - .HasColumnType("bigint") - .HasComment("鍒涘缓鑰匢d"); - - b.Property<string>("CreatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鍒涘缓鑰呭悕绉�"); - - b.Property<string>("DatabaseName") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鏁版嵁搴撳悕"); - - b.Property<string>("FormDesignJson") - .HasColumnType("nvarchar(max)") - .HasComment("鍔ㄦ�佽〃鍗�"); - - b.Property<bool>("IsDeleted") - .HasColumnType("bit") - .HasComment("杞垹闄ゆ爣璁�"); - - b.Property<string>("MenuApplication") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("鑿滃崟搴旂敤鍒嗙被"); - - b.Property<long>("MenuPid") - .HasColumnType("bigint") - .HasComment("鑿滃崟缂栫爜"); - - b.Property<string>("NameSpace") - .HasMaxLength(100) - .HasColumnType("nvarchar(100)") - .HasComment("鍛藉悕绌洪棿"); - - b.Property<DateTimeOffset?>("UpdatedTime") - .HasColumnType("datetimeoffset") - .HasComment("鏇存柊鏃堕棿"); - - b.Property<long?>("UpdatedUserId") - .HasColumnType("bigint") - .HasComment("淇敼鑰匢d"); - - b.Property<string>("UpdatedUserName") - .HasMaxLength(50) - .HasColumnType("nvarchar(50)") - .HasComment("淇敼鑰呭悕绉�"); - - b.HasKey("Id"); - - b.ToTable("sys_code_modular"); - - b.HasComment("鍔ㄦ�佺敓鎴愭ā鍧楃鐞嗚〃"); - }); - - modelBuilder.Entity("Admin.NET.Core.Entity.WmsBase.WmsRolePdaMenu", b => - { - b.HasOne("Admin.NET.Core.WmsPdaPower", "WmsPdaPower") - .WithMany("WmsRolePdaMenus") - .HasForeignKey("PdaMenuId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("WmsRolePdaMenus") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysRole"); - - b.Navigation("WmsPdaPower"); - }); - - modelBuilder.Entity("Admin.NET.Core.LesEntrance", b => - { - b.HasOne("Admin.NET.Core.WmsArea", "WmsArea") - .WithMany("LesEntrance") - .HasForeignKey("AreaId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsArea"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictData", b => - { - b.HasOne("Admin.NET.Core.SysDictType", "SysDictType") - .WithMany("SysDictDatas") - .HasForeignKey("TypeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysDictType"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpExtOrgPos", b => - { - b.HasOne("Admin.NET.Core.SysEmp", "SysEmp") - .WithMany() - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysOrg", "SysOrg") - .WithMany() - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysPos", "SysPos") - .WithMany() - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysOrg"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmpPos", b => - { - b.HasOne("Admin.NET.Core.SysEmp", "SysEmp") - .WithMany("SysEmpPos") - .HasForeignKey("SysEmpId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysPos", "SysPos") - .WithMany("SysEmpPos") - .HasForeignKey("SysPosId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysEmp"); - - b.Navigation("SysPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleDataScope", b => - { - b.HasOne("Admin.NET.Core.SysOrg", "SysOrg") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("SysRoleDataScopes") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRoleMenu", b => - { - b.HasOne("Admin.NET.Core.SysMenu", "SysMenu") - .WithMany("SysRoleMenus") - .HasForeignKey("SysMenuId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("SysRoleMenus") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysMenu"); - - b.Navigation("SysRole"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserDataScope", b => - { - b.HasOne("Admin.NET.Core.SysOrg", "SysOrg") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysOrgId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysUser", "SysUser") - .WithMany("SysUserDataScopes") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysOrg"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUserRole", b => - { - b.HasOne("Admin.NET.Core.SysRole", "SysRole") - .WithMany("SysUserRoles") - .HasForeignKey("SysRoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Admin.NET.Core.SysUser", "SysUser") - .WithMany("SysUserRoles") - .HasForeignKey("SysUserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysRole"); - - b.Navigation("SysUser"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsDumpOrder", "WmsDumpOrder") - .WithMany("WmsDumpOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsDumpOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsGoodsReturnOrder", "WmsGoodsReturnOrder") - .WithMany("WmsGoodsReturnOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsGoodsReturnOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsHistoryMaterialContainer", b => - { - b.HasOne("Admin.NET.Core.WmsMaterial", "WmsMaterial") - .WithMany("WmsFoamingHistoryMaterialContainer") - .HasForeignKey("MaterialId"); - - b.Navigation("WmsMaterial"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterialContainer", b => - { - b.HasOne("Admin.NET.Core.WmsMaterial", "WmsMaterial") - .WithMany("WmsFoamingMaterialContainer") - .HasForeignKey("MaterialId"); - - b.HasOne("Admin.NET.Core.WmsContainer", "WmsContainer") - .WithMany() - .HasForeignKey("WmsContainerId"); - - b.Navigation("WmsContainer"); - - b.Navigation("WmsMaterial"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsOrder", "WareOrder") - .WithMany("WareOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WareOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPlace", b => - { - b.HasOne("Admin.NET.Core.WmsArea", "WmsArea") - .WithMany("WmsPlaces") - .HasForeignKey("AreaId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsArea"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsReceiptOrder", "WmsReceiptOrder") - .WithMany("WmsReceiptOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsReceiptOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrderDetails", b => - { - b.HasOne("Admin.NET.Core.WmsStockReturnOrder", "WmsStockReturnOrder") - .WithMany("WmsStockReturnOrderDetails") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsStockReturnOrder"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrderDetail", b => - { - b.HasOne("Admin.NET.Core.WmsTakeMaterialOrder", "WmsTakeMaterialOrder") - .WithMany("WmsTakeMaterialOrderDetail") - .HasForeignKey("OrderId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("WmsTakeMaterialOrder"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCodeDataBase", b => - { - b.HasOne("Furion.Extras.Admin.NET.Entity.SysLowCode", "SysLowCode") - .WithMany("Databases") - .HasForeignKey("SysLowCodeId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.Navigation("SysLowCode"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysDictType", b => - { - b.Navigation("SysDictDatas"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysEmp", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysMenu", b => - { - b.Navigation("SysRoleMenus"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysOrg", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysUserDataScopes"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysPos", b => - { - b.Navigation("SysEmpPos"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysRole", b => - { - b.Navigation("SysRoleDataScopes"); - - b.Navigation("SysRoleMenus"); - - b.Navigation("SysUserRoles"); - - b.Navigation("WmsRolePdaMenus"); - }); - - modelBuilder.Entity("Admin.NET.Core.SysUser", b => - { - b.Navigation("SysUserDataScopes"); - - b.Navigation("SysUserRoles"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsArea", b => - { - b.Navigation("LesEntrance"); - - b.Navigation("WmsPlaces"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsDumpOrder", b => - { - b.Navigation("WmsDumpOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsGoodsReturnOrder", b => - { - b.Navigation("WmsGoodsReturnOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsMaterial", b => - { - b.Navigation("WmsFoamingHistoryMaterialContainer"); - - b.Navigation("WmsFoamingMaterialContainer"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsOrder", b => - { - b.Navigation("WareOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsPdaPower", b => - { - b.Navigation("WmsRolePdaMenus"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsReceiptOrder", b => - { - b.Navigation("WmsReceiptOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsStockReturnOrder", b => - { - b.Navigation("WmsStockReturnOrderDetails"); - }); - - modelBuilder.Entity("Admin.NET.Core.WmsTakeMaterialOrder", b => - { - b.Navigation("WmsTakeMaterialOrderDetail"); - }); - - modelBuilder.Entity("Furion.Extras.Admin.NET.Entity.SysLowCode", b => - { - b.Navigation("Databases"); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/DefaultDbContext.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/DefaultDbContext.cs new file mode 100644 index 0000000..71bd224 --- /dev/null +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/DefaultDbContext.cs @@ -0,0 +1,307 @@ +using Admin.NET.Core; +using Admin.NET.Core.Entity; +using Furion; +using Furion.DatabaseAccessor; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Diagnostics; +using Microsoft.EntityFrameworkCore.Metadata; +using Microsoft.EntityFrameworkCore.Metadata.Builders; +using Microsoft.EntityFrameworkCore.Storage.ValueConversion; +using System.Linq.Expressions; +using Yitter.IdGenerator; + +namespace Admin.NET.EntityFramework.Core +{ + [AppDbContext("DefaultConnection", DbProvider.SqlServer)] + public class DefaultDbContext : AppDbContext<DefaultDbContext>, IModelBuilderFilter + { + public DefaultDbContext(DbContextOptions<DefaultDbContext> options) : base(options) + { + // 鍚敤瀹炰綋鏁版嵁鏇存敼鐩戝惉 + EnabledEntityChangedListener = true; + + // 蹇界暐绌哄�兼洿鏂� + InsertOrUpdateIgnoreNullValues = true; + } + + /// <summary> + /// 鑾峰彇绉熸埛Id + /// </summary> + /// <returns></returns> + //public object GetTenantId() + //{ + // // 娴佺▼涓病鏈夌敤鍒板绉熸埛 杩欓噷榛樿杩斿洖涓�涓鎴� + // if (App.User == null) return 142307070918780; + // return Convert.ToInt64(App.User.FindFirst(ClaimConst.TENANT_ID)?.Value); + //} + + protected override void OnModelCreating(ModelBuilder builder) + { + if (Database.ProviderName == DbProvider.Sqlite) + { + // SQLite does not have proper support for DateTimeOffset via Entity Framework Core, see the limitations + // here: https://docs.microsoft.com/en-us/ef/core/providers/sqlite/limitations#query-limitations + // To work around this, when the Sqlite database provider is used, all model properties of type DateTimeOffset + // use the DateTimeOffsetToBinaryConverter + // Based on: https://github.com/aspnet/EntityFrameworkCore/issues/10784#issuecomment-415769754 + // This only supports millisecond precision, but should be sufficient for most use cases. + foreach (var entityType in builder.Model.GetEntityTypes()) + { + var properties = entityType.ClrType.GetProperties().Where(p => p.PropertyType == typeof(DateTimeOffset) + || p.PropertyType == typeof(DateTimeOffset?)); + foreach (var property in properties) + { + builder + .Entity(entityType.Name) + .Property(property.Name) + .HasConversion(new DateTimeOffsetToBinaryConverter()); + } + } + } + // 澶勭悊mysql鏃跺尯闂 https://gitee.com/dotnetchina/Furion/issues/I3RSCO#note_5685893_link + else if (Database.ProviderName == DbProvider.MySql || Database.ProviderName == DbProvider.MySqlOfficial) + { + var converter = new ValueConverter<DateTimeOffset, DateTime>(v => v.LocalDateTime, v => v); + + // 鎵弿绋嬪簭闆嗭紝鑾峰彇鏁版嵁搴撳疄浣撶浉鍏崇被鍨� + var types = App.EffectiveTypes.Where(t => (typeof(IPrivateEntity).IsAssignableFrom(t) || typeof(IPrivateModelBuilder).IsAssignableFrom(t)) + && t.IsClass && !t.IsAbstract && !t.IsGenericType && !t.IsInterface && !t.IsDefined(typeof(ManualAttribute), true)); + + if (types.Any()) + { + foreach (var item in types) + { + if (item.IsSubclassOf(typeof(DEntityBase)) || item.IsSubclassOf(typeof(EntityBase))) + { + foreach (var property in item.GetProperties()) + { + if (property.PropertyType == typeof(DateTimeOffset?) || property.PropertyType == typeof(DateTimeOffset)) + { + builder.Entity(item).Property(property.Name).HasConversion(converter); + } + } + } + } + } + } + + base.OnModelCreating(builder); + } + + /// <summary> + /// 閰嶇疆绉熸埛Id杩囨护鍣� + /// </summary> + /// <param name="modelBuilder"></param> + /// <param name="entityBuilder"></param> + /// <param name="dbContext"></param> + /// <param name="dbContextLocator"></param> + public void OnCreating(ModelBuilder modelBuilder, EntityTypeBuilder entityBuilder, DbContext dbContext, Type dbContextLocator) + { + // 閰嶇疆鍋囧垹闄よ繃婊ゅ櫒 + LambdaExpression expression = FakeDeleteQueryFilterExpression(entityBuilder, dbContext); + if (expression != null) + entityBuilder.HasQueryFilter(expression); + // 閰嶇疆鏁版嵁鏉冮檺鍔ㄦ�佽〃杈惧紡 + LambdaExpression dataScopesExpression = DataScopesFilterExpression(entityBuilder, dbContext); + if (dataScopesExpression != null) + entityBuilder.HasQueryFilter(dataScopesExpression); + } + + protected override void SavingChangesEvent(DbContextEventData eventData, InterceptionResult<int> result) + { + // 鑾峰彇褰撳墠浜嬩欢瀵瑰簲涓婁笅鏂� + var dbContext = eventData.Context; + // 鑾峰彇鎵�鏈夋洿鏀癸紝鍒犻櫎锛屾柊澧炵殑瀹炰綋锛屼絾鎺掗櫎瀹¤瀹炰綋锛堥伩鍏嶆寰幆锛� + var entities = dbContext.ChangeTracker.Entries() + .Where(u => u.Entity.GetType() != typeof(SysLogAudit) && u.Entity.GetType() != typeof(SysLogOp) && + u.Entity.GetType() != typeof(SysLogVis) && u.Entity.GetType() != typeof(SysLogEx) && + (u.State == EntityState.Modified || u.State == EntityState.Deleted || u.State == EntityState.Added)).ToList(); + if (entities == null || entities.Count < 1) return; + + //// 鍒ゆ柇鏄惁鏄紨绀虹幆澧� + //var demoEnvFlag = App.GetService<ISysConfigService>().GetDemoEnvFlag().GetAwaiter().GetResult(); + //if (demoEnvFlag) + //{ + // var sysUser = entities.Find(u => u.Entity.GetType() == typeof(SysUser)); + // if (sysUser == null || string.IsNullOrEmpty((sysUser.Entity as SysUser).LastLoginTime.ToString())) // 鎺掗櫎鐧诲綍 + // throw Oops.Oh(ErrorCode.D1200); + //} + + // 褰撳墠鎿嶄綔鑰呬俊鎭� + var userId = App.User?.FindFirst(ClaimConst.CLAINM_USERID)?.Value; + //璇诲彇鐨勭敤鎴峰悕鏀逛负 鏄电О锛岃�屼笉鏄处鍙� 銆怑ditby shaocx,2024-04-20銆� + //var userName = App.User?.FindFirst(ClaimConst.CLAINM_ACCOUNT)?.Value; + var userName = App.User?.FindFirst(ClaimConst.CLAINM_NAME)?.Value; + // 褰撳墠鎿嶄綔鑰呮満鏋勪俊鎭� + var orgId = App.User?.FindFirst(ClaimConst.CLAINM_ORGID)?.Value; + var orgName = App.User?.FindFirst(ClaimConst.CLAINM_ORGNAME)?.Value; + + foreach (var entity in entities) + { + if (entity.Entity.GetType().IsSubclassOf(typeof(DEntityBase))) + { + var obj = entity.Entity as DEntityBase; + if (entity.State == EntityState.Added) + { + obj.Id = obj.Id == 0 ? YitIdHelper.NextId() : obj.Id; + obj.CreatedTime = DateTimeOffset.Now; + if (!string.IsNullOrEmpty(userId)) + { + obj.CreatedUserId = long.Parse(userId); + obj.CreatedUserName = userName; + if (entity.Entity.GetType().GetInterface(typeof(IDataPermissions).Name) != null) + { + ((IDataPermissions)obj).CreatedUserOrgId = long.Parse(orgId); + ((IDataPermissions)obj).CreatedUserOrgName = orgName; + } + } + } + else if (entity.State == EntityState.Modified) + { + // 鎺掗櫎鍒涘缓浜� + entity.Property(nameof(DEntityBase.CreatedUserId)).IsModified = false; + entity.Property(nameof(DEntityBase.CreatedUserName)).IsModified = false; + // 鎺掗櫎鍒涘缓鏃ユ湡 + entity.Property(nameof(DEntityBase.CreatedTime)).IsModified = false; + + obj.UpdatedTime = DateTimeOffset.Now; + if (!string.IsNullOrEmpty(userId)) + { + obj.UpdatedUserId = long.Parse(userId); + obj.UpdatedUserName = userName; + } + } + } + } + } + + /// <summary> + /// 鏋勫缓绉熸埛Id浠ュ強鍋囧垹闄よ繃婊ゅ櫒 + /// </summary> + /// <param name="entityBuilder"></param> + /// <param name="dbContext"></param> + /// <param name="isDeletedKey"></param> + /// <param name="filterValue"></param> + /// <returns></returns> + protected static LambdaExpression FakeDeleteQueryFilterExpression(EntityTypeBuilder entityBuilder, DbContext dbContext, string onTableTenantId = null, string isDeletedKey = null, object filterValue = null) + { + //onTableTenantId ??= "TenantId"; + isDeletedKey ??= "IsDeleted"; + IMutableEntityType metadata = entityBuilder.Metadata; + //if (metadata.FindProperty(onTableTenantId) == null && metadata.FindProperty(isDeletedKey) == null) + //{ + // return null; + //} + //瑙e喅瀹炰綋缁ф壙鎶ラ敊闂锛屽熀绫昏〃鎵嶆湁IsDeleted銆乀enantId瀛楁 + if (metadata.BaseType != null) + { + return null; + } + + Expression finialExpression = Expression.Constant(true); + ParameterExpression parameterExpression = Expression.Parameter(metadata.ClrType, "u"); + + + // 鍋囧垹闄よ繃婊ゅ櫒 + if (metadata.FindProperty(isDeletedKey) != null) + { + ConstantExpression constantExpression = Expression.Constant(isDeletedKey); + ConstantExpression right = Expression.Constant(filterValue ?? false); + var fakeDeleteQueryExpression = Expression.Equal(Expression.Call(typeof(EF), "Property", new Type[1] + { + typeof(bool) + }, parameterExpression, constantExpression), right); + finialExpression = Expression.AndAlso(finialExpression, fakeDeleteQueryExpression); + } + + return Expression.Lambda(finialExpression, parameterExpression); + } + + #region 鏁版嵁鏉冮檺 + + /// <summary> + /// 鑾峰彇鐢ㄦ埛Id + /// </summary> + /// <returns></returns> + public object GetUserId() + { + if (App.User == null) return null; + return App.User.FindFirst(ClaimConst.CLAINM_USERID)?.Value; + } + + /// <summary> + /// 鑾峰彇鏁版嵁鑼冨洿 + /// </summary> + /// <returns></returns> + public List<object> GetDataScopes() + { + var userId = this.GetUserId(); + if (userId == null) + { + return new List<object>(); + } + + var dataScopes = JsonUtil.FromJson<List<object>>(App.User.FindFirst(ClaimConst.DATA_SCOPES)?.Value); + if (dataScopes != null) + { + return dataScopes; + } + return new List<object>(); + } + + /// <summary> + /// 鏋勫缓鏁版嵁鑼冨洿杩囨护鍣� + /// </summary> + /// <param name="entityBuilder"></param> + /// <param name="dbContext"></param> + /// <param name="onTableCreatedUserId"></param> + /// <param name="onTableCreatedUserOrgId"></param> + /// <param name="filterValue"></param> + /// <returns></returns> + protected LambdaExpression DataScopesFilterExpression(EntityTypeBuilder entityBuilder, DbContext dbContext, string onTableCreatedUserId = null, string onTableCreatedUserOrgId = null) + { + onTableCreatedUserId ??= nameof(IDataPermissions.CreatedUserId);//鐢ㄦ埛id瀛楁 + onTableCreatedUserOrgId ??= nameof(IDataPermissions.CreatedUserOrgId);//鐢ㄦ埛閮ㄩ棬瀛楁 + + IMutableEntityType metadata = entityBuilder.Metadata; + if (metadata.FindProperty(onTableCreatedUserId) == null || metadata.FindProperty(onTableCreatedUserOrgId) == null) + { + return null; + } + + Expression finialExpression = Expression.Constant(true); + ParameterExpression parameterExpression = Expression.Parameter(metadata.ClrType, "u"); + + // 涓汉鐢ㄦ埛鏁版嵁杩囨护鍣� + if (metadata.FindProperty(onTableCreatedUserId) != null) + { + ConstantExpression constantExpression = Expression.Constant(onTableCreatedUserId); + MethodCallExpression right = Expression.Call(Expression.Constant(dbContext), dbContext.GetType().GetMethod("GetUserId")); + finialExpression = Expression.AndAlso(finialExpression, Expression.Equal(Expression.Call(typeof(EF), "Property", new Type[1] + { + typeof(object) + }, parameterExpression, constantExpression), right)); + } + + //鏁版嵁鏉冮檺杩囨护鍣� + if (metadata.FindProperty(onTableCreatedUserOrgId) != null) + { + ConstantExpression constantExpression = Expression.Constant(onTableCreatedUserOrgId); + + MethodCallExpression dataScopesLeft = Expression.Call(Expression.Constant(dbContext), dbContext.GetType().GetMethod("GetDataScopes")); + var firstOrDefaultCall = Expression.Call(typeof(EF), "Property", new Type[1] + { + typeof(object) + }, parameterExpression, constantExpression); + + var createdUserOrgIdQueryExpression = Expression.Call(dataScopesLeft, typeof(List<object>).GetMethod("Contains"), firstOrDefaultCall); + + finialExpression = Expression.Or(finialExpression, createdUserOrgIdQueryExpression); + } + + return Expression.Lambda(finialExpression, parameterExpression); + } + + #endregion 鏁版嵁鏉冮檺 + } +} \ No newline at end of file diff --git a/iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs b/iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs new file mode 100644 index 0000000..a2bfa6f --- /dev/null +++ b/iWare_RawMaterialWarehouse_Wms/Admin.NET.EntityFramework.Core/DbContexts/MultiTenantDbContext.cs @@ -0,0 +1,62 @@ +using Admin.NET.Core; +using Furion; +using Furion.DatabaseAccessor; +using Microsoft.EntityFrameworkCore; +using Microsoft.EntityFrameworkCore.Diagnostics; +using Yitter.IdGenerator; + +namespace Admin.NET.EntityFramework.Core +{ + [AppDbContext("MultiTenantConnection", DbProvider.Sqlite)] + public class MultiTenantDbContext : AppDbContext<MultiTenantDbContext, MultiTenantDbContextLocator> + { + public MultiTenantDbContext(DbContextOptions<MultiTenantDbContext> options) : base(options) + { + } + + protected override void SavingChangesEvent(DbContextEventData eventData, InterceptionResult<int> result) + { + // 鑾峰彇鎵�鏈夊凡鏇存敼鐨勫疄浣� + var entities = eventData.Context.ChangeTracker.Entries() + .Where(u => u.State == EntityState.Modified || u.State == EntityState.Deleted || u.State == EntityState.Added) + .ToList(); + + // 鍒ゆ柇鏄惁鏄紨绀虹幆澧� + //var demoEnvFlag = App.GetService<ISysConfigService>().GetDemoEnvFlag().GetAwaiter().GetResult(); + //if (demoEnvFlag) + //{ + // var sysUser = entities.Find(u => u.Entity.GetType() == typeof(SysUser)); + // if (sysUser == null || string.IsNullOrEmpty((sysUser.Entity as SysUser).LastLoginTime.ToString())) // 鎺掗櫎鐧诲綍 + // throw Oops.Oh(ErrorCode.D1200); + //} + + // 褰撳墠鎿嶄綔鐢ㄦ埛淇℃伅 + var userId = App.User.FindFirst(ClaimConst.CLAINM_USERID)?.Value; + var userName = App.User.FindFirst(ClaimConst.CLAINM_ACCOUNT)?.Value; + + foreach (var entity in entities) + { + if (entity.Entity.GetType().IsSubclassOf(typeof(DEntityBase<long, MultiTenantDbContextLocator>))) + { + var obj = entity.Entity as DEntityBase<long, MultiTenantDbContextLocator>; + if (entity.State == EntityState.Added) + { + obj.Id = YitIdHelper.NextId(); + obj.CreatedTime = DateTimeOffset.Now; + if (!string.IsNullOrEmpty(userId)) + { + obj.CreatedUserId = long.Parse(userId); + obj.CreatedUserName = userName; + } + } + else if (entity.State == EntityState.Modified) + { + obj.UpdatedTime = DateTimeOffset.Now; + obj.UpdatedUserId = long.Parse(userId); + obj.UpdatedUserName = userName; + } + } + } + } + } +} \ No newline at end of file -- Gitblit v1.9.3