บันทึกเงินเดือนของผู้บรรจุ
This commit is contained in:
parent
69bd9c0a68
commit
bb9a0bc73e
6 changed files with 16338 additions and 6 deletions
16166
BMA.EHR.Infrastructure/Migrations/20230902063606_Add field salary for commandReceiver.Designer.cs
generated
Normal file
16166
BMA.EHR.Infrastructure/Migrations/20230902063606_Add field salary for commandReceiver.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,51 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddfieldsalaryforcommandReceiver : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "Amount",
|
||||
table: "CommandReceivers",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "เงินเดือน");
|
||||
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "MouthSalaryAmount",
|
||||
table: "CommandReceivers",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "เงินค่าตอบแทนรายเดือน");
|
||||
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "PositionSalaryAmount",
|
||||
table: "CommandReceivers",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "เงินประจำตำแหน่ง");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Amount",
|
||||
table: "CommandReceivers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "MouthSalaryAmount",
|
||||
table: "CommandReceivers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "PositionSalaryAmount",
|
||||
table: "CommandReceivers");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -463,6 +463,10 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasComment("PrimaryKey")
|
||||
.HasAnnotation("Relational:JsonPropertyName", "id");
|
||||
|
||||
b.Property<double?>("Amount")
|
||||
.HasColumnType("double")
|
||||
.HasComment("เงินเดือน");
|
||||
|
||||
b.Property<string>("CitizenId")
|
||||
.IsRequired()
|
||||
.HasMaxLength(13)
|
||||
|
|
@ -528,6 +532,14 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnOrder(102)
|
||||
.HasComment("แก้ไขข้อมูลล่าสุดเมื่อ");
|
||||
|
||||
b.Property<double?>("MouthSalaryAmount")
|
||||
.HasColumnType("double")
|
||||
.HasComment("เงินค่าตอบแทนรายเดือน");
|
||||
|
||||
b.Property<double?>("PositionSalaryAmount")
|
||||
.HasColumnType("double")
|
||||
.HasComment("เงินประจำตำแหน่ง");
|
||||
|
||||
b.Property<string>("Prefix")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue