sunpengfei
2 天以前 78b5e0a2e4c48239983e236c48f8c0b897d69f9e
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -22,6 +22,68 @@
            SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
            modelBuilder.Entity("FlexJobApi.Core.CodeUrl", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Code")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTime?>("ExpiredTime")
                        .HasColumnType("datetime2");
                    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");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Url")
                        .HasColumnType("nvarchar(max)");
                    b.HasKey("Id");
                    b.ToTable("CodeUrl");
                });
            modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b =>
                {
                    b.Property<Guid>("Id")
@@ -1285,6 +1347,12 @@
                    b.Property<string>("ProductCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ReceiveAccount")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ReceiveName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ReceiverOpenId")
                        .HasColumnType("nvarchar(max)");
@@ -1305,6 +1373,9 @@
                    b.Property<string>("SubStatus")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("TaskUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
@@ -1328,6 +1399,8 @@
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("TaskUserId");
                    b.HasIndex("WalletId");
@@ -2563,6 +2636,9 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<string>("Bank")
                        .HasColumnType("nvarchar(max)");
@@ -2582,14 +2658,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)
@@ -3123,12 +3193,18 @@
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b =>
                {
                    b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskUser")
                        .WithMany()
                        .HasForeignKey("TaskUserId");
                    b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet")
                        .WithMany()
                        .HasForeignKey("WalletId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("TaskUser");
                    b.Navigation("Wallet");
                });