同步表结构
continuous-integration/drone/push Build is passing Details

Test_HIR_Net8
he 2025-08-15 09:58:56 +08:00
parent 552a77ecd4
commit d0351ef405
5 changed files with 18812 additions and 15 deletions

View File

@ -207,9 +207,6 @@ public class ReadingQuestionSystem : BaseAddAuditEntity
[Comment("高亮问题的答案")]
public string HighlightAnswer { get; set; } = "[]";
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public string ExportResultStr { get; set; } = "[]";

View File

@ -65,7 +65,8 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("问题名称")]
public string QuestionName { get; set; } = string.Empty;
[Comment("默认值")]
public string DefaultValue { get; set; } = string.Empty;
public IsRequired IsRequired { get; set; }
[Comment("排序号")]
@ -163,9 +164,6 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("分类算法")]
public string ClassifyAlgorithms { get; set; } = string.Empty;
[Comment("导出标识")]
public ExportIdentification? ExportIdentification { get; set; }
[Comment("导出结果")]
public string ExportResultStr { get; set; } = "[]";

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,53 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class systemQuestion : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ExportIdentification",
table: "ReadingTableQuestionSystem");
migrationBuilder.DropColumn(
name: "ExportIdentification",
table: "ReadingQuestionSystem");
migrationBuilder.AddColumn<string>(
name: "DefaultValue",
table: "ReadingTableQuestionSystem",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "",
comment: "默认值");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "DefaultValue",
table: "ReadingTableQuestionSystem");
migrationBuilder.AddColumn<int>(
name: "ExportIdentification",
table: "ReadingTableQuestionSystem",
type: "int",
nullable: true,
comment: "导出标识");
migrationBuilder.AddColumn<int>(
name: "ExportIdentification",
table: "ReadingQuestionSystem",
type: "int",
nullable: true,
comment: "导出标识");
}
}
}

View File

@ -5959,10 +5959,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)")
.HasComment("字典code");
b.Property<int?>("ExportIdentification")
.HasColumnType("int")
.HasComment("导出标识");
b.Property<string>("ExportResultStr")
.IsRequired()
.HasMaxLength(400)
@ -6814,6 +6810,12 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)")
.HasComment("数据表名称");
b.Property<string>("DefaultValue")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("默认值");
b.Property<Guid?>("DependParentId")
.HasColumnType("uniqueidentifier")
.HasComment("关联父问题");
@ -6824,10 +6826,6 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
.HasColumnType("nvarchar(400)")
.HasComment("字典code");
b.Property<int?>("ExportIdentification")
.HasColumnType("int")
.HasComment("导出标识");
b.Property<string>("ExportResultStr")
.IsRequired()
.HasMaxLength(400)