Merge branch 'Test_IRC_Net10' of https://gitea.frp.extimaging.com/XCKJ/irc-netcore-api into Test_IRC_Net10
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
commit
fe96ff5924
|
|
@ -64,6 +64,8 @@ namespace IRaCIS.Application.Contracts
|
|||
public bool IsSubjectQuit { get; set; }
|
||||
|
||||
public string SuspendReason { get; set; } = string.Empty;
|
||||
|
||||
public string BackReason { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -141,6 +143,8 @@ namespace IRaCIS.Application.Contracts
|
|||
|
||||
public string SuspendReason { get; set; }
|
||||
|
||||
public string BackReason { get; set; } = string.Empty;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -98,4 +98,8 @@ public class Subject : BaseFullDeleteAuditEntity
|
|||
|
||||
[Comment("访视中止原因")]
|
||||
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")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("BackReason")
|
||||
.IsRequired()
|
||||
.HasMaxLength(400)
|
||||
.HasColumnType("nvarchar(400)")
|
||||
.HasComment("退回到访视中原因");
|
||||
|
||||
b.Property<DateTime?>("BirthDate")
|
||||
.HasColumnType("datetime2");
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue