sunpengfei
2025-08-12 aa7fd6fbf2ce1a674930763e8c24a7c2a0b4d0af
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -1129,6 +1129,15 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int?>("ArrangeStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("ArrangeTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("ContractUrl")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
@@ -1138,6 +1147,12 @@
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int?>("EnterpriseSignContractStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("EnterpriseSignContractTime")
                        .HasColumnType("datetime2");
                    b.Property<int>("HireStatus")
                        .HasColumnType("int");
@@ -1146,12 +1161,6 @@
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<int?>("SignContractStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("SignContractTime")
                        .HasColumnType("datetime2");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
@@ -1170,6 +1179,12 @@
                    b.Property<Guid>("UserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int?>("UserSignContractStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("UserSignContractTime")
                        .HasColumnType("datetime2");
                    b.HasKey("Id");
@@ -1197,6 +1212,10 @@
                    b.Property<string>("CityCode")
                        .HasColumnType("nvarchar(128)");
                    b.Property<string>("ContactPhoneNumber")
                        .HasMaxLength(11)
                        .HasColumnType("nvarchar(11)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
@@ -1259,6 +1278,12 @@
                    b.Property<int?>("RealAccess")
                        .HasColumnType("int");
                    b.Property<int?>("RealMethod")
                        .HasColumnType("int");
                    b.Property<DateTime?>("RealTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("Remark")
                        .HasColumnType("nvarchar(max)");
@@ -1693,6 +1718,51 @@
                    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")
@@ -1882,13 +1952,13 @@
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
                {
                    b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo")
                        .WithMany("Users")
                        .WithMany("TaskInfoUsers")
                        .HasForeignKey("TaskInfoId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.HasOne("FlexJobApi.Core.User", "User")
                        .WithMany()
                        .WithMany("TaskInfoUsers")
                        .HasForeignKey("UserId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
@@ -2050,6 +2120,25 @@
                    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");
                });
            modelBuilder.Entity("FlexJobApi.Core.Department", b =>
                {
                    b.Navigation("Children");
@@ -2089,7 +2178,7 @@
                    b.Navigation("CredentialLimits");
                    b.Navigation("Users");
                    b.Navigation("TaskInfoUsers");
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>
@@ -2098,6 +2187,8 @@
                    b.Navigation("Photos");
                    b.Navigation("TaskInfoUsers");
                    b.Navigation("UserAuth");
                    b.Navigation("UserCredentials");