增加访视状态退回原因
parent
fa84171da4
commit
b30638fa82
|
|
@ -64,6 +64,8 @@ namespace IRaCIS.Application.Contracts
|
||||||
public bool IsSubjectQuit { get; set; }
|
public bool IsSubjectQuit { get; set; }
|
||||||
|
|
||||||
public string SuspendReason { get; set; } = string.Empty;
|
public string SuspendReason { get; set; } = string.Empty;
|
||||||
|
|
||||||
|
public string BackReason { get; set; } = string.Empty;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -98,4 +98,8 @@ public class Subject : BaseFullDeleteAuditEntity
|
||||||
|
|
||||||
[Comment("访视中止原因")]
|
[Comment("访视中止原因")]
|
||||||
public string SuspendReason { get; set; }
|
public string SuspendReason { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
[Comment("退回到访视中原因")]
|
||||||
|
public string BackReason { get; set; }
|
||||||
}
|
}
|
||||||
|
|
|
||||||
22423
IRaCIS.Core.Infra.EFCore/Migrations/20260706085522_addReason.Designer.cs
generated
Normal file
22423
IRaCIS.Core.Infra.EFCore/Migrations/20260706085522_addReason.Designer.cs
generated
Normal file
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")
|
b.Property<int?>("Age")
|
||||||
.HasColumnType("int");
|
.HasColumnType("int");
|
||||||
|
|
||||||
|
b.Property<string>("BackReason")
|
||||||
|
.IsRequired()
|
||||||
|
.HasMaxLength(400)
|
||||||
|
.HasColumnType("nvarchar(400)")
|
||||||
|
.HasComment("退回到访视中原因");
|
||||||
|
|
||||||
b.Property<DateTime?>("BirthDate")
|
b.Property<DateTime?>("BirthDate")
|
||||||
.HasColumnType("datetime2");
|
.HasColumnType("datetime2");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue