วินัยกำหนดให้ฟิวว่างได้ รายละเอียด

This commit is contained in:
Kittapath 2024-01-11 09:25:42 +07:00
parent 2f733cd2a6
commit 4369c35f93
23 changed files with 9215 additions and 53 deletions

View file

@ -0,0 +1,22 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
/// <inheritdoc />
public partial class updatetableDisciplineDisciplinary_DirectorInvestigatesdatestartnullable : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}

View file

@ -0,0 +1,22 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
/// <inheritdoc />
public partial class updatetableDisciplineDisciplinary_DirectorInvestigatesdatestartnullable1 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}

View file

@ -0,0 +1,151 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
{
/// <inheritdoc />
public partial class updatetableDisciplineDisciplinary_DirectorInvestigatesdatestartnullable2 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "DateReceived",
table: "DisciplineInvestigates",
type: "datetime(6)",
nullable: true,
comment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldComment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
migrationBuilder.AlterColumn<DateTime>(
name: "DateNotification",
table: "DisciplineInvestigates",
type: "datetime(6)",
nullable: true,
comment: "วันแจ้งเตือนล่วงหน้า",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldComment: "วันแจ้งเตือนล่วงหน้า");
migrationBuilder.AlterColumn<DateTime>(
name: "DateReceived",
table: "DisciplineDisciplinarys",
type: "datetime(6)",
nullable: true,
comment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldComment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
migrationBuilder.AlterColumn<DateTime>(
name: "DateNotification",
table: "DisciplineDisciplinarys",
type: "datetime(6)",
nullable: true,
comment: "วันแจ้งเตือนล่วงหน้า",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldComment: "วันแจ้งเตือนล่วงหน้า");
migrationBuilder.AlterColumn<DateTime>(
name: "DateReceived",
table: "DisciplineComplaints",
type: "datetime(6)",
nullable: true,
comment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldComment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
migrationBuilder.AlterColumn<DateTime>(
name: "DateNotification",
table: "DisciplineComplaints",
type: "datetime(6)",
nullable: true,
comment: "วันแจ้งเตือนล่วงหน้า",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldComment: "วันแจ้งเตือนล่วงหน้า");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "DateReceived",
table: "DisciplineInvestigates",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
comment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldNullable: true,
oldComment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
migrationBuilder.AlterColumn<DateTime>(
name: "DateNotification",
table: "DisciplineInvestigates",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
comment: "วันแจ้งเตือนล่วงหน้า",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldNullable: true,
oldComment: "วันแจ้งเตือนล่วงหน้า");
migrationBuilder.AlterColumn<DateTime>(
name: "DateReceived",
table: "DisciplineDisciplinarys",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
comment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldNullable: true,
oldComment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
migrationBuilder.AlterColumn<DateTime>(
name: "DateNotification",
table: "DisciplineDisciplinarys",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
comment: "วันแจ้งเตือนล่วงหน้า",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldNullable: true,
oldComment: "วันแจ้งเตือนล่วงหน้า");
migrationBuilder.AlterColumn<DateTime>(
name: "DateReceived",
table: "DisciplineComplaints",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
comment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldNullable: true,
oldComment: "วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
migrationBuilder.AlterColumn<DateTime>(
name: "DateNotification",
table: "DisciplineComplaints",
type: "datetime(6)",
nullable: false,
defaultValue: new DateTime(1, 1, 1, 0, 0, 0, 0, DateTimeKind.Unspecified),
comment: "วันแจ้งเตือนล่วงหน้า",
oldClrType: typeof(DateTime),
oldType: "datetime(6)",
oldNullable: true,
oldComment: "วันแจ้งเตือนล่วงหน้า");
}
}
}

View file

@ -63,11 +63,11 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("datetime(6)")
.HasComment("วันที่กำหนดพิจารณา");
b.Property<DateTime>("DateNotification")
b.Property<DateTime?>("DateNotification")
.HasColumnType("datetime(6)")
.HasComment("วันแจ้งเตือนล่วงหน้า");
b.Property<DateTime>("DateReceived")
b.Property<DateTime?>("DateReceived")
.HasColumnType("datetime(6)")
.HasComment("วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
@ -704,11 +704,11 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("datetime(6)")
.HasComment("วันที่กำหนดพิจารณา");
b.Property<DateTime>("DateNotification")
b.Property<DateTime?>("DateNotification")
.HasColumnType("datetime(6)")
.HasComment("วันแจ้งเตือนล่วงหน้า");
b.Property<DateTime>("DateReceived")
b.Property<DateTime?>("DateReceived")
.HasColumnType("datetime(6)")
.HasComment("วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");
@ -1793,11 +1793,11 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
.HasColumnType("datetime(6)")
.HasComment("วันที่กำหนดพิจารณา");
b.Property<DateTime>("DateNotification")
b.Property<DateTime?>("DateNotification")
.HasColumnType("datetime(6)")
.HasComment("วันแจ้งเตือนล่วงหน้า");
b.Property<DateTime>("DateReceived")
b.Property<DateTime?>("DateReceived")
.HasColumnType("datetime(6)")
.HasComment("วันที่รับเรื่อง เป็นวันที่ถือเป็นจุดเริ่มต้นของวินัยนั้น ๆ");