From d317a290c03d4c40687fcd01efc6c22304874e87 Mon Sep 17 00:00:00 2001 From: sunpengfei <i@angelzzz.com> Date: 星期五, 05 九月 2025 10:24:24 +0800 Subject: [PATCH] feat:开发 --- FlexJobApi.Database.Migrations/Migrations/LogDb/LogDbContextModelSnapshot.cs | 110 +++++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 98 insertions(+), 12 deletions(-) diff --git a/FlexJobApi.Database.Migrations/Migrations/LogDb/LogDbContextModelSnapshot.cs b/FlexJobApi.Database.Migrations/Migrations/LogDb/LogDbContextModelSnapshot.cs index 765925a..86893d7 100644 --- a/FlexJobApi.Database.Migrations/Migrations/LogDb/LogDbContextModelSnapshot.cs +++ b/FlexJobApi.Database.Migrations/Migrations/LogDb/LogDbContextModelSnapshot.cs @@ -39,10 +39,13 @@ .IsRequired() .HasColumnType("nvarchar(max)"); + b.Property<Guid?>("CreatedEnterpriseId") + .HasColumnType("uniqueidentifier"); + b.Property<DateTimeOffset>("CreatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("CreatedUserInfoId") + b.Property<Guid?>("CreatedUserId") .HasColumnType("uniqueidentifier"); b.Property<bool>("IsDeleted") @@ -63,7 +66,7 @@ b.Property<DateTimeOffset?>("UpdatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("UpdatedUserInfoId") + b.Property<Guid?>("UpdatedUserId") .HasColumnType("uniqueidentifier"); b.Property<string>("Url") @@ -80,10 +83,13 @@ .ValueGeneratedOnAdd() .HasColumnType("uniqueidentifier"); + b.Property<Guid?>("CreatedEnterpriseId") + .HasColumnType("uniqueidentifier"); + b.Property<DateTimeOffset>("CreatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("CreatedUserInfoId") + b.Property<Guid?>("CreatedUserId") .HasColumnType("uniqueidentifier"); b.Property<bool>("IsDeleted") @@ -115,7 +121,7 @@ b.Property<DateTimeOffset?>("UpdatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("UpdatedUserInfoId") + b.Property<Guid?>("UpdatedUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); @@ -132,10 +138,16 @@ b.Property<string>("ClientIpAddress") .HasColumnType("nvarchar(max)"); + b.Property<string>("ConsoleLogs") + .HasColumnType("nvarchar(max)"); + + b.Property<Guid?>("CreatedEnterpriseId") + .HasColumnType("uniqueidentifier"); + b.Property<DateTimeOffset>("CreatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("CreatedUserInfoId") + b.Property<Guid?>("CreatedUserId") .HasColumnType("uniqueidentifier"); b.Property<string>("Domain") @@ -180,7 +192,7 @@ b.Property<DateTimeOffset?>("UpdatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("UpdatedUserInfoId") + b.Property<Guid?>("UpdatedUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); @@ -198,10 +210,13 @@ .HasMaxLength(32) .HasColumnType("nvarchar(32)"); + b.Property<Guid?>("CreatedEnterpriseId") + .HasColumnType("uniqueidentifier"); + b.Property<DateTimeOffset>("CreatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("CreatedUserInfoId") + b.Property<Guid?>("CreatedUserId") .HasColumnType("uniqueidentifier"); b.Property<bool>("IsDeleted") @@ -226,7 +241,7 @@ b.Property<DateTimeOffset?>("UpdatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("UpdatedUserInfoId") + b.Property<Guid?>("UpdatedUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); @@ -243,10 +258,13 @@ b.Property<int>("Access") .HasColumnType("int"); + b.Property<Guid?>("CreatedEnterpriseId") + .HasColumnType("uniqueidentifier"); + b.Property<DateTimeOffset>("CreatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("CreatedUserInfoId") + b.Property<Guid?>("CreatedUserId") .HasColumnType("uniqueidentifier"); b.Property<string>("Data") @@ -276,12 +294,77 @@ b.Property<DateTimeOffset?>("UpdatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("UpdatedUserInfoId") + b.Property<Guid?>("UpdatedUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); b.ToTable("QueueLog"); + }); + + modelBuilder.Entity("FlexJobApi.Core.ScheduleJobTriggerTimeline", 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<long>("ElapsedTime") + .HasColumnType("bigint"); + + b.Property<string>("Exception") + .HasColumnType("nvarchar(max)"); + + b.Property<bool>("IsDeleted") + .HasColumnType("bit"); + + b.Property<string>("JobId") + .HasColumnType("nvarchar(max)"); + + b.Property<DateTime?>("LastRunTime") + .HasColumnType("datetime2"); + + b.Property<int>("Mode") + .HasColumnType("int"); + + b.Property<DateTime?>("NextRunTime") + .HasColumnType("datetime2"); + + b.Property<long>("NumberOfRuns") + .HasColumnType("bigint"); + + b.Property<string>("Result") + .HasColumnType("nvarchar(max)"); + + b.Property<int>("Sort") + .HasColumnType("int"); + + b.Property<long>("Status") + .HasColumnType("bigint"); + + b.Property<string>("TraceId") + .HasColumnType("nvarchar(max)"); + + b.Property<string>("TriggerId") + .HasColumnType("nvarchar(max)"); + + b.Property<DateTimeOffset?>("UpdatedTime") + .HasColumnType("datetimeoffset"); + + b.Property<Guid?>("UpdatedUserId") + .HasColumnType("uniqueidentifier"); + + b.HasKey("Id"); + + b.ToTable("ScheduleJobTriggerTimeline"); }); modelBuilder.Entity("FlexJobApi.Core.SmsLog", b => @@ -293,10 +376,13 @@ b.Property<int>("Access") .HasColumnType("int"); + b.Property<Guid?>("CreatedEnterpriseId") + .HasColumnType("uniqueidentifier"); + b.Property<DateTimeOffset>("CreatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("CreatedUserInfoId") + b.Property<Guid?>("CreatedUserId") .HasColumnType("uniqueidentifier"); b.Property<DateTime?>("Expiry") @@ -330,7 +416,7 @@ b.Property<DateTimeOffset?>("UpdatedTime") .HasColumnType("datetimeoffset"); - b.Property<Guid?>("UpdatedUserInfoId") + b.Property<Guid?>("UpdatedUserId") .HasColumnType("uniqueidentifier"); b.HasKey("Id"); -- Gitblit v1.9.1