ปรับปรุง ลำดับการอนุมัติ

This commit is contained in:
nakorn
2022-05-03 15:27:30 +07:00
parent 086f101d0f
commit bfb9c80fac
27 changed files with 2608 additions and 10 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,62 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class AddFinalApprover : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "quota_final_status",
table: "eva_adjust_postponement",
maxLength: 5,
nullable: true);
migrationBuilder.AddColumn<int>(
name: "quota_final_status_by",
table: "eva_adjust_postponement",
maxLength: 255,
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "quota_final_status_date",
table: "eva_adjust_postponement",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "quota_final_status_note",
table: "eva_adjust_postponement",
maxLength: 1000,
nullable: true);
migrationBuilder.AddColumn<int>(
name: "quota_status_submit_to",
table: "eva_adjust_postponement",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "quota_final_status",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_final_status_by",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_final_status_date",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_final_status_note",
table: "eva_adjust_postponement");
migrationBuilder.DropColumn(
name: "quota_status_submit_to",
table: "eva_adjust_postponement");
}
}
}

View File

@@ -101,6 +101,17 @@ namespace tb320eva.Migrations
b.Property<string>("postponement_status_note")
.HasMaxLength(1000);
b.Property<string>("quota_final_status")
.HasMaxLength(5);
b.Property<int?>("quota_final_status_by")
.HasMaxLength(255);
b.Property<DateTime?>("quota_final_status_date");
b.Property<string>("quota_final_status_note")
.HasMaxLength(1000);
b.Property<string>("quota_status")
.HasMaxLength(5);
@@ -112,6 +123,8 @@ namespace tb320eva.Migrations
b.Property<string>("quota_status_note")
.HasMaxLength(1000);
b.Property<int?>("quota_status_submit_to");
b.Property<string>("report_type")
.HasMaxLength(1000);