sunpengfei
2025-08-08 cd967e892418733e0bf4878c26f0cdb60c958120
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -577,11 +577,9 @@
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ResponseTypeFullName")
                        .IsRequired()
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ResponseTypeName")
                        .IsRequired()
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("Route")
@@ -820,10 +818,10 @@
                        .HasColumnType("bit");
                    b.Property<decimal?>("Latitude")
                        .HasColumnType("decimal(18,2)");
                        .HasColumnType("decimal(18,6)");
                    b.Property<decimal?>("Longitude")
                        .HasColumnType("decimal(18,2)");
                        .HasColumnType("decimal(18,6)");
                    b.Property<string>("Name")
                        .IsRequired()
@@ -1028,6 +1026,9 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int?>("Age")
                        .HasColumnType("int");
                    b.Property<string>("Avatar")
                        .HasColumnType("nvarchar(max)");
@@ -1046,6 +1047,12 @@
                    b.Property<Guid?>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int?>("Gender")
                        .HasColumnType("int");
                    b.Property<string>("Identity")
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("IsCheckPhoneNumber")
                        .HasColumnType("bit");
@@ -1059,7 +1066,6 @@
                        .HasColumnType("int");
                    b.Property<string>("Name")
                        .IsRequired()
                        .HasMaxLength(32)
                        .HasColumnType("nvarchar(32)");
@@ -1723,7 +1729,7 @@
                    b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo")
                        .WithMany("Benefits")
                        .HasForeignKey("TaskInfoId")
                        .OnDelete(DeleteBehavior.Restrict)
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Benefit");
@@ -1754,7 +1760,7 @@
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
                {
                    b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo")
                        .WithMany()
                        .WithMany("Users")
                        .HasForeignKey("TaskInfoId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
@@ -1971,6 +1977,8 @@
                    b.Navigation("Benefits");
                    b.Navigation("CredentialLimits");
                    b.Navigation("Users");
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>