From bc6813b74e9a390eae2181d460c647445b7cb25a Mon Sep 17 00:00:00 2001
From: sunpengfei <i@angelzzz.com>
Date: 星期三, 06 八月 2025 11:22:18 +0800
Subject: [PATCH] feat:数据字典开发

---
 FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs |  123 +++++++++++++++++++++++++++++++++++------
 1 files changed, 105 insertions(+), 18 deletions(-)

diff --git a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
index c866ce6..2b196b6 100644
--- a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
+++ b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -124,6 +124,10 @@
                         .HasColumnType("nvarchar(128)")
                         .HasComment("鍚嶇О");
 
+                    b.Property<string>("Remark")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("澶囨敞");
+
                     b.Property<int>("Sort")
                         .HasColumnType("int")
                         .HasComment("鎺掑簭");
@@ -198,6 +202,10 @@
                         .HasColumnType("bit")
                         .HasComment("鏄惁鍒犻櫎");
 
+                    b.Property<bool>("IsDisabled")
+                        .HasColumnType("bit")
+                        .HasComment("鏄惁绂佺敤");
+
                     b.Property<Guid?>("ParentId")
                         .HasColumnType("uniqueidentifier")
                         .HasComment("涓婄骇Id");
@@ -247,6 +255,16 @@
                     b.Property<Guid?>("BankCardImgId")
                         .HasColumnType("uniqueidentifier")
                         .HasComment("娉曚汉鎴栫粡鍔炰汉閾惰鍗$収鐗嘔d");
+
+                    b.Property<string>("ContactNumber")
+                        .HasMaxLength(11)
+                        .HasColumnType("nvarchar(11)")
+                        .HasComment("鑱旂郴鐢佃瘽");
+
+                    b.Property<string>("Contacts")
+                        .HasMaxLength(32)
+                        .HasColumnType("nvarchar(32)")
+                        .HasComment("鑱旂郴浜�");
 
                     b.Property<DateTimeOffset>("CreatedTime")
                         .HasColumnType("datetimeoffset");
@@ -618,10 +636,34 @@
                         .ValueGeneratedOnAdd()
                         .HasColumnType("uniqueidentifier");
 
+                    b.Property<string>("ActionName")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("濮旀墭鍚嶇О");
+
+                    b.Property<string>("ActionSummary")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("濮旀墭鎽樿");
+
+                    b.Property<bool>("AllowAnonymous")
+                        .HasColumnType("bit")
+                        .HasComment("蹇界暐鏉冮檺");
+
+                    b.Property<string>("ApplicationName")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("搴旂敤鍚嶇О");
+
                     b.Property<string>("Code")
                         .IsRequired()
                         .HasColumnType("nvarchar(max)")
                         .HasComment("缂栧彿");
+
+                    b.Property<int>("Controller")
+                        .HasColumnType("int")
+                        .HasComment("鎺у埗鍣�");
+
+                    b.Property<string>("ControllerSummary")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("鎺у埗鍣ㄦ憳瑕�");
 
                     b.Property<DateTimeOffset>("CreatedTime")
                         .HasColumnType("datetimeoffset");
@@ -629,6 +671,10 @@
                     b.Property<Guid?>("CreatedUserInfoId")
                         .HasColumnType("uniqueidentifier")
                         .HasComment("鍒涘缓鎿嶄綔浜�");
+
+                    b.Property<string>("DynamicAssemblyName")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("鍔ㄦ�佺▼搴忛泦鍚嶇О");
 
                     b.Property<bool>("IsDeleted")
                         .HasColumnType("bit")
@@ -647,10 +693,20 @@
                         .HasColumnType("nvarchar(max)")
                         .HasComment("鍚嶇О");
 
+                    b.Property<string>("RequestTypeFullName")
+                        .IsRequired()
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("璇锋眰绫诲瀷鍏ㄥ悕");
+
                     b.Property<string>("RequestTypeName")
                         .IsRequired()
                         .HasColumnType("nvarchar(max)")
                         .HasComment("璇锋眰绫诲瀷鍚嶇О");
+
+                    b.Property<string>("ResponseTypeFullName")
+                        .IsRequired()
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("鍝嶅簲绫诲瀷鍏ㄥ悕");
 
                     b.Property<string>("ResponseTypeName")
                         .IsRequired()
@@ -662,10 +718,17 @@
                         .HasColumnType("nvarchar(max)")
                         .HasComment("璺敱");
 
-                    b.Property<string>("Service")
-                        .IsRequired()
+                    b.Property<string>("RouteArea")
                         .HasColumnType("nvarchar(max)")
-                        .HasComment("寰湇鍔�");
+                        .HasComment("璺敱鍖哄煙");
+
+                    b.Property<int>("Service")
+                        .HasColumnType("int")
+                        .HasComment("鏈嶅姟");
+
+                    b.Property<string>("ServiceName")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("鏈嶅姟鍚嶇О");
 
                     b.Property<int>("Sort")
                         .HasColumnType("int")
@@ -707,9 +770,17 @@
                         .HasColumnType("uniqueidentifier")
                         .HasComment("鍒涘缓鎿嶄綔浜�");
 
+                    b.Property<int>("DataPower")
+                        .HasColumnType("int")
+                        .HasComment("鏁版嵁鏉冮檺");
+
                     b.Property<bool>("IsDeleted")
                         .HasColumnType("bit")
                         .HasComment("鏄惁鍒犻櫎");
+
+                    b.Property<bool>("IsDisabled")
+                        .HasColumnType("bit")
+                        .HasComment("鏄惁绂佺敤");
 
                     b.Property<int>("MinLevel")
                         .HasColumnType("int")
@@ -720,6 +791,10 @@
                         .HasMaxLength(128)
                         .HasColumnType("nvarchar(128)")
                         .HasComment("鍚嶇О");
+
+                    b.Property<string>("Remark")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("澶囨敞");
 
                     b.Property<int>("Sort")
                         .HasColumnType("int")
@@ -813,7 +888,7 @@
                         .HasColumnType("uniqueidentifier")
                         .HasComment("鍒涘缓鎿嶄綔浜�");
 
-                    b.Property<int?>("DataPower")
+                    b.Property<int>("DataPower")
                         .HasColumnType("int")
                         .HasComment("鏁版嵁鏉冮檺");
 
@@ -821,9 +896,9 @@
                         .HasColumnType("bit")
                         .HasComment("鏄惁鍒犻櫎");
 
-                    b.Property<Guid>("MenuId")
+                    b.Property<Guid>("ResourceId")
                         .HasColumnType("uniqueidentifier")
-                        .HasComment("鑿滃崟Id");
+                        .HasComment("璧勬簮Id");
 
                     b.Property<Guid>("RoleId")
                         .HasColumnType("uniqueidentifier")
@@ -846,7 +921,7 @@
 
                     b.HasKey("Id");
 
-                    b.HasIndex("MenuId");
+                    b.HasIndex("ResourceId");
 
                     b.HasIndex("RoleId");
 
@@ -1235,8 +1310,9 @@
                             IsDeleted = false,
                             IsReal = false,
                             Name = "绠$悊鍛�",
+                            Password = "iEYggKrMhQ3ASUGLobra1w==:fn/DsMJUbD9FGpvBvR3moMpMPptdxzZlourPVhU479I=",
                             Sort = 0,
-                            UserName = "admin"
+                            UserName = "system"
                         });
                 });
 
@@ -1289,9 +1365,17 @@
                         .HasColumnType("uniqueidentifier")
                         .HasComment("韬唤Id");
 
+                    b.Property<string>("Remark")
+                        .HasColumnType("nvarchar(max)")
+                        .HasComment("澶囨敞");
+
                     b.Property<int>("Sort")
                         .HasColumnType("int")
                         .HasComment("鎺掑簭");
+
+                    b.Property<int>("Status")
+                        .HasColumnType("int")
+                        .HasComment("鐘舵��");
 
                     b.Property<string>("TraceId")
                         .HasColumnType("nvarchar(max)")
@@ -1354,6 +1438,7 @@
                             IsDeleted = false,
                             Level = 999,
                             Sort = 0,
+                            Status = 0,
                             Type = 100,
                             UserAuthId = new Guid("11111111-1111-1111-1111-111111111111")
                         });
@@ -1726,7 +1811,7 @@
                         .IsRequired();
 
                     b.HasOne("FlexJobApi.Core.Department", "Parent")
-                        .WithMany("Childrens")
+                        .WithMany("Children")
                         .HasForeignKey("ParentId");
 
                     b.Navigation("Enterprise");
@@ -1743,7 +1828,7 @@
                         .IsRequired();
 
                     b.HasOne("FlexJobApi.Core.DictionaryData", "Parent")
-                        .WithMany("Childrens")
+                        .WithMany("Children")
                         .HasForeignKey("ParentId");
 
                     b.Navigation("Category");
@@ -1786,7 +1871,7 @@
             modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
                 {
                     b.HasOne("FlexJobApi.Core.Menu", "Parent")
-                        .WithMany("Childrens")
+                        .WithMany("Children")
                         .HasForeignKey("ParentId");
 
                     b.Navigation("Parent");
@@ -1813,9 +1898,9 @@
 
             modelBuilder.Entity("FlexJobApi.Core.RoleResource", b =>
                 {
-                    b.HasOne("FlexJobApi.Core.Menu", "Menu")
+                    b.HasOne("FlexJobApi.Core.Resource", "Resource")
                         .WithMany()
-                        .HasForeignKey("MenuId")
+                        .HasForeignKey("ResourceId")
                         .OnDelete(DeleteBehavior.Cascade)
                         .IsRequired();
 
@@ -1825,7 +1910,7 @@
                         .OnDelete(DeleteBehavior.Cascade)
                         .IsRequired();
 
-                    b.Navigation("Menu");
+                    b.Navigation("Resource");
 
                     b.Navigation("Role");
                 });
@@ -2068,7 +2153,7 @@
             modelBuilder.Entity("FlexJobApi.Core.UserInfoRole", b =>
                 {
                     b.HasOne("FlexJobApi.Core.Role", "Role")
-                        .WithMany()
+                        .WithMany("UserInfoRoles")
                         .HasForeignKey("RoleId")
                         .OnDelete(DeleteBehavior.Cascade)
                         .IsRequired();
@@ -2086,12 +2171,12 @@
 
             modelBuilder.Entity("FlexJobApi.Core.Department", b =>
                 {
-                    b.Navigation("Childrens");
+                    b.Navigation("Children");
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b =>
                 {
-                    b.Navigation("Childrens");
+                    b.Navigation("Children");
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Enterprise", b =>
@@ -2103,7 +2188,7 @@
 
             modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
                 {
-                    b.Navigation("Childrens");
+                    b.Navigation("Children");
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Role", b =>
@@ -2111,6 +2196,8 @@
                     b.Navigation("RoleMenus");
 
                     b.Navigation("RoleResources");
+
+                    b.Navigation("UserInfoRoles");
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b =>

--
Gitblit v1.9.1