sunpengfei
2025-08-05 89e31724da589541098ba803cf1e4596f58e5282
FlexJobApi.Database.Migrations/Migrations/LogDb/LogDbContextModelSnapshot.cs
@@ -46,27 +46,32 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                        .HasColumnType("bit")
                        .HasComment("是否删除");
                    b.Property<int>("Level")
                        .HasColumnType("int")
                        .HasComment("级别");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                        .HasColumnType("int")
                        .HasComment("排序");
                    b.Property<string>("StackTrace")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("堆栈跟踪");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                        .HasColumnType("nvarchar(max)")
                        .HasComment("跟踪Id");
                    b.Property<Guid?>("UpdateUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("最后更新操作人");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
@@ -93,10 +98,12 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                        .HasColumnType("bit")
                        .HasComment("是否删除");
                    b.Property<string>("NewValues")
                        .HasColumnType("nvarchar(max)")
@@ -115,7 +122,8 @@
                        .HasComment("主键");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                        .HasColumnType("int")
                        .HasComment("排序");
                    b.Property<string>("TableName")
                        .IsRequired()
@@ -124,10 +132,12 @@
                        .HasComment("表名");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                        .HasColumnType("nvarchar(max)")
                        .HasComment("跟踪Id");
                    b.Property<Guid?>("UpdateUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("最后更新操作人");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
@@ -140,74 +150,68 @@
                        });
                });
            modelBuilder.Entity("FlexJobApi.Core.Entities.Common.WebApiLog", b =>
            modelBuilder.Entity("FlexJobApi.Core.Entities.Common.ResourceLog", b =>
                {
                    b.Property<Guid>("Id")
                        .ValueGeneratedOnAdd()
                        .HasColumnType("uniqueidentifier");
                    b.Property<string>("Callback")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("回调数据");
                        .HasColumnType("nvarchar(max)");
                    b.Property<string>("ClientIpAddress")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("客户端IP地址");
                        .HasColumnType("nvarchar(max)");
                    b.Property<DateTimeOffset>("CreatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<long>("ElapsedMilliseconds")
                        .HasColumnType("bigint")
                        .HasComment("耗时毫秒数");
                        .HasColumnType("bigint");
                    b.Property<string>("Headers")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("请求头");
                        .HasColumnType("nvarchar(max)");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                        .HasColumnType("bit")
                        .HasComment("是否删除");
                    b.Property<bool>("IsSuccess")
                        .HasColumnType("bit")
                        .HasComment("是否成功");
                        .HasColumnType("bit");
                    b.Property<string>("Method")
                        .IsRequired()
                        .HasMaxLength(6)
                        .HasColumnType("nvarchar(6)")
                        .HasComment("请求方式");
                        .HasColumnType("nvarchar(6)");
                    b.Property<string>("Request")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("请求参数");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                    b.Property<int>("Sort")
                        .HasColumnType("int")
                        .HasComment("排序");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("跟踪Id");
                    b.Property<Guid?>("UpdateUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("最后更新操作人");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
                    b.Property<string>("Url")
                        .IsRequired()
                        .HasColumnType("nvarchar(max)")
                        .HasComment("链接地址");
                        .HasColumnType("nvarchar(max)");
                    b.HasKey("Id");
                    b.ToTable("WebApiLog", t =>
                        {
                            t.HasComment("接口日志");
                        });
                    b.ToTable("ResourceLog");
                });
            modelBuilder.Entity("FlexJobApi.Core.ExceptionLog", b =>
@@ -225,24 +229,28 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                        .HasColumnType("bit")
                        .HasComment("是否删除");
                    b.Property<string>("Message")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("消息");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                        .HasColumnType("int")
                        .HasComment("排序");
                    b.Property<string>("StackTrace")
                        .HasColumnType("nvarchar(max)")
                        .HasComment("堆栈跟踪");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                        .HasColumnType("nvarchar(max)")
                        .HasComment("跟踪Id");
                    b.Property<string>("Type")
                        .HasMaxLength(256)
@@ -250,7 +258,8 @@
                        .HasComment("类型");
                    b.Property<Guid?>("UpdateUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("最后更新操作人");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
@@ -277,7 +286,8 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<string>("Data")
                        .IsRequired()
@@ -299,16 +309,20 @@
                        .HasComment("消息是否只消费一次");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                        .HasColumnType("bit")
                        .HasComment("是否删除");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                        .HasColumnType("int")
                        .HasComment("排序");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                        .HasColumnType("nvarchar(max)")
                        .HasComment("跟踪Id");
                    b.Property<Guid?>("UpdateUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("最后更新操作人");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");
@@ -335,14 +349,16 @@
                        .HasColumnType("datetimeoffset");
                    b.Property<Guid?>("CreatedUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("创建操作人");
                    b.Property<DateTime?>("Expiry")
                        .HasColumnType("datetime2")
                        .HasComment("有效期");
                    b.Property<bool>("IsDeleted")
                        .HasColumnType("bit");
                        .HasColumnType("bit")
                        .HasComment("是否删除");
                    b.Property<bool>("IsUsed")
                        .HasColumnType("bit")
@@ -355,7 +371,8 @@
                        .HasComment("手机号码");
                    b.Property<int>("Sort")
                        .HasColumnType("int");
                        .HasColumnType("int")
                        .HasComment("排序");
                    b.Property<string>("TemplateCode")
                        .IsRequired()
@@ -368,10 +385,12 @@
                        .HasComment("模板参数");
                    b.Property<string>("TraceId")
                        .HasColumnType("nvarchar(max)");
                        .HasColumnType("nvarchar(max)")
                        .HasComment("跟踪Id");
                    b.Property<Guid?>("UpdateUserInfoId")
                        .HasColumnType("uniqueidentifier");
                        .HasColumnType("uniqueidentifier")
                        .HasComment("最后更新操作人");
                    b.Property<DateTimeOffset?>("UpdatedTime")
                        .HasColumnType("datetimeoffset");