เหตุผลอนุมัติระบบลา
This commit is contained in:
parent
2fd30e815c
commit
677ec75c66
5 changed files with 16019 additions and 6 deletions
15952
BMA.EHR.Infrastructure/Migrations/20230829060253_update table resign add commander2.Designer.cs
generated
Normal file
15952
BMA.EHR.Infrastructure/Migrations/20230829060253_update table resign add commander2.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 BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableresignaddcommander2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "CommanderApproveReason",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "เหตุผลอนุมัติผู้บังคับบัญชา")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OligarchApproveReason",
|
||||
table: "RetirementResigns",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "เหตุผลอนุมัติผู้ดูแล")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CommanderApproveReason",
|
||||
table: "RetirementResigns");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OligarchApproveReason",
|
||||
table: "RetirementResigns");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -13569,6 +13569,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("เหตุผลอนุมัติ");
|
||||
|
||||
b.Property<string>("CommanderApproveReason")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("เหตุผลอนุมัติผู้บังคับบัญชา");
|
||||
|
||||
b.Property<bool?>("CommanderReject")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("สถานะยับยั้งผู้บังคับบัญชา");
|
||||
|
|
@ -13627,6 +13631,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("สถานที่ยื่นขอลาออกราชการ");
|
||||
|
||||
b.Property<string>("OligarchApproveReason")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("เหตุผลอนุมัติผู้ดูแล");
|
||||
|
||||
b.Property<bool?>("OligarchReject")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("สถานะยับยั้งผู้ดูแล");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue