เพิ่มช่อง วันที่เริ่มลา / สิ้นสุด ลา

This commit is contained in:
LAPTOP-KB8JC2K2\acer
2021-08-27 10:20:02 +07:00
parent 910ef472ec
commit 8735c12bd7
13 changed files with 1186 additions and 13 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,32 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class EnhancePlan : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<DateTime>(
name: "end_leave",
table: "eva_performance_plan",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "start_leave",
table: "eva_performance_plan",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "end_leave",
table: "eva_performance_plan");
migrationBuilder.DropColumn(
name: "start_leave",
table: "eva_performance_plan");
}
}
}

View File

@@ -838,12 +838,16 @@ namespace tb320eva.Migrations
b.Property<DateTime>("created");
b.Property<DateTime?>("end_leave");
b.Property<int?>("fiscal_year");
b.Property<bool>("isActive");
b.Property<decimal?>("percent");
b.Property<DateTime?>("start_leave");
b.Property<int?>("theTime");
b.Property<DateTime>("updated");