แก้api เกษียญอื่นๆให้เหมือนรับโอน
This commit is contained in:
parent
243700bd53
commit
1b70ad6816
22 changed files with 15373 additions and 389 deletions
14518
BMA.EHR.Infrastructure/Migrations/20230815185856_update table PlacementAppointments add Amount.Designer.cs
generated
Normal file
14518
BMA.EHR.Infrastructure/Migrations/20230815185856_update table PlacementAppointments add Amount.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 updatetablePlacementAppointmentsaddAmount : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "Amount",
|
||||
table: "PlacementRelocations",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "เงินเดือน");
|
||||
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "Amount",
|
||||
table: "PlacementReceives",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "เงินเดือน");
|
||||
|
||||
migrationBuilder.AddColumn<double>(
|
||||
name: "Amount",
|
||||
table: "PlacementAppointments",
|
||||
type: "double",
|
||||
nullable: true,
|
||||
comment: "เงินเดือน");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Amount",
|
||||
table: "PlacementRelocations");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Amount",
|
||||
table: "PlacementReceives");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Amount",
|
||||
table: "PlacementAppointments");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -322,6 +322,7 @@ namespace BMA.EHR.Infrastructure.Persistence
|
|||
public DbSet<RetirementDischarge> RetirementDischarges { get; set; }
|
||||
public DbSet<RetirementExpulsion> RetirementExpulsions { get; set; }
|
||||
public DbSet<RetirementOther> RetirementOthers { get; set; }
|
||||
public DbSet<RetirementOtherDoc> RetirementOtherDocs { get; set; }
|
||||
|
||||
#endregion
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue