sunpengfei
6 天以前 33094ef9585fd742689607621d8bbf0cd8e60da6
FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs
@@ -98,7 +98,7 @@
                    b.HasIndex("EnterpriseId");
                    b.ToTable("ContractTemplate");
                    b.ToTable("ContractTemplate", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ContractTemplateValue", b =>
@@ -159,7 +159,7 @@
                    b.HasIndex("TemplateId");
                    b.ToTable("ContractTemplateValue");
                    b.ToTable("ContractTemplateValue", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Department", b =>
@@ -217,7 +217,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("Department");
                    b.ToTable("Department", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.DictionaryCategory", b =>
@@ -268,7 +268,7 @@
                    b.HasKey("Id");
                    b.ToTable("DictionaryCategory");
                    b.ToTable("DictionaryCategory", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b =>
@@ -349,7 +349,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("DictionaryData");
                    b.ToTable("DictionaryData", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b =>
@@ -399,7 +399,7 @@
                    b.HasKey("Id");
                    b.ToTable("ElectronSignSetting");
                    b.ToTable("ElectronSignSetting", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Enterprise", b =>
@@ -527,7 +527,7 @@
                    b.HasIndex("ProvinceCode");
                    b.ToTable("Enterprise");
                    b.ToTable("Enterprise", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b =>
@@ -626,7 +626,61 @@
                    b.HasKey("Id");
                    b.ToTable("EnterpriseAuth");
                    b.ToTable("EnterpriseAuth", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal?>("Amount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<Guid?>("CreatedEnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid?>("EnterpriseEmployeeContractId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<Guid>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<int?>("Status")
                        .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("EnterpriseEmployeeContractId");
                    b.HasIndex("EnterpriseId");
                    b.ToTable("EnterpriseCost", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b =>
@@ -669,7 +723,7 @@
                    b.HasIndex("EnterpriseId");
                    b.ToTable("EnterpriseElectronSignSetting");
                    b.ToTable("EnterpriseElectronSignSetting", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b =>
@@ -708,6 +762,9 @@
                    b.Property<Guid>("EnterpriseId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("EnterpriseSignContractErrorMessage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("EnterpriseSignContractStatus")
                        .HasColumnType("int");
@@ -749,6 +806,9 @@
                    b.Property<Guid?>("UserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("UserSignContractErrorMessage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("UserSignContractStatus")
                        .HasColumnType("int");
@@ -763,7 +823,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("EnterpriseEmployee");
                    b.ToTable("EnterpriseEmployee", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b =>
@@ -793,6 +853,9 @@
                    b.Property<Guid>("EnterpriseEmployeeId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("EnterpriseSignContractErrorMessage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("EnterpriseSignContractStatus")
                        .HasColumnType("int");
@@ -814,6 +877,9 @@
                    b.Property<Guid?>("UpdatedUserId")
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("UserSignContractErrorMessage")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int?>("UserSignContractStatus")
                        .HasColumnType("int");
@@ -822,9 +888,11 @@
                    b.HasKey("Id");
                    b.HasIndex("ContractTemplateId");
                    b.HasIndex("EnterpriseEmployeeId");
                    b.ToTable("EnterpriseEmployeeContract");
                    b.ToTable("EnterpriseEmployeeContract", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b =>
@@ -881,7 +949,383 @@
                    b.HasIndex("UserId");
                    b.ToTable("EnterpriseUserCollect");
                    b.ToTable("EnterpriseUserCollect", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<int>("Access")
                        .HasColumnType("int");
                    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");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    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>("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)");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    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", (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>("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<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("WalletId");
                    b.ToTable("EnterpriseWalletTransaction", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
@@ -969,7 +1413,7 @@
                    b.HasIndex("ParentId");
                    b.ToTable("Menu");
                    b.ToTable("Menu", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Resource", b =>
@@ -1021,6 +1465,9 @@
                    b.Property<bool>("IsExpired")
                        .HasColumnType("bit");
                    b.Property<bool>("IsFromForm")
                        .HasColumnType("bit");
                    b.Property<int>("Method")
                        .HasColumnType("int");
@@ -1066,7 +1513,7 @@
                    b.HasKey("Id");
                    b.ToTable("Resource");
                    b.ToTable("Resource", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.Role", b =>
@@ -1124,7 +1571,7 @@
                    b.HasKey("Id");
                    b.ToTable("Role");
                    b.ToTable("Role", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.RoleMenu", b =>
@@ -1169,7 +1616,7 @@
                    b.HasIndex("RoleId");
                    b.ToTable("RoleMenu");
                    b.ToTable("RoleMenu", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.RoleResource", b =>
@@ -1217,7 +1664,7 @@
                    b.HasIndex("RoleId");
                    b.ToTable("RoleResource");
                    b.ToTable("RoleResource", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ScheduleJobDetail", b =>
@@ -1276,7 +1723,7 @@
                    b.HasKey("Id");
                    b.ToTable("ScheduleJobDetail");
                    b.ToTable("ScheduleJobDetail", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTrigger", b =>
@@ -1377,7 +1824,7 @@
                    b.HasKey("Id");
                    b.ToTable("ScheduleJobTrigger");
                    b.ToTable("ScheduleJobTrigger", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b =>
@@ -1385,6 +1832,9 @@
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<decimal?>("ActualSettlementAmount")
                        .HasColumnType("decimal(18,2)");
                    b.Property<string>("AddressDetail")
                        .HasColumnType("nvarchar(max)");
@@ -1468,14 +1918,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");
@@ -1500,7 +1974,7 @@
                    b.HasIndex("ProvinceCode");
                    b.ToTable("TaskInfo");
                    b.ToTable("TaskInfo", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b =>
@@ -1546,7 +2020,7 @@
                    b.HasIndex("TaskInfoId");
                    b.ToTable("TaskInfoBenefit");
                    b.ToTable("TaskInfoBenefit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoCredentialLimit", b =>
@@ -1592,7 +2066,7 @@
                    b.HasIndex("TypeCode");
                    b.ToTable("TaskInfoCredentialLimit");
                    b.ToTable("TaskInfoCredentialLimit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b =>
@@ -1601,11 +2075,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");
@@ -1640,6 +2123,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");
@@ -1661,7 +2162,7 @@
                    b.HasIndex("TaskInfoId");
                    b.ToTable("TaskInfoUser");
                    b.ToTable("TaskInfoUser", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b =>
@@ -1710,7 +2211,7 @@
                    b.HasIndex("TaskInfoUserId");
                    b.ToTable("TaskInfoUserSubmit");
                    b.ToTable("TaskInfoUserSubmit", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b =>
@@ -1754,7 +2255,7 @@
                    b.HasIndex("SubmitId");
                    b.ToTable("TaskInfoUserSubmitFile");
                    b.ToTable("TaskInfoUserSubmitFile", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b =>
@@ -1799,7 +2300,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("TaskUserCollect");
                    b.ToTable("TaskUserCollect", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.User", b =>
@@ -1946,7 +2447,7 @@
                    b.HasIndex("ProvinceCode");
                    b.ToTable("User");
                    b.ToTable("User", (string)null);
                    b.HasData(
                        new
@@ -2047,7 +2548,7 @@
                    b.HasKey("Id");
                    b.ToTable("UserAuth");
                    b.ToTable("UserAuth", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b =>
@@ -2057,12 +2558,12 @@
                        .HasColumnType("uniqueidentifier");
                    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)");
@@ -2075,11 +2576,16 @@
                    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")
                        .IsRequired()
                        .HasMaxLength(11)
                        .HasColumnType("nvarchar(11)");
@@ -2102,7 +2608,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserBankCard");
                    b.ToTable("UserBankCard", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserCredential", b =>
@@ -2170,7 +2676,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserCredential");
                    b.ToTable("UserCredential", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserDepartment", b =>
@@ -2215,7 +2721,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserDepartment");
                    b.ToTable("UserDepartment", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b =>
@@ -2261,7 +2767,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserExpectJob");
                    b.ToTable("UserExpectJob", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b =>
@@ -2304,7 +2810,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserManageIndustrialPark");
                    b.ToTable("UserManageIndustrialPark", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b =>
@@ -2347,7 +2853,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserPhoto");
                    b.ToTable("UserPhoto", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.UserRole", b =>
@@ -2392,7 +2898,7 @@
                    b.HasIndex("UserId");
                    b.ToTable("UserRole");
                    b.ToTable("UserRole", (string)null);
                });
            modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b =>
@@ -2489,6 +2995,23 @@
                    b.Navigation("Enterprise");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b =>
                {
                    b.HasOne("FlexJobApi.Core.EnterpriseEmployeeContract", "EnterpriseEmployeeContract")
                        .WithMany()
                        .HasForeignKey("EnterpriseEmployeeContractId");
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
                        .WithMany()
                        .HasForeignKey("EnterpriseId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Enterprise");
                    b.Navigation("EnterpriseEmployeeContract");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b =>
                {
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
@@ -2525,11 +3048,17 @@
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b =>
                {
                    b.HasOne("FlexJobApi.Core.ContractTemplate", "ContractTemplate")
                        .WithMany()
                        .HasForeignKey("ContractTemplateId");
                    b.HasOne("FlexJobApi.Core.EnterpriseEmployee", "EnterpriseEmployee")
                        .WithMany("Contracts")
                        .HasForeignKey("EnterpriseEmployeeId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("ContractTemplate");
                    b.Navigation("EnterpriseEmployee");
                });
@@ -2551,6 +3080,50 @@
                    b.Navigation("Enterprise");
                    b.Navigation("User");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b =>
                {
                    b.HasOne("FlexJobApi.Core.Enterprise", "Enterprise")
                        .WithMany()
                        .HasForeignKey("EnterpriseId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .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.EnterpriseWallet", "Wallet")
                        .WithMany()
                        .HasForeignKey("WalletId")
                        .OnDelete(DeleteBehavior.Cascade)
                        .IsRequired();
                    b.Navigation("Wallet");
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
@@ -2925,6 +3498,11 @@
                    b.Navigation("TaskInfoUsers");
                });
            modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b =>
                {
                    b.Navigation("Files");
                });
            modelBuilder.Entity("FlexJobApi.Core.Menu", b =>
                {
                    b.Navigation("Children");