sunpengfei
3 天以前 b288e7effa0edc09baad6089433a38b2b29b29db
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -22,16 +22,13 @@
            SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
            modelBuilder.Entity("FlexJobApi.Core.AlipayFundExpandindirectOrder", b =>
            modelBuilder.Entity("FlexJobApi.Core.CodeUrl", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("BizScene")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("BizType")
                    b.Property<string>("Code")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("CreatedEnterpriseId")
@@ -43,65 +40,17 @@
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Identity")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("IdentityType")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTime?>("ExpiredTime")
                        .HasColumnType("datetime2");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("Name")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("OrderId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("OriginalOrderId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("OutBizNo")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ProductCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("RiskReviewRemark")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneDirections")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneImage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneImageOssUrl")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneQualificationImage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneQualificationImageOssUrl")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneQualificationText")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("Sites")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Scene")
                        .HasColumnType("int");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("Status")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("TaskFinishTime")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
@@ -112,9 +61,12 @@
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Url")
                        .HasColumnType("nvarchar(max)");
                    b.HasKey("Id");
                    b.ToTable("AlipayFundExpandindirectOrder");
                    b.ToTable("CodeUrl", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b =>
@@ -193,7 +145,7 @@
                    b.HasIndex("EnterpriseId");
                    b.ToTable("ContractTemplate");
                    b.ToTable("ContractTemplate", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ContractTemplateValue", b =>
@@ -254,7 +206,7 @@
                    b.HasIndex("TemplateId");
                    b.ToTable("ContractTemplateValue");
                    b.ToTable("ContractTemplateValue", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Department", b =>
@@ -312,7 +264,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("Department");
                    b.ToTable("Department", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.DictionaryCategory", b =>
@@ -363,7 +315,7 @@
                    b.HasKey("Id");
                    b.ToTable("DictionaryCategory");
                    b.ToTable("DictionaryCategory", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b =>
@@ -444,7 +396,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("DictionaryData");
                    b.ToTable("DictionaryData", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b =>
@@ -494,7 +446,7 @@
                    b.HasKey("Id");
                    b.ToTable("ElectronSignSetting");
                    b.ToTable("ElectronSignSetting", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Enterprise", b =>
@@ -622,7 +574,7 @@
                    b.HasIndex("ProvinceCode");
                    b.ToTable("Enterprise");
                    b.ToTable("Enterprise", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b =>
@@ -721,7 +673,7 @@
                    b.HasKey("Id");
                    b.ToTable("EnterpriseAuth");
                    b.ToTable("EnterpriseAuth", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b =>
@@ -775,7 +727,7 @@
                    b.HasIndex("EnterpriseId");
                    b.ToTable("EnterpriseCost");
                    b.ToTable("EnterpriseCost", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b =>
@@ -818,7 +770,7 @@
                    b.HasIndex("EnterpriseId");
                    b.ToTable("EnterpriseElectronSignSetting");
                    b.ToTable("EnterpriseElectronSignSetting", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b =>
@@ -918,7 +870,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("EnterpriseEmployee");
                    b.ToTable("EnterpriseEmployee", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b =>
@@ -987,7 +939,7 @@
                    b.HasIndex("EnterpriseEmployeeId");
                    b.ToTable("EnterpriseEmployeeContract");
                    b.ToTable("EnterpriseEmployeeContract", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b =>
@@ -1044,7 +996,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("EnterpriseUserCollect");
                    b.ToTable("EnterpriseUserCollect", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b =>
@@ -1056,6 +1008,45 @@
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<string>("Account")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("AccountBookId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("AccountBookStatus")
                        .HasColumnType("int");
                    b.Property<string>("AgreementNo")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("AlipayLogonId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<decimal>("Balance")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("BankAccName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("CardBank")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("CardBranch")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("CardDeposit")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("CardLocation")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("CardNo")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("Code")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
@@ -1065,14 +1056,50 @@
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("CreditAuthMode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTime?>("InvalidTime")
                        .HasColumnType("datetime2");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("MerchantId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PersonalProductCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PricipalType")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PrincipalId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PrincipalOpenId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ProductCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SignScene")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("SignStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("SignTime")
                        .HasColumnType("datetime2");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("ThirdPartyType")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
@@ -1083,11 +1110,286 @@
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTime?>("ValidTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("ZmOpenId")
                        .HasColumnType("nvarchar(max)");
                    b.HasKey("Id");
                    b.HasIndex("EnterpriseId");
                    b.ToTable("EnterpriseWallet");
                    b.ToTable("EnterpriseWallet", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("BizScene")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("BizType")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Identity")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("IdentityType")
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("Name")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("OrderId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("OrderStatus")
                        .HasColumnType("int");
                    b.Property<string>("OriginalOrderId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("OutBizNo")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ProductCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("RiskReviewRemark")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Scene")
                        .HasColumnType("int");
                    b.Property<string>("SceneCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneDirections")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneImage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SceneQualificationImage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("Sites")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("Status")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTime?>("TaskFinishTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("WalletId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("WalletId");
                    b.ToTable("EnterpriseWalletExpandindirectOrder", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrderFile", 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")
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<Guid>("OrderId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Type")
                        .HasColumnType("int");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("OrderId");
                    b.ToTable("EnterpriseWalletExpandindirectOrderFile", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal>("Amount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<DateTime?>("ArrivalTimeEnd")
                        .HasColumnType("datetime2");
                    b.Property<decimal>("Balance")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("BizScene")
                        .HasColumnType("nvarchar(max)");
                    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<string>("ErrorCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("FailInstErrorCode")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("FailInstName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("FailInstReason")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("FailReason")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("InflowSettleSerialNo")
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<string>("Link")
                        .HasColumnType("nvarchar(max)");
                    b.Property<decimal?>("OrderFee")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("OrderId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("PayFundOrderId")
                        .HasColumnType("nvarchar(max)");
                    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)");
                    b.Property<string>("ReceiverUserId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("Remark")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SettleSerialNo")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("Status")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SubStatus")
                        .HasColumnType("nvarchar(max)");
                    b.Property<Guid?>("TaskUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTime?>("TransDate")
                        .HasColumnType("datetime2");
                    b.Property<int>("TransactionStatus")
                        .HasColumnType("int");
                    b.Property<int>("Type")
                        .HasColumnType("int");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("WalletId")
                        .HasColumnType("uniqueidentifier");
                    b.HasKey("Id");
                    b.HasIndex("TaskUserId");
                    b.HasIndex("WalletId");
                    b.ToTable("EnterpriseWalletTransaction", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
@@ -1175,7 +1477,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("Menu");
                    b.ToTable("Menu", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Resource", b =>
@@ -1275,7 +1577,7 @@
                    b.HasKey("Id");
                    b.ToTable("Resource");
                    b.ToTable("Resource", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Role", b =>
@@ -1333,7 +1635,7 @@
                    b.HasKey("Id");
                    b.ToTable("Role");
                    b.ToTable("Role", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.RoleMenu", b =>
@@ -1378,7 +1680,7 @@
                    b.HasIndex("RoleId");
                    b.ToTable("RoleMenu");
                    b.ToTable("RoleMenu", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.RoleResource", b =>
@@ -1426,7 +1728,7 @@
                    b.HasIndex("RoleId");
                    b.ToTable("RoleResource");
                    b.ToTable("RoleResource", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ScheduleJobDetail", b =>
@@ -1485,7 +1787,7 @@
                    b.HasKey("Id");
                    b.ToTable("ScheduleJobDetail");
                    b.ToTable("ScheduleJobDetail", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTrigger", b =>
@@ -1586,7 +1888,7 @@
                    b.HasKey("Id");
                    b.ToTable("ScheduleJobTrigger");
                    b.ToTable("ScheduleJobTrigger", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b =>
@@ -1594,6 +1896,9 @@
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal?>("ActualSettlementAmount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("AddressDetail")
                        .HasColumnType("nvarchar(max)");
@@ -1677,14 +1982,38 @@
                    b.Property<decimal>("ServiceFee")
                        .HasColumnType("decimal(18,2)");
                    b.Property<decimal?>("SettlementAmount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<int>("SettlementCycle")
                        .HasColumnType("int");
                    b.Property<string>("SettlementOrderName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("SettlementOrderStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("SettlementOrderTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("SettlementOrderUrl")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("SettlementRemark")
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTime?>("SettlementStartTime")
                        .HasColumnType("datetime2");
                    b.Property<int?>("SettlementStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("SettlementTime")
                        .HasColumnType("datetime2");
                    b.Property<int>("SettlementUserCount")
                        .HasColumnType("int");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
@@ -1709,7 +2038,7 @@
                    b.HasIndex("ProvinceCode");
                    b.ToTable("TaskInfo");
                    b.ToTable("TaskInfo", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b =>
@@ -1755,7 +2084,7 @@
                    b.HasIndex("TaskInfoId");
                    b.ToTable("TaskInfoBenefit");
                    b.ToTable("TaskInfoBenefit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoCredentialLimit", b =>
@@ -1801,7 +2130,7 @@
                    b.HasIndex("TypeCode");
                    b.ToTable("TaskInfoCredentialLimit");
                    b.ToTable("TaskInfoCredentialLimit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
@@ -1810,11 +2139,20 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal?>("ActualSettlementAmount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<int?>("ArrangeStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("ArrangeTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("Bank")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("BankBranch")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("CheckReceiveStatus")
                        .HasColumnType("int");
@@ -1849,6 +2187,24 @@
                    b.Property<DateTime?>("LastSubmitTime")
                        .HasColumnType("datetime2");
                    b.Property<string>("ReceiveAccount")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ReceiveName")
                        .HasColumnType("nvarchar(max)");
                    b.Property<decimal?>("SettlementAmount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("SettlementRemark")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("SettlementStatus")
                        .HasColumnType("int");
                    b.Property<DateTime?>("SettlementTime")
                        .HasColumnType("datetime2");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
@@ -1870,7 +2226,7 @@
                    b.HasIndex("TaskInfoId");
                    b.ToTable("TaskInfoUser");
                    b.ToTable("TaskInfoUser", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b =>
@@ -1919,7 +2275,7 @@
                    b.HasIndex("TaskInfoUserId");
                    b.ToTable("TaskInfoUserSubmit");
                    b.ToTable("TaskInfoUserSubmit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b =>
@@ -1963,7 +2319,7 @@
                    b.HasIndex("SubmitId");
                    b.ToTable("TaskInfoUserSubmitFile");
                    b.ToTable("TaskInfoUserSubmitFile", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b =>
@@ -2008,7 +2364,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("TaskUserCollect");
                    b.ToTable("TaskUserCollect", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>
@@ -2155,7 +2511,7 @@
                    b.HasIndex("ProvinceCode");
                    b.ToTable("User");
                    b.ToTable("User", (string)null);
                    b.HasData(
                        new
@@ -2256,7 +2612,7 @@
                    b.HasKey("Id");
                    b.ToTable("UserAuth");
                    b.ToTable("UserAuth", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b =>
@@ -2265,13 +2621,16 @@
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    b.Property<string>("Bank")
                        .IsRequired()
                        .HasMaxLength(128)
                        .HasColumnType("nvarchar(128)");
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("BankBranch")
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("Code")
                        .IsRequired()
                        .HasMaxLength(32)
                        .HasColumnType("nvarchar(32)");
@@ -2288,7 +2647,6 @@
                        .HasColumnType("bit");
                    b.Property<string>("PhoneNumber")
                        .IsRequired()
                        .HasMaxLength(11)
                        .HasColumnType("nvarchar(11)");
@@ -2311,7 +2669,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserBankCard");
                    b.ToTable("UserBankCard", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserCredential", b =>
@@ -2379,7 +2737,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserCredential");
                    b.ToTable("UserCredential", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserDepartment", b =>
@@ -2424,7 +2782,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserDepartment");
                    b.ToTable("UserDepartment", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b =>
@@ -2470,7 +2828,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserExpectJob");
                    b.ToTable("UserExpectJob", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b =>
@@ -2513,7 +2871,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserManageIndustrialPark");
                    b.ToTable("UserManageIndustrialPark", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b =>
@@ -2556,7 +2914,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserPhoto");
                    b.ToTable("UserPhoto", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserRole", b =>
@@ -2601,7 +2959,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserRole");
                    b.ToTable("UserRole", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b =>
@@ -2794,6 +3152,45 @@
                        .IsRequired();
                    b.Navigation("Enterprise");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b =>
                {
                    b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet")
                        .WithMany()
                        .HasForeignKey("WalletId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Wallet");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrderFile", b =>
                {
                    b.HasOne("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", "Order")
                        .WithMany("Files")
                        .HasForeignKey("OrderId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Order");
                });
            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");
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
@@ -3168,6 +3565,11 @@
                    b.Navigation("TaskInfoUsers");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b =>
                {
                    b.Navigation("Files");
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
                {
                    b.Navigation("Children");