sunpengfei
6 天以前 dcf43da6ca36a4476139305174a6bd6dd48630d0
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -22,6 +22,53 @@
            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<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")
@@ -961,6 +1008,9 @@
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<string>("Account")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("AccountBookId")
                        .HasColumnType("nvarchar(max)");
@@ -1017,6 +1067,9 @@
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("MerchantId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PersonalProductCode")
                        .HasColumnType("nvarchar(max)");
@@ -1300,6 +1353,9 @@
                    b.Property<string>("SubStatus")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("TaskUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
@@ -1322,6 +1378,8 @@
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("TaskUserId");
                    b.HasIndex("WalletId");
@@ -2557,6 +2615,9 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<string>("Bank")
                        .HasColumnType("nvarchar(max)");
@@ -2576,14 +2637,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)
@@ -3117,12 +3172,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");
                });