ส่งวินัยไปออกคำสั่ง
This commit is contained in:
parent
e8a288b4b2
commit
f644654384
21 changed files with 24913 additions and 84 deletions
16949
BMA.EHR.Infrastructure/Migrations/20231222071428_update Command add FaultLevel.Designer.cs
generated
Normal file
16949
BMA.EHR.Infrastructure/Migrations/20231222071428_update Command add FaultLevel.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,66 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updateCommandaddFaultLevel : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "CaseFault",
|
||||
table: "Commands",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "กรณีความผิด")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "FaultLevel",
|
||||
table: "Commands",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ระดับความผิด")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "RefRaw",
|
||||
table: "Commands",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "อ้างอิงมาตราตามกฏหมาย")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Result",
|
||||
table: "Commands",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ผลดำเนินการพิจารณา")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "CaseFault",
|
||||
table: "Commands");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "FaultLevel",
|
||||
table: "Commands");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "RefRaw",
|
||||
table: "Commands");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Result",
|
||||
table: "Commands");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -42,6 +42,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("char(36)")
|
||||
.HasComment("รหัสอ้างอิงผู้มีอำนาจลงนาม");
|
||||
|
||||
b.Property<string>("CaseFault")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("กรณีความผิด");
|
||||
|
||||
b.Property<string>("ChairManFullName")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ประธานคณะกรรมการ");
|
||||
|
|
@ -163,6 +167,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("รายละเอียดการกระทำผิด");
|
||||
|
||||
b.Property<string>("FaultLevel")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ระดับความผิด");
|
||||
|
||||
b.Property<DateTime?>("GovAidCommandDate")
|
||||
.HasColumnType("datetime(6)")
|
||||
.HasComment("ลงวันที่ (คำสั่งช่วยราชการ)");
|
||||
|
|
@ -263,6 +271,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ส่วนราชการที่รับโอน");
|
||||
|
||||
b.Property<string>("RefRaw")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("อ้างอิงมาตราตามกฏหมาย");
|
||||
|
||||
b.Property<string>("Result")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ผลดำเนินการพิจารณา");
|
||||
|
||||
b.Property<string>("SourceOrganizationName")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("หน่วยงานต้นสังกัด ก่อนรับราชการทหาร");
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,30 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableDisciplineDisciplinarysaddIsSuspend : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsSuspend",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "ส่งไปพักราชการ");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsSuspend",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,90 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetableDisciplineDisciplinarysaddIsSuspend1 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "IsReport",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ส่งไปยุติเรื่อง",
|
||||
oldClrType: typeof(bool),
|
||||
oldType: "tinyint(1)",
|
||||
oldComment: "ส่งไปยุติเรื่อง")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "IsSuspend",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ส่งไปพักราชการ",
|
||||
oldClrType: typeof(bool),
|
||||
oldType: "tinyint(1)",
|
||||
oldComment: "ส่งไปพักราชการ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "IsReport",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ส่งไปยุติเรื่อง",
|
||||
oldClrType: typeof(bool),
|
||||
oldType: "tinyint(1)",
|
||||
oldComment: "ส่งไปยุติเรื่อง")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<bool>(
|
||||
name: "IsReport",
|
||||
table: "DisciplineInvestigate_ProfileComplaints",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "ส่งไปยุติเรื่อง",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext",
|
||||
oldNullable: true,
|
||||
oldComment: "ส่งไปยุติเรื่อง")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<bool>(
|
||||
name: "IsSuspend",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "ส่งไปพักราชการ",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext",
|
||||
oldNullable: true,
|
||||
oldComment: "ส่งไปพักราชการ")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<bool>(
|
||||
name: "IsReport",
|
||||
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||
type: "tinyint(1)",
|
||||
nullable: false,
|
||||
defaultValue: false,
|
||||
comment: "ส่งไปยุติเรื่อง",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext",
|
||||
oldNullable: true,
|
||||
oldComment: "ส่งไปยุติเรื่อง")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1674,10 +1674,14 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("varchar(100)")
|
||||
.HasComment("ชื่อ");
|
||||
|
||||
b.Property<bool>("IsReport")
|
||||
.HasColumnType("tinyint(1)")
|
||||
b.Property<string>("IsReport")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ส่งไปยุติเรื่อง");
|
||||
|
||||
b.Property<string>("IsSuspend")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ส่งไปพักราชการ");
|
||||
|
||||
b.Property<string>("LastName")
|
||||
.IsRequired()
|
||||
.HasMaxLength(100)
|
||||
|
|
@ -2279,8 +2283,8 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
|||
.HasColumnType("varchar(100)")
|
||||
.HasComment("ชื่อ");
|
||||
|
||||
b.Property<bool>("IsReport")
|
||||
.HasColumnType("tinyint(1)")
|
||||
b.Property<string>("IsReport")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ส่งไปยุติเรื่อง");
|
||||
|
||||
b.Property<string>("LastName")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue