no message
This commit is contained in:
parent
91196ec876
commit
970e368ce4
5 changed files with 3543 additions and 0 deletions
|
|
@ -83,10 +83,14 @@ namespace BMA.EHR.Domain.Models.Discipline
|
||||||
public string? Status { get; set; } = "NEW";
|
public string? Status { get; set; } = "NEW";
|
||||||
[Comment("ประเภทออกคำสั่ง")]
|
[Comment("ประเภทออกคำสั่ง")]
|
||||||
public Guid? CommandTypeId { get; set; }
|
public Guid? CommandTypeId { get; set; }
|
||||||
|
[Comment("ประเภทออกคำสั่ง")]
|
||||||
|
public string? CommandCode { get; set; }
|
||||||
[Comment("สถานะออกคำสั่งงดโทด")]
|
[Comment("สถานะออกคำสั่งงดโทด")]
|
||||||
public string? StatusDiscard { get; set; } = "NEW";
|
public string? StatusDiscard { get; set; } = "NEW";
|
||||||
[Comment("ประเภทออกคำสั่งงดโทด")]
|
[Comment("ประเภทออกคำสั่งงดโทด")]
|
||||||
public Guid? CommandTypeDiscardId { get; set; }
|
public Guid? CommandTypeDiscardId { get; set; }
|
||||||
|
[Comment("ประเภทออกคำสั่งงดโทด")]
|
||||||
|
public string? CommandDiscardCode { get; set; }
|
||||||
[Comment("ส่งไปยุติเรื่อง")]
|
[Comment("ส่งไปยุติเรื่อง")]
|
||||||
public string? IsReport { get; set; } = "NEW";
|
public string? IsReport { get; set; } = "NEW";
|
||||||
[Comment("ส่งไปพักราชการ")]
|
[Comment("ส่งไปพักราชการ")]
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,8 @@ namespace BMA.EHR.Domain.Models.Discipline
|
||||||
public string? Status { get; set; }
|
public string? Status { get; set; }
|
||||||
[Comment("ประเภทออกคำสั่ง")]
|
[Comment("ประเภทออกคำสั่ง")]
|
||||||
public Guid? CommandTypeId { get; set; }
|
public Guid? CommandTypeId { get; set; }
|
||||||
|
[Comment("ประเภทออกคำสั่ง")]
|
||||||
|
public string? CommandCode { get; set; }
|
||||||
[Comment("เหตุที่ถูกสั่งพักราชการ/ออกจากราชการไว้ก่อน")]
|
[Comment("เหตุที่ถูกสั่งพักราชการ/ออกจากราชการไว้ก่อน")]
|
||||||
public string? DescriptionSuspend { get; set; }
|
public string? DescriptionSuspend { get; set; }
|
||||||
[Comment("วันที่สั่งพักราชการ/ให้ออกจากราชการไว้ก่อน")]
|
[Comment("วันที่สั่งพักราชการ/ให้ออกจากราชการไว้ก่อน")]
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,54 @@
|
||||||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||||||
|
|
||||||
|
#nullable disable
|
||||||
|
|
||||||
|
namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
public partial class updatetabledisciplinecomadddna1 : Migration
|
||||||
|
{
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "CommandCode",
|
||||||
|
table: "DisciplineReport_Profiles",
|
||||||
|
type: "longtext",
|
||||||
|
nullable: true,
|
||||||
|
comment: "ประเภทออกคำสั่ง")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "CommandCode",
|
||||||
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||||
|
type: "longtext",
|
||||||
|
nullable: true,
|
||||||
|
comment: "ประเภทออกคำสั่ง")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
|
||||||
|
migrationBuilder.AddColumn<string>(
|
||||||
|
name: "CommandDiscardCode",
|
||||||
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates",
|
||||||
|
type: "longtext",
|
||||||
|
nullable: true,
|
||||||
|
comment: "ประเภทออกคำสั่งงดโทด")
|
||||||
|
.Annotation("MySql:CharSet", "utf8mb4");
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <inheritdoc />
|
||||||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||||||
|
{
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "CommandCode",
|
||||||
|
table: "DisciplineReport_Profiles");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "CommandCode",
|
||||||
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||||
|
|
||||||
|
migrationBuilder.DropColumn(
|
||||||
|
name: "CommandDiscardCode",
|
||||||
|
table: "DisciplineDisciplinary_ProfileComplaintInvestigates");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -1770,6 +1770,14 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||||
.HasColumnType("varchar(13)")
|
.HasColumnType("varchar(13)")
|
||||||
.HasComment("รหัสบัตรประชาชน");
|
.HasComment("รหัสบัตรประชาชน");
|
||||||
|
|
||||||
|
b.Property<string>("CommandCode")
|
||||||
|
.HasColumnType("longtext")
|
||||||
|
.HasComment("ประเภทออกคำสั่ง");
|
||||||
|
|
||||||
|
b.Property<string>("CommandDiscardCode")
|
||||||
|
.HasColumnType("longtext")
|
||||||
|
.HasComment("ประเภทออกคำสั่งงดโทด");
|
||||||
|
|
||||||
b.Property<Guid?>("CommandTypeDiscardId")
|
b.Property<Guid?>("CommandTypeDiscardId")
|
||||||
.HasColumnType("char(36)")
|
.HasColumnType("char(36)")
|
||||||
.HasComment("ประเภทออกคำสั่งงดโทด");
|
.HasComment("ประเภทออกคำสั่งงดโทด");
|
||||||
|
|
@ -2715,6 +2723,10 @@ namespace BMA.EHR.Infrastructure.Migrations.DisciplineDb
|
||||||
.HasColumnType("varchar(13)")
|
.HasColumnType("varchar(13)")
|
||||||
.HasComment("รหัสบัตรประชาชน");
|
.HasComment("รหัสบัตรประชาชน");
|
||||||
|
|
||||||
|
b.Property<string>("CommandCode")
|
||||||
|
.HasColumnType("longtext")
|
||||||
|
.HasComment("ประเภทออกคำสั่ง");
|
||||||
|
|
||||||
b.Property<Guid?>("CommandTypeId")
|
b.Property<Guid?>("CommandTypeId")
|
||||||
.HasColumnType("char(36)")
|
.HasColumnType("char(36)")
|
||||||
.HasComment("ประเภทออกคำสั่ง");
|
.HasComment("ประเภทออกคำสั่ง");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue