ออกคำสั่งเงินเดือน
This commit is contained in:
parent
b89c3301e3
commit
66c97a162b
14 changed files with 53814 additions and 1 deletions
17158
BMA.EHR.Infrastructure/Migrations/20240424180754_update table command add RefDisciplineId.Designer.cs
generated
Normal file
17158
BMA.EHR.Infrastructure/Migrations/20240424180754_update table command add RefDisciplineId.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,31 @@
|
|||
using System;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablecommandaddRefDisciplineId : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<Guid>(
|
||||
name: "SalaryPeriodId",
|
||||
table: "Commands",
|
||||
type: "char(36)",
|
||||
nullable: true,
|
||||
comment: "Id เรื่องเงินเดือน",
|
||||
collation: "ascii_general_ci");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SalaryPeriodId",
|
||||
table: "Commands");
|
||||
}
|
||||
}
|
||||
}
|
||||
17163
BMA.EHR.Infrastructure/Migrations/20240425084321_update table command add year.Designer.cs
generated
Normal file
17163
BMA.EHR.Infrastructure/Migrations/20240425084321_update table command add year.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,31 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablecommandaddyear : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Year",
|
||||
table: "Commands",
|
||||
type: "varchar(4)",
|
||||
maxLength: 4,
|
||||
nullable: true,
|
||||
comment: "ปีรอบเงินเดือน")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Year",
|
||||
table: "Commands");
|
||||
}
|
||||
}
|
||||
}
|
||||
17167
BMA.EHR.Infrastructure/Migrations/20240425163413_update table command add salaryPeriod.Designer.cs
generated
Normal file
17167
BMA.EHR.Infrastructure/Migrations/20240425163413_update table command add salaryPeriod.Designer.cs
generated
Normal file
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
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablecommandaddsalaryPeriod : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "SalaryPeriod",
|
||||
table: "Commands",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "รอบเงินเดือน")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "SalaryPeriod",
|
||||
table: "Commands");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -283,6 +283,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ผลดำเนินการพิจารณา");
|
||||
|
||||
b.Property<string>("SalaryPeriod")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("รอบเงินเดือน");
|
||||
|
||||
b.Property<Guid?>("SalaryPeriodId")
|
||||
.HasColumnType("char(36)")
|
||||
.HasComment("Id เรื่องเงินเดือน");
|
||||
|
||||
b.Property<string>("SourceOrganizationName")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("หน่วยงานต้นสังกัด ก่อนรับราชการทหาร");
|
||||
|
|
@ -291,6 +299,11 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("longtext")
|
||||
.HasComment("ส่วนราชการที่ให้โอน");
|
||||
|
||||
b.Property<string>("Year")
|
||||
.HasMaxLength(4)
|
||||
.HasColumnType("varchar(4)")
|
||||
.HasComment("ปีรอบเงินเดือน");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("CommandStatusId");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue