sunpengfei
2025-08-04 7374d934381f81e835314f60dc411b963614d803
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -85,7 +85,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("Department", t =>
                    b.ToTable("Department", null, t =>
                        {
                            t.HasComment("部门");
                        });
@@ -141,7 +141,7 @@
                    b.HasKey("Id");
                    b.ToTable("DictionaryCategory", t =>
                    b.ToTable("DictionaryCategory", null, t =>
                        {
                            t.HasComment("字典类别");
                        });
@@ -227,7 +227,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("DictionaryData", t =>
                    b.ToTable("DictionaryData", null, t =>
                        {
                            t.HasComment("字典数据");
                        });
@@ -350,7 +350,7 @@
                    b.HasIndex("LicenseImageId");
                    b.ToTable("Enterprise", t =>
                    b.ToTable("Enterprise", null, t =>
                        {
                            t.HasComment("企业");
                        });
@@ -441,7 +441,7 @@
                    b.HasKey("Id");
                    b.ToTable("FileStore", t =>
                    b.ToTable("FileStore", null, t =>
                        {
                            t.HasComment("文件存储");
                        });
@@ -497,7 +497,7 @@
                    b.HasIndex("StoreId");
                    b.ToTable("FileVirtualPath", t =>
                    b.ToTable("FileVirtualPath", null, t =>
                        {
                            t.HasComment("文件虚拟路径");
                        });
@@ -606,7 +606,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("Menu", t =>
                    b.ToTable("Menu", null, t =>
                        {
                            t.HasComment("菜单");
                        });
@@ -684,7 +684,7 @@
                    b.HasKey("Id");
                    b.ToTable("Resource", t =>
                    b.ToTable("Resource", null, t =>
                        {
                            t.HasComment("资源");
                        });
@@ -742,7 +742,7 @@
                    b.HasKey("Id");
                    b.ToTable("Role", t =>
                    b.ToTable("Role", null, t =>
                        {
                            t.HasComment("角色");
                        });
@@ -794,7 +794,7 @@
                    b.HasIndex("RoleId");
                    b.ToTable("RoleMenu", t =>
                    b.ToTable("RoleMenu", null, t =>
                        {
                            t.HasComment("角色菜单");
                        });
@@ -813,7 +813,7 @@
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<int?>("DataPower")
                    b.Property<int>("DataPower")
                        .HasColumnType("int")
                        .HasComment("数据权限");
@@ -821,9 +821,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,11 +846,11 @@
                    b.HasKey("Id");
                    b.HasIndex("MenuId");
                    b.HasIndex("ResourceId");
                    b.HasIndex("RoleId");
                    b.ToTable("RoleResource", t =>
                    b.ToTable("RoleResource", null, t =>
                        {
                            t.HasComment("角色资源");
                        });
@@ -943,7 +943,7 @@
                    b.HasIndex("EnterpriseId");
                    b.ToTable("TaskInfo", t =>
                    b.ToTable("TaskInfo", null, t =>
                        {
                            t.HasComment("任务信息");
                        });
@@ -998,7 +998,7 @@
                    b.HasIndex("BenefitId1");
                    b.ToTable("TaskInfoBenefit", t =>
                    b.ToTable("TaskInfoBenefit", null, t =>
                        {
                            t.HasComment("任务福利");
                        });
@@ -1050,7 +1050,7 @@
                    b.HasIndex("TypeId");
                    b.ToTable("TaskInfoCredentialLimit");
                    b.ToTable("TaskInfoCredentialLimit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
@@ -1115,7 +1115,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("TaskInfoUser", t =>
                    b.ToTable("TaskInfoUser", null, t =>
                        {
                            t.HasComment("任务用户信息");
                        });
@@ -1221,7 +1221,7 @@
                    b.HasIndex("IdentityImgId");
                    b.ToTable("UserAuth", t =>
                    b.ToTable("UserAuth", null, t =>
                        {
                            t.HasComment("用户");
                        });
@@ -1235,8 +1235,9 @@
                            IsDeleted = false,
                            IsReal = false,
                            Name = "管理员",
                            Password = "iEYggKrMhQ3ASUGLobra1w==:fn/DsMJUbD9FGpvBvR3moMpMPptdxzZlourPVhU479I=",
                            Sort = 0,
                            UserName = "admin"
                            UserName = "system"
                        });
                });
@@ -1341,7 +1342,7 @@
                    b.HasIndex("UserAuthId");
                    b.ToTable("UserInfo", t =>
                    b.ToTable("UserInfo", null, t =>
                        {
                            t.HasComment("用户信息");
                        });
@@ -1417,7 +1418,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("UserInfoBankCard", t =>
                    b.ToTable("UserInfoBankCard", null, t =>
                        {
                            t.HasComment("用户银行卡信息");
                        });
@@ -1503,7 +1504,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("UserInfoCredential", t =>
                    b.ToTable("UserInfoCredential", null, t =>
                        {
                            t.HasComment("用户信息资格证书");
                        });
@@ -1555,7 +1556,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("UserInfoDepartment", t =>
                    b.ToTable("UserInfoDepartment", null, t =>
                        {
                            t.HasComment("用户信息部门");
                        });
@@ -1607,7 +1608,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("UserInfoExpectJob", t =>
                    b.ToTable("UserInfoExpectJob", null, t =>
                        {
                            t.HasComment("用户信息期望岗位");
                        });
@@ -1659,7 +1660,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("UserInfoPhoto", t =>
                    b.ToTable("UserInfoPhoto", null, t =>
                        {
                            t.HasComment("用户信息生活照");
                        });
@@ -1711,7 +1712,7 @@
                    b.HasIndex("UserInfoId");
                    b.ToTable("UserInfoRole", t =>
                    b.ToTable("UserInfoRole", null, t =>
                        {
                            t.HasComment("用户信息角色");
                        });
@@ -1813,9 +1814,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 +1826,7 @@
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Menu");
                    b.Navigation("Resource");
                    b.Navigation("Role");
                });