整改记录验收结论改为可空
This commit is contained in:
parent
587ea507b4
commit
ecc3b23b9f
138999
APT.Data.Migrations/Migrations/20260409070133_hmr2026040903.Designer.cs
generated
Normal file
138999
APT.Data.Migrations/Migrations/20260409070133_hmr2026040903.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,31 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace APT.Data.Migrations.Migrations
|
||||
{
|
||||
public partial class hmr2026040903 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ACCEPT_RESULTE",
|
||||
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<int>(
|
||||
name: "ACCEPT_RESULTE",
|
||||
table: "T_SK_HIDDEN_DANGER_RECTIFY_RECORD",
|
||||
type: "int",
|
||||
nullable: false,
|
||||
defaultValue: 0,
|
||||
oldClrType: typeof(int),
|
||||
oldType: "int",
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -82117,7 +82117,7 @@ namespace APT.Data.Migrations.Migrations
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("nvarchar(500)");
|
||||
|
||||
b.Property<int>("ACCEPT_RESULTE")
|
||||
b.Property<int?>("ACCEPT_RESULTE")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<Guid?>("ACCEPT_USER_ID")
|
||||
|
||||
@ -230,7 +230,7 @@ namespace APT.MS.Domain.Entities.SK
|
||||
/// 验收结论
|
||||
/// </summary>
|
||||
[Description("验收结论")]
|
||||
public SKAcceptResultEnum ACCEPT_RESULTE { get; set; }
|
||||
public SKAcceptResultEnum? ACCEPT_RESULTE { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 验收意见
|
||||
|
||||
Loading…
Reference in New Issue
Block a user