File was renamed from FlexJobApi.Database.Migrations/Migrations/LogDb/20250801013139_Init.Designer.cs |
| | |
| | | namespace FlexJobApi.Database.Migrations.Migrations.LogDb |
| | | { |
| | | [DbContext(typeof(LogDbContext))] |
| | | [Migration("20250801013139_Init")] |
| | | [Migration("20250801141950_Init")] |
| | | partial class Init |
| | | { |
| | | /// <inheritdoc /> |
| | |
| | | .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"); |
| | |
| | | .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)") |
| | |
| | | .HasComment("主键"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<string>("TableName") |
| | | .IsRequired() |
| | |
| | | .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"); |
| | |
| | | }); |
| | | }); |
| | | |
| | | 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 => |
| | |
| | | .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) |
| | |
| | | .HasComment("类型"); |
| | | |
| | | b.Property<Guid?>("UpdateUserInfoId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("最后更新操作人"); |
| | | |
| | | b.Property<DateTimeOffset?>("UpdatedTime") |
| | | .HasColumnType("datetimeoffset"); |
| | |
| | | .HasColumnType("datetimeoffset"); |
| | | |
| | | b.Property<Guid?>("CreatedUserInfoId") |
| | | .HasColumnType("uniqueidentifier"); |
| | | .HasColumnType("uniqueidentifier") |
| | | .HasComment("创建操作人"); |
| | | |
| | | b.Property<string>("Data") |
| | | .IsRequired() |
| | |
| | | .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"); |
| | |
| | | .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") |
| | |
| | | .HasComment("手机号码"); |
| | | |
| | | b.Property<int>("Sort") |
| | | .HasColumnType("int"); |
| | | .HasColumnType("int") |
| | | .HasComment("排序"); |
| | | |
| | | b.Property<string>("TemplateCode") |
| | | .IsRequired() |
| | |
| | | .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"); |