修改
continuous-integration/drone/push Build is passing Details

IRC_NewDev
he 2024-10-15 14:54:54 +08:00
parent 1b70807824
commit 546d65ab16
5 changed files with 17915 additions and 0 deletions

View File

@ -464,6 +464,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
///<summary> ReadingTableQuestionSystemAddOrEdit 列表查询参数模型</summary>
public class ReadingTableQuestionSystemAddOrEdit
{
/// <summary>
/// 数值类型
/// </summary>

View File

@ -136,5 +136,11 @@ public class ReadingTableQuestionSystem : BaseAddAuditEntity
[Comment("复制病灶的时候 是否复制这个问题")]
public bool IsCopy { get; set; } = false;
[Comment("分类问题表格Id")]
public Guid? ClassifyTableQuestionId { get; set; }
[Comment("分类算法")]
public string ClassifyAlgorithms { get; set; } = string.Empty;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,43 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class question1 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ClassifyAlgorithms",
table: "ReadingTableQuestionSystem",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "",
comment: "分类算法");
migrationBuilder.AddColumn<Guid>(
name: "ClassifyTableQuestionId",
table: "ReadingTableQuestionSystem",
type: "uniqueidentifier",
nullable: true,
comment: "分类问题表格Id");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ClassifyAlgorithms",
table: "ReadingTableQuestionSystem");
migrationBuilder.DropColumn(
name: "ClassifyTableQuestionId",
table: "ReadingTableQuestionSystem");
}
}
}

View File

@ -6247,6 +6247,16 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<Guid>("Id")
.HasColumnType("uniqueidentifier");
b.Property<string>("ClassifyAlgorithms")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("分类算法");
b.Property<Guid?>("ClassifyTableQuestionId")
.HasColumnType("uniqueidentifier")
.HasComment("分类问题表格Id");
b.Property<DateTime>("CreateTime")
.HasColumnType("datetime2");