From cde3ca90e796a972bafc11cbde4e207c1097ebd4 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期四, 14 八月 2025 16:00:33 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs | 26 ++++++++++++++++++-------- 1 files changed, 18 insertions(+), 8 deletions(-) diff --git a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs index 0039b18..bf33919 100644 --- a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs +++ b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs @@ -436,6 +436,9 @@ b.Property<int?>("Age") .HasColumnType("int"); + b.Property<DateTime?>("Birthday") + .HasColumnType("datetime2"); + b.Property<string>("ContactPhoneNumber") .HasMaxLength(11) .HasColumnType("nvarchar(11)"); @@ -463,12 +466,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)"); @@ -700,6 +697,9 @@ b.Property<string>("DynamicAssemblyName") .HasColumnType("nvarchar(max)"); + + b.Property<bool>("FileUpload") + .HasColumnType("bit"); b.Property<bool>("IsDeleted") .HasColumnType("bit"); @@ -1307,6 +1307,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"); @@ -2100,7 +2106,7 @@ .IsRequired(); b.HasOne("FlexJobApi.Core.User", "User") - .WithMany() + .WithMany("EnterpriseUserCollects") .HasForeignKey("UserId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); @@ -2268,7 +2274,7 @@ modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b => { b.HasOne("FlexJobApi.Core.TaskInfo", "TaskInfo") - .WithMany() + .WithMany("TaskUserCollects") .HasForeignKey("TaskInfoId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); @@ -2481,6 +2487,8 @@ b.Navigation("CredentialLimits"); b.Navigation("TaskInfoUsers"); + + b.Navigation("TaskUserCollects"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => @@ -2499,6 +2507,8 @@ b.Navigation("EnterpriseEmployees"); + b.Navigation("EnterpriseUserCollects"); + b.Navigation("Photos"); b.Navigation("UserAuth"); -- Gitblit v1.9.1