sunpengfei
2025-08-05 100b5ecb418bf6839e47b428e346ad5f6e778d1b
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -618,10 +618,19 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("ActionName")
                        .IsRequired()
                        .HasColumnType("nvarchar(max)")
                        .HasComment("委托名称");
                    b.Property<string>("Code")
                        .IsRequired()
                        .HasColumnType("nvarchar(max)")
                        .HasComment("编号");
                    b.Property<int>("Controller")
                        .HasColumnType("int")
                        .HasComment("控制器");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
@@ -647,10 +656,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()
@@ -661,11 +680,6 @@
                        .IsRequired()
                        .HasColumnType("nvarchar(max)")
                        .HasComment("路由");
                    b.Property<string>("Service")
                        .IsRequired()
                        .HasColumnType("nvarchar(max)")
                        .HasComment("微服务");
                    b.Property<int>("Sort")
                        .HasColumnType("int")
@@ -707,6 +721,9 @@
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<int>("DataPower")
                        .HasColumnType("int");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit")
                        .HasComment("是否删除");
@@ -720,6 +737,9 @@
                        .HasMaxLength(128)
                        .HasColumnType("nvarchar(128)")
                        .HasComment("名称");
                    b.Property<string>("Remark")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Sort")
                        .HasColumnType("int")
@@ -813,7 +833,7 @@
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<int?>("DataPower")
                    b.Property<int>("DataPower")
                        .HasColumnType("int")
                        .HasComment("数据权限");
@@ -821,9 +841,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 +866,7 @@
                    b.HasKey("Id");
                    b.HasIndex("MenuId");
                    b.HasIndex("ResourceId");
                    b.HasIndex("RoleId");
@@ -1235,8 +1255,9 @@
                            IsDeleted = false,
                            IsReal = false,
                            Name = "管理员",
                            Password = "iEYggKrMhQ3ASUGLobra1w==:fn/DsMJUbD9FGpvBvR3moMpMPptdxzZlourPVhU479I=",
                            Sort = 0,
                            UserName = "admin"
                            UserName = "system"
                        });
                });
@@ -1726,7 +1747,7 @@
                        .IsRequired();
                    b.HasOne("FlexJobApi.Core.Department", "Parent")
                        .WithMany("Childrens")
                        .WithMany("Children")
                        .HasForeignKey("ParentId");
                    b.Navigation("Enterprise");
@@ -1743,7 +1764,7 @@
                        .IsRequired();
                    b.HasOne("FlexJobApi.Core.DictionaryData", "Parent")
                        .WithMany("Childrens")
                        .WithMany("Children")
                        .HasForeignKey("ParentId");
                    b.Navigation("Category");
@@ -1786,7 +1807,7 @@
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
                {
                    b.HasOne("FlexJobApi.Core.Menu", "Parent")
                        .WithMany("Childrens")
                        .WithMany("Children")
                        .HasForeignKey("ParentId");
                    b.Navigation("Parent");
@@ -1813,9 +1834,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 +1846,7 @@
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Menu");
                    b.Navigation("Resource");
                    b.Navigation("Role");
                });
@@ -2086,12 +2107,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 +2124,7 @@
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
                {
                    b.Navigation("Childrens");
                    b.Navigation("Children");
                });
            modelBuilder.Entity("FlexJobApi.Core.Role", b =>