sunpengfei
2025-08-12 d77f3d84ce7cd4e06dcc98653b38370bac2b4926
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");
@@ -1266,6 +1281,9 @@
                    b.Property<int?>("RealMethod")
                        .HasColumnType("int");
                    b.Property<DateTime?>("RealTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("Remark")
                        .HasColumnType("nvarchar(max)");
@@ -1700,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")
@@ -1889,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();
@@ -2057,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");
@@ -2096,7 +2178,7 @@
                    b.Navigation("CredentialLimits");
                    b.Navigation("Users");
                    b.Navigation("TaskInfoUsers");
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>
@@ -2105,6 +2187,8 @@
                    b.Navigation("Photos");
                    b.Navigation("TaskInfoUsers");
                    b.Navigation("UserAuth");
                    b.Navigation("UserCredentials");