修改字段类型
parent
f6530cfb32
commit
d7da7b69d4
|
|
@ -358,7 +358,7 @@ namespace IRaCIS.Core.Application.Contracts
|
|||
public bool? ISStrictManualBurnFlag { get; set; }
|
||||
|
||||
[Comment("不严格按照影像手册参数完成刻盘原因")]
|
||||
public bool? NotStrictManualBurnFlagReason { get; set; }
|
||||
public string NotStrictManualBurnFlagReason { get; set; }
|
||||
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,6 +80,6 @@ public class TrialSiteSurvey : BaseFullDeleteAuditEntity
|
|||
public bool? ISStrictManualBurnFlag { get; set; }
|
||||
|
||||
[Comment("不严格按照影像手册参数完成刻盘原因")]
|
||||
public bool? NotStrictManualBurnFlagReason { get; set; }
|
||||
public string NotStrictManualBurnFlagReason { get; set; }
|
||||
}
|
||||
|
||||
|
|
|
|||
22331
IRaCIS.Core.Infra.EFCore/Migrations/20260528084709_siteSurveyOther1.Designer.cs
generated
Normal file
22331
IRaCIS.Core.Infra.EFCore/Migrations/20260528084709_siteSurveyOther1.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,42 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace IRaCIS.Core.Infra.EFCore.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class siteSurveyOther1 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "NotStrictManualBurnFlagReason",
|
||||
table: "TrialSiteSurvey",
|
||||
type: "nvarchar(400)",
|
||||
maxLength: 400,
|
||||
nullable: false,
|
||||
defaultValue: "",
|
||||
comment: "不严格按照影像手册参数完成刻盘原因",
|
||||
oldClrType: typeof(bool),
|
||||
oldType: "bit",
|
||||
oldNullable: true,
|
||||
oldComment: "不严格按照影像手册参数完成刻盘原因");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<bool>(
|
||||
name: "NotStrictManualBurnFlagReason",
|
||||
table: "TrialSiteSurvey",
|
||||
type: "bit",
|
||||
nullable: true,
|
||||
comment: "不严格按照影像手册参数完成刻盘原因",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(400)",
|
||||
oldMaxLength: 400,
|
||||
oldComment: "不严格按照影像手册参数完成刻盘原因");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -15208,8 +15208,10 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
|
|||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)");
|
||||
|
||||
b.Property<bool?>("NotStrictManualBurnFlagReason")
|
||||
.HasColumnType("bit")
|
||||
b.Property<string>("NotStrictManualBurnFlagReason")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("不严格按照影像手册参数完成刻盘原因");
|
||||
|
||||
b.Property<string>("Phone")
|
||||
|
|
|
|||
Loading…
Reference in New Issue