From 844ef8147c4e61c22d5aa40deab4b026638e1781 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期一, 08 九月 2025 16:20:20 +0800
Subject: [PATCH] fix: s

---
 FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs |  159 +++++++++++++++++++++++++++++++++++++---------------
 1 files changed, 113 insertions(+), 46 deletions(-)

diff --git a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
index e9b2cfd..c06c983 100644
--- a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
+++ b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -22,6 +22,53 @@
 
             SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
 
+            modelBuilder.Entity("FlexJobApi.Core.CodeUrl", b =>
+                {
+                    b.Property<Guid>("Id")
+                        .ValueGeneratedOnAdd()
+                        .HasColumnType("uniqueidentifier");
+
+                    b.Property<string>("Code")
+                        .HasColumnType("nvarchar(max)");
+
+                    b.Property<Guid?>("CreatedEnterpriseId")
+                        .HasColumnType("uniqueidentifier");
+
+                    b.Property<DateTimeOffset>("CreatedTime")
+                        .HasColumnType("datetimeoffset");
+
+                    b.Property<Guid?>("CreatedUserId")
+                        .HasColumnType("uniqueidentifier");
+
+                    b.Property<DateTime?>("ExpiredTime")
+                        .HasColumnType("datetime2");
+
+                    b.Property<bool>("IsDeleted")
+                        .HasColumnType("bit");
+
+                    b.Property<int>("Scene")
+                        .HasColumnType("int");
+
+                    b.Property<int>("Sort")
+                        .HasColumnType("int");
+
+                    b.Property<string>("TraceId")
+                        .HasColumnType("nvarchar(max)");
+
+                    b.Property<DateTimeOffset?>("UpdatedTime")
+                        .HasColumnType("datetimeoffset");
+
+                    b.Property<Guid?>("UpdatedUserId")
+                        .HasColumnType("uniqueidentifier");
+
+                    b.Property<string>("Url")
+                        .HasColumnType("nvarchar(max)");
+
+                    b.HasKey("Id");
+
+                    b.ToTable("CodeUrl", (string)null);
+                });
+
             modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b =>
                 {
                     b.Property<Guid>("Id")
@@ -98,7 +145,7 @@
 
                     b.HasIndex("EnterpriseId");
 
-                    b.ToTable("ContractTemplate");
+                    b.ToTable("ContractTemplate", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.ContractTemplateValue", b =>
@@ -159,7 +206,7 @@
 
                     b.HasIndex("TemplateId");
 
-                    b.ToTable("ContractTemplateValue");
+                    b.ToTable("ContractTemplateValue", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Department", b =>
@@ -217,7 +264,7 @@
 
                     b.HasIndex("ParentId");
 
-                    b.ToTable("Department");
+                    b.ToTable("Department", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.DictionaryCategory", b =>
@@ -268,7 +315,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("DictionaryCategory");
+                    b.ToTable("DictionaryCategory", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b =>
@@ -349,7 +396,7 @@
 
                     b.HasIndex("ParentId");
 
-                    b.ToTable("DictionaryData");
+                    b.ToTable("DictionaryData", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b =>
@@ -399,7 +446,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("ElectronSignSetting");
+                    b.ToTable("ElectronSignSetting", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Enterprise", b =>
@@ -527,7 +574,7 @@
 
                     b.HasIndex("ProvinceCode");
 
-                    b.ToTable("Enterprise");
+                    b.ToTable("Enterprise", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b =>
@@ -626,7 +673,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("EnterpriseAuth");
+                    b.ToTable("EnterpriseAuth", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b =>
@@ -680,7 +727,7 @@
 
                     b.HasIndex("EnterpriseId");
 
-                    b.ToTable("EnterpriseCost");
+                    b.ToTable("EnterpriseCost", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b =>
@@ -723,7 +770,7 @@
 
                     b.HasIndex("EnterpriseId");
 
-                    b.ToTable("EnterpriseElectronSignSetting");
+                    b.ToTable("EnterpriseElectronSignSetting", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b =>
@@ -823,7 +870,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("EnterpriseEmployee");
+                    b.ToTable("EnterpriseEmployee", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b =>
@@ -892,7 +939,7 @@
 
                     b.HasIndex("EnterpriseEmployeeId");
 
-                    b.ToTable("EnterpriseEmployeeContract");
+                    b.ToTable("EnterpriseEmployeeContract", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b =>
@@ -949,7 +996,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("EnterpriseUserCollect");
+                    b.ToTable("EnterpriseUserCollect", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b =>
@@ -960,6 +1007,9 @@
 
                     b.Property<int>("Access")
                         .HasColumnType("int");
+
+                    b.Property<string>("Account")
+                        .HasColumnType("nvarchar(max)");
 
                     b.Property<string>("AccountBookId")
                         .HasColumnType("nvarchar(max)");
@@ -1018,6 +1068,9 @@
                     b.Property<bool>("IsDeleted")
                         .HasColumnType("bit");
 
+                    b.Property<string>("MerchantId")
+                        .HasColumnType("nvarchar(max)");
+
                     b.Property<string>("PersonalProductCode")
                         .HasColumnType("nvarchar(max)");
 
@@ -1067,7 +1120,7 @@
 
                     b.HasIndex("EnterpriseId");
 
-                    b.ToTable("EnterpriseWallet");
+                    b.ToTable("EnterpriseWallet", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b =>
@@ -1164,7 +1217,7 @@
 
                     b.HasIndex("WalletId");
 
-                    b.ToTable("EnterpriseWalletExpandindirectOrder");
+                    b.ToTable("EnterpriseWalletExpandindirectOrder", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrderFile", b =>
@@ -1210,7 +1263,7 @@
 
                     b.HasIndex("OrderId");
 
-                    b.ToTable("EnterpriseWalletExpandindirectOrderFile");
+                    b.ToTable("EnterpriseWalletExpandindirectOrderFile", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b =>
@@ -1279,6 +1332,12 @@
                     b.Property<string>("ProductCode")
                         .HasColumnType("nvarchar(max)");
 
+                    b.Property<string>("ReceiveAccount")
+                        .HasColumnType("nvarchar(max)");
+
+                    b.Property<string>("ReceiveName")
+                        .HasColumnType("nvarchar(max)");
+
                     b.Property<string>("ReceiverOpenId")
                         .HasColumnType("nvarchar(max)");
 
@@ -1299,6 +1358,9 @@
 
                     b.Property<string>("SubStatus")
                         .HasColumnType("nvarchar(max)");
+
+                    b.Property<Guid?>("TaskUserId")
+                        .HasColumnType("uniqueidentifier");
 
                     b.Property<string>("TraceId")
                         .HasColumnType("nvarchar(max)");
@@ -1323,9 +1385,11 @@
 
                     b.HasKey("Id");
 
+                    b.HasIndex("TaskUserId");
+
                     b.HasIndex("WalletId");
 
-                    b.ToTable("EnterpriseWalletTransaction");
+                    b.ToTable("EnterpriseWalletTransaction", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
@@ -1413,7 +1477,7 @@
 
                     b.HasIndex("ParentId");
 
-                    b.ToTable("Menu");
+                    b.ToTable("Menu", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Resource", b =>
@@ -1513,7 +1577,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("Resource");
+                    b.ToTable("Resource", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.Role", b =>
@@ -1571,7 +1635,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("Role");
+                    b.ToTable("Role", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.RoleMenu", b =>
@@ -1616,7 +1680,7 @@
 
                     b.HasIndex("RoleId");
 
-                    b.ToTable("RoleMenu");
+                    b.ToTable("RoleMenu", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.RoleResource", b =>
@@ -1664,7 +1728,7 @@
 
                     b.HasIndex("RoleId");
 
-                    b.ToTable("RoleResource");
+                    b.ToTable("RoleResource", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.ScheduleJobDetail", b =>
@@ -1723,7 +1787,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("ScheduleJobDetail");
+                    b.ToTable("ScheduleJobDetail", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTrigger", b =>
@@ -1824,7 +1888,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("ScheduleJobTrigger");
+                    b.ToTable("ScheduleJobTrigger", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b =>
@@ -1974,7 +2038,7 @@
 
                     b.HasIndex("ProvinceCode");
 
-                    b.ToTable("TaskInfo");
+                    b.ToTable("TaskInfo", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b =>
@@ -2020,7 +2084,7 @@
 
                     b.HasIndex("TaskInfoId");
 
-                    b.ToTable("TaskInfoBenefit");
+                    b.ToTable("TaskInfoBenefit", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfoCredentialLimit", b =>
@@ -2066,7 +2130,7 @@
 
                     b.HasIndex("TypeCode");
 
-                    b.ToTable("TaskInfoCredentialLimit");
+                    b.ToTable("TaskInfoCredentialLimit", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
@@ -2162,7 +2226,7 @@
 
                     b.HasIndex("TaskInfoId");
 
-                    b.ToTable("TaskInfoUser");
+                    b.ToTable("TaskInfoUser", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b =>
@@ -2211,7 +2275,7 @@
 
                     b.HasIndex("TaskInfoUserId");
 
-                    b.ToTable("TaskInfoUserSubmit");
+                    b.ToTable("TaskInfoUserSubmit", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b =>
@@ -2255,7 +2319,7 @@
 
                     b.HasIndex("SubmitId");
 
-                    b.ToTable("TaskInfoUserSubmitFile");
+                    b.ToTable("TaskInfoUserSubmitFile", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b =>
@@ -2300,7 +2364,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("TaskUserCollect");
+                    b.ToTable("TaskUserCollect", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.User", b =>
@@ -2447,7 +2511,7 @@
 
                     b.HasIndex("ProvinceCode");
 
-                    b.ToTable("User");
+                    b.ToTable("User", (string)null);
 
                     b.HasData(
                         new
@@ -2548,7 +2612,7 @@
 
                     b.HasKey("Id");
 
-                    b.ToTable("UserAuth");
+                    b.ToTable("UserAuth", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b =>
@@ -2556,6 +2620,9 @@
                     b.Property<Guid>("Id")
                         .ValueGeneratedOnAdd()
                         .HasColumnType("uniqueidentifier");
+
+                    b.Property<int>("Access")
+                        .HasColumnType("int");
 
                     b.Property<string>("Bank")
                         .HasColumnType("nvarchar(max)");
@@ -2576,14 +2643,8 @@
                     b.Property<Guid?>("CreatedUserId")
                         .HasColumnType("uniqueidentifier");
 
-                    b.Property<string>("Identity")
-                        .HasColumnType("nvarchar(max)");
-
                     b.Property<bool>("IsDeleted")
                         .HasColumnType("bit");
-
-                    b.Property<string>("Name")
-                        .HasColumnType("nvarchar(max)");
 
                     b.Property<string>("PhoneNumber")
                         .HasMaxLength(11)
@@ -2608,7 +2669,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserBankCard");
+                    b.ToTable("UserBankCard", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserCredential", b =>
@@ -2676,7 +2737,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserCredential");
+                    b.ToTable("UserCredential", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserDepartment", b =>
@@ -2721,7 +2782,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserDepartment");
+                    b.ToTable("UserDepartment", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b =>
@@ -2767,7 +2828,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserExpectJob");
+                    b.ToTable("UserExpectJob", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b =>
@@ -2810,7 +2871,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserManageIndustrialPark");
+                    b.ToTable("UserManageIndustrialPark", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b =>
@@ -2853,7 +2914,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserPhoto");
+                    b.ToTable("UserPhoto", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.UserRole", b =>
@@ -2898,7 +2959,7 @@
 
                     b.HasIndex("UserId");
 
-                    b.ToTable("UserRole");
+                    b.ToTable("UserRole", (string)null);
                 });
 
             modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b =>
@@ -3117,12 +3178,18 @@
 
             modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b =>
                 {
+                    b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskUser")
+                        .WithMany()
+                        .HasForeignKey("TaskUserId");
+
                     b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet")
                         .WithMany()
                         .HasForeignKey("WalletId")
                         .OnDelete(DeleteBehavior.Cascade)
                         .IsRequired();
 
+                    b.Navigation("TaskUser");
+
                     b.Navigation("Wallet");
                 });
 

--
Gitblit v1.9.1