增加访视状态退回原因

This commit is contained in:
2026-07-06 16:58:03 +08:00
parent fa84171da4
commit b30638fa82
5 changed files with 22466 additions and 0 deletions
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,31 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
/// <inheritdoc />
public partial class addReason : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "BackReason",
table: "Subject",
type: "nvarchar(400)",
maxLength: 400,
nullable: false,
defaultValue: "",
comment: "退回到访视中原因");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "BackReason",
table: "Subject");
}
}
}
@@ -9972,6 +9972,12 @@ namespace IRaCIS.Core.Infra.EFCore.Migrations
b.Property<int?>("Age")
.HasColumnType("int");
b.Property<string>("BackReason")
.IsRequired()
.HasMaxLength(400)
.HasColumnType("nvarchar(400)")
.HasComment("退回到访视中原因");
b.Property<DateTime?>("BirthDate")
.HasColumnType("datetime2");