| | |
| | | b.Property<DateTime?>("ArrangeTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int?>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<DateTime?>("LastSubmitTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<Guid?>("UserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("EnterpriseEmployeeId"); |
| | | |
| | | b.HasIndex("TaskInfoId"); |
| | | |
| | | b.HasIndex("UserId"); |
| | | |
| | | b.ToTable("TaskInfoUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.Property<Guid>("Id") |
| | | .ValueGeneratedOnAdd() |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<int>("CheckReceiveStatus") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime?>("CheckReceiveTime") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<Guid?>("CreatedEnterpriseId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTimeOffset>("CreatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime>("Date") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("TaskInfoUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("TaskInfoUserId"); |
| | | |
| | | b.ToTable("TaskInfoUserSubmit"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", 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<string>("File") |
| | | .IsRequired() |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<bool>("IsDeleted") |
| | | .HasColumnType("bit"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<Guid>("SubmitId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<string>("TraceId") |
| | | .HasColumnType("nvarchar(max)"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("UpdatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.HasKey("Id"); |
| | | |
| | | b.HasIndex("SubmitId"); |
| | | |
| | | b.ToTable("TaskInfoUserSubmitFile"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | |
| | | b.Property<Guid?>("CreatedUserId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | |
| | | b.Property<DateTime>("EndDate") |
| | | b.Property<DateTime?>("EndDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("Img") |
| | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | |
| | | b.Property<DateTime>("StartDate") |
| | | b.Property<DateTime?>("StartDate") |
| | | .HasColumnType("datetime2"); |
| | | |
| | | b.Property<string>("TraceId") |
| | |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", "User") |
| | | .WithMany() |
| | | .WithMany("EnterpriseEmployees") |
| | | .HasForeignKey("UserId"); |
| | | |
| | | b.Navigation("Enterprise"); |
| | |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.HasOne("FlexJobApi.Core.User", null) |
| | | .WithMany("TaskInfoUsers") |
| | | .HasForeignKey("UserId"); |
| | | |
| | | b.Navigation("EnterpriseEmployee"); |
| | | |
| | | b.Navigation("TaskInfo"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskInfoUser") |
| | | .WithMany("Submits") |
| | | .HasForeignKey("TaskInfoUserId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("TaskInfoUser"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b => |
| | | { |
| | | b.HasOne("FlexJobApi.Core.TaskInfoUserSubmit", "Submit") |
| | | .WithMany("Files") |
| | | .HasForeignKey("SubmitId") |
| | | .OnDelete(DeleteBehavior.Cascade) |
| | | .IsRequired(); |
| | | |
| | | b.Navigation("Submit"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | |
| | | b.Navigation("TaskInfoUsers"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => |
| | | { |
| | | b.Navigation("Submits"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => |
| | | { |
| | | b.Navigation("Files"); |
| | | }); |
| | | |
| | | modelBuilder.Entity("FlexJobApi.Core.User", b => |
| | | { |
| | | b.Navigation("BankCards"); |
| | | |
| | | b.Navigation("Photos"); |
| | | b.Navigation("EnterpriseEmployees"); |
| | | |
| | | b.Navigation("TaskInfoUsers"); |
| | | b.Navigation("Photos"); |
| | | |
| | | b.Navigation("UserAuth"); |
| | | |