From eb358f8a46f4264a7ba88a5624edf3ae5b4ad983 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期五, 05 九月 2025 11:09:27 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs | 202 +++++++++++++++++++++++++++++++++++++++----------- 1 files changed, 157 insertions(+), 45 deletions(-) diff --git a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs index 688289f..a1bcbbb 100644 --- a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs +++ b/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") @@ -98,7 +145,7 @@ b.HasIndex("EnterpriseId"); - b.ToTable("ContractTemplate", (string)null); + b.ToTable("ContractTemplate"); }); modelBuilder.Entity("FlexJobApi.Core.ContractTemplateValue", b => @@ -159,7 +206,7 @@ b.HasIndex("TemplateId"); - b.ToTable("ContractTemplateValue", (string)null); + b.ToTable("ContractTemplateValue"); }); modelBuilder.Entity("FlexJobApi.Core.Department", b => @@ -217,7 +264,7 @@ b.HasIndex("ParentId"); - b.ToTable("Department", (string)null); + b.ToTable("Department"); }); modelBuilder.Entity("FlexJobApi.Core.DictionaryCategory", b => @@ -268,7 +315,7 @@ b.HasKey("Id"); - b.ToTable("DictionaryCategory", (string)null); + b.ToTable("DictionaryCategory"); }); modelBuilder.Entity("FlexJobApi.Core.DictionaryData", b => @@ -349,7 +396,7 @@ b.HasIndex("ParentId"); - b.ToTable("DictionaryData", (string)null); + b.ToTable("DictionaryData"); }); modelBuilder.Entity("FlexJobApi.Core.ElectronSignSetting", b => @@ -399,7 +446,7 @@ b.HasKey("Id"); - b.ToTable("ElectronSignSetting", (string)null); + b.ToTable("ElectronSignSetting"); }); modelBuilder.Entity("FlexJobApi.Core.Enterprise", b => @@ -527,7 +574,7 @@ b.HasIndex("ProvinceCode"); - b.ToTable("Enterprise", (string)null); + b.ToTable("Enterprise"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseAuth", b => @@ -626,7 +673,7 @@ b.HasKey("Id"); - b.ToTable("EnterpriseAuth", (string)null); + b.ToTable("EnterpriseAuth"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseCost", b => @@ -680,7 +727,7 @@ b.HasIndex("EnterpriseId"); - b.ToTable("EnterpriseCost", (string)null); + b.ToTable("EnterpriseCost"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseElectronSignSetting", b => @@ -723,7 +770,7 @@ b.HasIndex("EnterpriseId"); - b.ToTable("EnterpriseElectronSignSetting", (string)null); + b.ToTable("EnterpriseElectronSignSetting"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployee", b => @@ -823,7 +870,7 @@ b.HasIndex("UserId"); - b.ToTable("EnterpriseEmployee", (string)null); + b.ToTable("EnterpriseEmployee"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseEmployeeContract", b => @@ -892,7 +939,7 @@ b.HasIndex("EnterpriseEmployeeId"); - b.ToTable("EnterpriseEmployeeContract", (string)null); + b.ToTable("EnterpriseEmployeeContract"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseUserCollect", b => @@ -949,7 +996,7 @@ b.HasIndex("UserId"); - b.ToTable("EnterpriseUserCollect", (string)null); + b.ToTable("EnterpriseUserCollect"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseWallet", b => @@ -960,6 +1007,9 @@ b.Property<int>("Access") .HasColumnType("int"); + + b.Property<string>("Account") + .HasColumnType("nvarchar(max)"); b.Property<string>("AccountBookId") .HasColumnType("nvarchar(max)"); @@ -1018,6 +1068,9 @@ b.Property<bool>("IsDeleted") .HasColumnType("bit"); + b.Property<string>("MerchantId") + .HasColumnType("nvarchar(max)"); + b.Property<string>("PersonalProductCode") .HasColumnType("nvarchar(max)"); @@ -1067,7 +1120,7 @@ b.HasIndex("EnterpriseId"); - b.ToTable("EnterpriseWallet", (string)null); + b.ToTable("EnterpriseWallet"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrder", b => @@ -1164,7 +1217,7 @@ b.HasIndex("WalletId"); - b.ToTable("EnterpriseWalletExpandindirectOrder", (string)null); + b.ToTable("EnterpriseWalletExpandindirectOrder"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletExpandindirectOrderFile", b => @@ -1210,7 +1263,7 @@ b.HasIndex("OrderId"); - b.ToTable("EnterpriseWalletExpandindirectOrderFile", (string)null); + b.ToTable("EnterpriseWalletExpandindirectOrderFile"); }); modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b => @@ -1325,7 +1378,7 @@ b.HasIndex("WalletId"); - b.ToTable("EnterpriseWalletTransaction", (string)null); + b.ToTable("EnterpriseWalletTransaction"); }); modelBuilder.Entity("FlexJobApi.Core.Menu", b => @@ -1413,7 +1466,7 @@ b.HasIndex("ParentId"); - b.ToTable("Menu", (string)null); + b.ToTable("Menu"); }); modelBuilder.Entity("FlexJobApi.Core.Resource", b => @@ -1513,7 +1566,7 @@ b.HasKey("Id"); - b.ToTable("Resource", (string)null); + b.ToTable("Resource"); }); modelBuilder.Entity("FlexJobApi.Core.Role", b => @@ -1571,7 +1624,7 @@ b.HasKey("Id"); - b.ToTable("Role", (string)null); + b.ToTable("Role"); }); modelBuilder.Entity("FlexJobApi.Core.RoleMenu", b => @@ -1616,7 +1669,7 @@ b.HasIndex("RoleId"); - b.ToTable("RoleMenu", (string)null); + b.ToTable("RoleMenu"); }); modelBuilder.Entity("FlexJobApi.Core.RoleResource", b => @@ -1664,7 +1717,7 @@ b.HasIndex("RoleId"); - b.ToTable("RoleResource", (string)null); + b.ToTable("RoleResource"); }); modelBuilder.Entity("FlexJobApi.Core.ScheduleJobDetail", b => @@ -1723,7 +1776,7 @@ b.HasKey("Id"); - b.ToTable("ScheduleJobDetail", (string)null); + b.ToTable("ScheduleJobDetail"); }); modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTrigger", b => @@ -1824,7 +1877,7 @@ b.HasKey("Id"); - b.ToTable("ScheduleJobTrigger", (string)null); + b.ToTable("ScheduleJobTrigger"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfo", b => @@ -1832,6 +1885,9 @@ b.Property<Guid>("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); + + b.Property<decimal?>("ActualSettlementAmount") + .HasColumnType("decimal(18,2)"); b.Property<string>("AddressDetail") .HasColumnType("nvarchar(max)"); @@ -1915,14 +1971,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"); @@ -1947,7 +2027,7 @@ b.HasIndex("ProvinceCode"); - b.ToTable("TaskInfo", (string)null); + b.ToTable("TaskInfo"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b => @@ -1993,7 +2073,7 @@ b.HasIndex("TaskInfoId"); - b.ToTable("TaskInfoBenefit", (string)null); + b.ToTable("TaskInfoBenefit"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoCredentialLimit", b => @@ -2039,7 +2119,7 @@ b.HasIndex("TypeCode"); - b.ToTable("TaskInfoCredentialLimit", (string)null); + b.ToTable("TaskInfoCredentialLimit"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoUser", b => @@ -2048,11 +2128,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"); @@ -2087,6 +2176,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"); @@ -2108,7 +2215,7 @@ b.HasIndex("TaskInfoId"); - b.ToTable("TaskInfoUser", (string)null); + b.ToTable("TaskInfoUser"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmit", b => @@ -2157,7 +2264,7 @@ b.HasIndex("TaskInfoUserId"); - b.ToTable("TaskInfoUserSubmit", (string)null); + b.ToTable("TaskInfoUserSubmit"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoUserSubmitFile", b => @@ -2201,7 +2308,7 @@ b.HasIndex("SubmitId"); - b.ToTable("TaskInfoUserSubmitFile", (string)null); + b.ToTable("TaskInfoUserSubmitFile"); }); modelBuilder.Entity("FlexJobApi.Core.TaskUserCollect", b => @@ -2246,7 +2353,7 @@ b.HasIndex("UserId"); - b.ToTable("TaskUserCollect", (string)null); + b.ToTable("TaskUserCollect"); }); modelBuilder.Entity("FlexJobApi.Core.User", b => @@ -2393,7 +2500,7 @@ b.HasIndex("ProvinceCode"); - b.ToTable("User", (string)null); + b.ToTable("User"); b.HasData( new @@ -2494,7 +2601,7 @@ b.HasKey("Id"); - b.ToTable("UserAuth", (string)null); + b.ToTable("UserAuth"); }); modelBuilder.Entity("FlexJobApi.Core.UserBankCard", b => @@ -2504,12 +2611,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)"); @@ -2522,11 +2629,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)"); @@ -2549,7 +2661,7 @@ b.HasIndex("UserId"); - b.ToTable("UserBankCard", (string)null); + b.ToTable("UserBankCard"); }); modelBuilder.Entity("FlexJobApi.Core.UserCredential", b => @@ -2617,7 +2729,7 @@ b.HasIndex("UserId"); - b.ToTable("UserCredential", (string)null); + b.ToTable("UserCredential"); }); modelBuilder.Entity("FlexJobApi.Core.UserDepartment", b => @@ -2662,7 +2774,7 @@ b.HasIndex("UserId"); - b.ToTable("UserDepartment", (string)null); + b.ToTable("UserDepartment"); }); modelBuilder.Entity("FlexJobApi.Core.UserExpectJob", b => @@ -2708,7 +2820,7 @@ b.HasIndex("UserId"); - b.ToTable("UserExpectJob", (string)null); + b.ToTable("UserExpectJob"); }); modelBuilder.Entity("FlexJobApi.Core.UserManageIndustrialPark", b => @@ -2751,7 +2863,7 @@ b.HasIndex("UserId"); - b.ToTable("UserManageIndustrialPark", (string)null); + b.ToTable("UserManageIndustrialPark"); }); modelBuilder.Entity("FlexJobApi.Core.UserPhoto", b => @@ -2794,7 +2906,7 @@ b.HasIndex("UserId"); - b.ToTable("UserPhoto", (string)null); + b.ToTable("UserPhoto"); }); modelBuilder.Entity("FlexJobApi.Core.UserRole", b => @@ -2839,7 +2951,7 @@ b.HasIndex("UserId"); - b.ToTable("UserRole", (string)null); + b.ToTable("UserRole"); }); modelBuilder.Entity("FlexJobApi.Core.ContractTemplate", b => -- Gitblit v1.9.1