เพิ่มคำสั่งยกเลิกลา
This commit is contained in:
parent
bcf0c0bfdb
commit
033fc915d0
12 changed files with 19309 additions and 88 deletions
18111
BMA.EHR.Infrastructure/Migrations/20240718083553_update table command add actdate.Designer.cs
generated
Normal file
18111
BMA.EHR.Infrastructure/Migrations/20240718083553_update table command add actdate.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,41 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablecommandaddactdate : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "ActEndDate",
|
||||
table: "Commands",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "วันที่สิ้นสุดการรักษาการแทน");
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "ActStartDate",
|
||||
table: "Commands",
|
||||
type: "datetime(6)",
|
||||
nullable: true,
|
||||
comment: "วันที่เริ่มรักษาการแทน");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ActEndDate",
|
||||
table: "Commands");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ActStartDate",
|
||||
table: "Commands");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -28,6 +28,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<DateTime?>("ActEndDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่สิ้นสุดการรักษาการแทน");
|
||||
|
||||
b.Property<DateTime?>("ActStartDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("วันที่เริ่มรักษาการแทน");
|
||||
|
||||
b.Property<string>("AuthorizedPosition")
|
||||
.IsRequired()
|
||||
.HasColumnType("longtext")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue