From ced7ed5d9b3e0cd0c1bdbc9d76d1906301d189c2 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期二, 09 九月 2025 14:04:26 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs | 139 ++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 133 insertions(+), 6 deletions(-) diff --git a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs index e9b2cfd..cbae2ef 100644 --- a/FlexJobApi.Database.Migrations/Migrations/DefaultDbContextModelSnapshot.cs +++ b/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") @@ -961,6 +1023,9 @@ b.Property<int>("Access") .HasColumnType("int"); + b.Property<string>("Account") + .HasColumnType("nvarchar(max)"); + b.Property<string>("AccountBookId") .HasColumnType("nvarchar(max)"); @@ -1012,11 +1077,17 @@ b.Property<Guid>("EnterpriseId") .HasColumnType("uniqueidentifier"); + b.Property<decimal>("FreezeBalance") + .HasColumnType("decimal(18,2)"); + 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)"); @@ -1219,6 +1290,9 @@ .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); + b.Property<decimal>("AfterBalance") + .HasColumnType("decimal(18,2)"); + b.Property<decimal>("Amount") .HasColumnType("decimal(18,2)"); @@ -1267,6 +1341,12 @@ b.Property<string>("Link") .HasColumnType("nvarchar(max)"); + b.Property<DateTime?>("OperatorTime") + .HasColumnType("datetime2"); + + b.Property<Guid?>("OperatorUserId") + .HasColumnType("uniqueidentifier"); + b.Property<decimal?>("OrderFee") .HasColumnType("decimal(18,2)"); @@ -1278,6 +1358,15 @@ b.Property<string>("ProductCode") .HasColumnType("nvarchar(max)"); + + b.Property<string>("ReceiveAccount") + .HasColumnType("nvarchar(max)"); + + b.Property<string>("ReceiveName") + .HasColumnType("nvarchar(max)"); + + b.Property<Guid?>("ReceiveUserId") + .HasColumnType("uniqueidentifier"); b.Property<string>("ReceiverOpenId") .HasColumnType("nvarchar(max)"); @@ -1299,6 +1388,9 @@ b.Property<string>("SubStatus") .HasColumnType("nvarchar(max)"); + + b.Property<Guid?>("TaskUserId") + .HasColumnType("uniqueidentifier"); b.Property<string>("TraceId") .HasColumnType("nvarchar(max)"); @@ -1322,6 +1414,12 @@ .HasColumnType("uniqueidentifier"); b.HasKey("Id"); + + b.HasIndex("OperatorUserId"); + + b.HasIndex("ReceiveUserId"); + + b.HasIndex("TaskUserId"); b.HasIndex("WalletId"); @@ -1924,6 +2022,9 @@ b.Property<int>("SettlementCycle") .HasColumnType("int"); + b.Property<Guid?>("SettlementOperatorUserId") + .HasColumnType("uniqueidentifier"); + b.Property<string>("SettlementOrderName") .HasColumnType("nvarchar(max)"); @@ -1973,6 +2074,8 @@ b.HasIndex("EnterpriseId"); b.HasIndex("ProvinceCode"); + + b.HasIndex("SettlementOperatorUserId"); b.ToTable("TaskInfo"); }); @@ -2074,6 +2177,9 @@ b.Property<Guid>("Id") .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); + + b.Property<decimal>("ActualAmount") + .HasColumnType("decimal(18,2)"); b.Property<decimal?>("ActualSettlementAmount") .HasColumnType("decimal(18,2)"); @@ -2557,6 +2663,9 @@ .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); + b.Property<int>("Access") + .HasColumnType("int"); + b.Property<string>("Bank") .HasColumnType("nvarchar(max)"); @@ -2576,14 +2685,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,11 +3220,29 @@ modelBuilder.Entity("FlexJobApi.Core.EnterpriseWalletTransaction", b => { + b.HasOne("FlexJobApi.Core.User", "OperatorUser") + .WithMany() + .HasForeignKey("OperatorUserId"); + + b.HasOne("FlexJobApi.Core.User", "ReceiveUser") + .WithMany() + .HasForeignKey("ReceiveUserId"); + + b.HasOne("FlexJobApi.Core.TaskInfoUser", "TaskUser") + .WithMany() + .HasForeignKey("TaskUserId"); + b.HasOne("FlexJobApi.Core.EnterpriseWallet", "Wallet") .WithMany() .HasForeignKey("WalletId") .OnDelete(DeleteBehavior.Cascade) .IsRequired(); + + b.Navigation("OperatorUser"); + + b.Navigation("ReceiveUser"); + + b.Navigation("TaskUser"); b.Navigation("Wallet"); }); @@ -3193,11 +3314,17 @@ .HasPrincipalKey("Code") .OnDelete(DeleteBehavior.Restrict); + b.HasOne("FlexJobApi.Core.User", "SettlementOperatorUser") + .WithMany() + .HasForeignKey("SettlementOperatorUserId"); + b.Navigation("City"); b.Navigation("Enterprise"); b.Navigation("Province"); + + b.Navigation("SettlementOperatorUser"); }); modelBuilder.Entity("FlexJobApi.Core.TaskInfoBenefit", b => -- Gitblit v1.9.1