แก้api เกษียญอื่นๆให้เหมือนรับโอน

This commit is contained in:
Kittapath 2023-08-16 02:35:43 +07:00
parent 243700bd53
commit 1b70ad6816
22 changed files with 15373 additions and 389 deletions

View file

@ -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");
}
}
}

View file

@ -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