sunpengfei
2025-08-18 b34043b9d0c62eff88b14a2689940bea1c39e38e
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -218,6 +218,9 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Address")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("BankBranchName")
                        .HasColumnType("nvarchar(max)");
@@ -255,6 +258,15 @@
                        .IsRequired()
                        .HasMaxLength(128)
                        .HasColumnType("nvarchar(128)");
                    b.Property<string>("EnterpriseType")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("EstablishmentDate")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("IndustrialParkId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("IndustryTypeCode")
                        .HasColumnType("nvarchar(128)");
@@ -296,6 +308,9 @@
                    b.Property<decimal?>("RealVerifyCost")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("RegisteredCapital")
                        .HasColumnType("nvarchar(max)");
                    b.Property<decimal?>("SignCost")
                        .HasColumnType("decimal(18,2)");
@@ -436,6 +451,9 @@
                    b.Property<int?>("Age")
                        .HasColumnType("int");
                    b.Property<DateTime?>("Birthday")
                        .HasColumnType("datetime2");
                    b.Property<string>("ContactPhoneNumber")
                        .HasMaxLength(11)
                        .HasColumnType("nvarchar(11)");
@@ -463,12 +481,6 @@
                    b.Property<int?>("Gender")
                        .HasColumnType("int");
                    b.Property<int>("HireStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("HireTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("Identity")
                        .HasColumnType("nvarchar(max)");
@@ -514,6 +526,63 @@
                    b.HasIndex("UserId");
                    b.ToTable("EnterpriseEmployee");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTime?>("CollectedTime")
                        .HasColumnType("datetime2");
                    b.Property<DateTime?>("ContactedTime")
                        .HasColumnType("datetime2");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsCollected")
                        .HasColumnType("bit");
                    b.Property<bool>("IsContacted")
                        .HasColumnType("bit");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    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<Guid>("UserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("EnterpriseId");
                    b.HasIndex("UserId");
                    b.ToTable("EnterpriseUserCollect");
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
@@ -643,6 +712,9 @@
                    b.Property<string>("DynamicAssemblyName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("FileUpload")
                        .HasColumnType("bit");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
@@ -1251,6 +1323,12 @@
                    b.Property<Guid>("EnterpriseEmployeeId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("HireStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("HireTime")
                        .HasColumnType("datetime2");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
@@ -1377,6 +1455,51 @@
                    b.ToTable("TaskInfoUserSubmitFile");
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<Guid>("TaskInfoId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("UserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("TaskInfoId");
                    b.HasIndex("UserId");
                    b.ToTable("TaskUserCollect");
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>
                {
                    b.Property<Guid>("Id")
@@ -1406,6 +1529,12 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int?>("DataSource")
                        .HasColumnType("int");
                    b.Property<Guid?>("DataSourceId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("EducationalBackgroundCode")
@@ -1812,6 +1941,49 @@
                    b.ToTable("UserExpectJob");
                });
            modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("IndustrialParkId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    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<Guid>("UserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("UserId");
                    b.ToTable("UserManageIndustrialPark");
                });
            modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b =>
                {
                    b.Property<Guid>("Id")
@@ -1900,51 +2072,6 @@
                    b.ToTable("UserRole");
                });
            modelBuilder.Entity("FlexJobApi.Core.UserTaskCollect", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<Guid>("TaskInfoId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("UserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("TaskInfoId");
                    b.HasIndex("UserId");
                    b.ToTable("UserTaskCollect");
                });
            modelBuilder.Entity("FlexJobApi.Core.Department", b =>
                {
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
@@ -2028,6 +2155,25 @@
                    b.HasOne("FlexJobApi.Core.User", "User")
                        .WithMany("EnterpriseEmployees")
                        .HasForeignKey("UserId");
                    b.Navigation("Enterprise");
                    b.Navigation("User");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b =>
                {
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
                        .WithMany()
                        .HasForeignKey("EnterpriseId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.HasOne("FlexJobApi.Core.User", "User")
                        .WithMany("EnterpriseUserCollects")
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Enterprise");
@@ -2189,6 +2335,25 @@
                    b.Navigation("Submit");
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b =>
                {
                    b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo")
                        .WithMany("TaskUserCollects")
                        .HasForeignKey("TaskInfoId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.HasOne("FlexJobApi.Core.User", "User")
                        .WithMany()
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("TaskInfo");
                    b.Navigation("User");
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>
                {
                    b.HasOne("FlexJobApi.Core.DictionaryData", "City")
@@ -2311,6 +2476,17 @@
                    b.Navigation("User");
                });
            modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b =>
                {
                    b.HasOne("FlexJobApi.Core.User", "User")
                        .WithMany("UserManageIndustrialParks")
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("User");
                });
            modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b =>
                {
                    b.HasOne("FlexJobApi.Core.User", "User")
@@ -2337,25 +2513,6 @@
                        .IsRequired();
                    b.Navigation("Role");
                    b.Navigation("User");
                });
            modelBuilder.Entity("FlexJobApi.Core.UserTaskCollect", b =>
                {
                    b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo")
                        .WithMany()
                        .HasForeignKey("TaskInfoId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.HasOne("FlexJobApi.Core.User", "User")
                        .WithMany()
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("TaskInfo");
                    b.Navigation("User");
                });
@@ -2405,6 +2562,8 @@
                    b.Navigation("CredentialLimits");
                    b.Navigation("TaskInfoUsers");
                    b.Navigation("TaskUserCollects");
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
@@ -2423,6 +2582,8 @@
                    b.Navigation("EnterpriseEmployees");
                    b.Navigation("EnterpriseUserCollects");
                    b.Navigation("Photos");
                    b.Navigation("UserAuth");
@@ -2433,6 +2594,8 @@
                    b.Navigation("UserExpectJobs");
                    b.Navigation("UserManageIndustrialParks");
                    b.Navigation("UserRoles");
                });
#pragma warning restore 612, 618