修改
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
1b70807824
commit
546d65ab16
|
@ -464,6 +464,7 @@ namespace IRaCIS.Core.Application.Service.Reading.Dto
|
|||
///<summary> ReadingTableQuestionSystemAddOrEdit 列表查询参数模型</summary>
|
||||
public class ReadingTableQuestionSystemAddOrEdit
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 数值类型
|
||||
/// </summary>
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
||||
}
|
||||
|
|
17855
IRaCIS.Core.Infra.EFCore/Migrations/20241015065407_question1.Designer.cs
generated
Normal file
17855
IRaCIS.Core.Infra.EFCore/Migrations/20241015065407_question1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue