sunpengfei
3 天以前 ced7ed5d9b3e0cd0c1bdbc9d76d1906301d189c2
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -46,6 +46,21 @@
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("ParamValue1")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ParamValue2")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ParamValue3")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ParamValue4")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ParamValue5")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Scene")
                        .HasColumnType("int");
@@ -1062,6 +1077,9 @@
                    b.Property<Guid>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal>("FreezeBalance")
                        .HasColumnType("decimal(18,2)");
                    b.Property<DateTime?>("InvalidTime")
                        .HasColumnType("datetime2");
@@ -1272,6 +1290,9 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal>("AfterBalance")
                        .HasColumnType("decimal(18,2)");
                    b.Property<decimal>("Amount")
                        .HasColumnType("decimal(18,2)");
@@ -1320,6 +1341,12 @@
                    b.Property<string>("Link")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTime?>("OperatorTime")
                        .HasColumnType("datetime2");
                    b.Property<Guid?>("OperatorUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal?>("OrderFee")
                        .HasColumnType("decimal(18,2)");
@@ -1331,6 +1358,15 @@
                    b.Property<string>("ProductCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ReceiveAccount")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ReceiveName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("ReceiveUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("ReceiverOpenId")
                        .HasColumnType("nvarchar(max)");
@@ -1352,6 +1388,9 @@
                    b.Property<string>("SubStatus")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("TaskUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
@@ -1375,6 +1414,12 @@
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("OperatorUserId");
                    b.HasIndex("ReceiveUserId");
                    b.HasIndex("TaskUserId");
                    b.HasIndex("WalletId");
@@ -1977,6 +2022,9 @@
                    b.Property<int>("SettlementCycle")
                        .HasColumnType("int");
                    b.Property<Guid?>("SettlementOperatorUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("SettlementOrderName")
                        .HasColumnType("nvarchar(max)");
@@ -2026,6 +2074,8 @@
                    b.HasIndex("EnterpriseId");
                    b.HasIndex("ProvinceCode");
                    b.HasIndex("SettlementOperatorUserId");
                    b.ToTable("TaskInfo");
                });
@@ -2127,6 +2177,9 @@
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal>("ActualAmount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<decimal?>("ActualSettlementAmount")
                        .HasColumnType("decimal(18,2)");
@@ -2610,6 +2663,9 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<string>("Bank")
                        .HasColumnType("nvarchar(max)");
@@ -2629,14 +2685,8 @@
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Identity")
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("Name")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PhoneNumber")
                        .HasMaxLength(11)
@@ -3170,11 +3220,29 @@
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b =>
                {
                    b.HasOne("FlexJobApi.Core.User", "OperatorUser")
                        .WithMany()
                        .HasForeignKey("OperatorUserId");
                    b.HasOne("FlexJobApi.Core.User", "ReceiveUser")
                        .WithMany()
                        .HasForeignKey("ReceiveUserId");
                    b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskUser")
                        .WithMany()
                        .HasForeignKey("TaskUserId");
                    b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet")
                        .WithMany()
                        .HasForeignKey("WalletId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("OperatorUser");
                    b.Navigation("ReceiveUser");
                    b.Navigation("TaskUser");
                    b.Navigation("Wallet");
                });
@@ -3246,11 +3314,17 @@
                        .HasPrincipalKey("Code")
                        .OnDelete(DeleteBehavior.Restrict);
                    b.HasOne("FlexJobApi.Core.User", "SettlementOperatorUser")
                        .WithMany()
                        .HasForeignKey("SettlementOperatorUserId");
                    b.Navigation("City");
                    b.Navigation("Enterprise");
                    b.Navigation("Province");
                    b.Navigation("SettlementOperatorUser");
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b =>