ปรับปรุง คนที่ได้สิทธิพิเศษ ให้ดูรายชื่อได้ทั้งเนติ

This commit is contained in:
nakorn
2021-10-16 21:51:16 +07:00
parent ac0e022966
commit df7d36b06b
28 changed files with 2660 additions and 30 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,33 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class AddEvaPermission : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "eva_setup_permission",
columns: table => new
{
id = table.Column<Guid>(nullable: false),
created = table.Column<DateTime>(nullable: false),
updated = table.Column<DateTime>(nullable: false),
isActive = table.Column<bool>(nullable: false),
employee_id = table.Column<int>(nullable: true),
remark = table.Column<string>(maxLength: 4000, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_eva_setup_permission", x => x.id);
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "eva_setup_permission");
}
}
}

View File

@@ -973,6 +973,26 @@ namespace tb320eva.Migrations
b.ToTable("eva_salary_cylinder");
});
modelBuilder.Entity("TodoAPI2.Models.eva_setup_permissionEntity", b =>
{
b.Property<Guid>("id");
b.Property<DateTime>("created");
b.Property<int?>("employee_id");
b.Property<bool>("isActive");
b.Property<string>("remark")
.HasMaxLength(4000);
b.Property<DateTime>("updated");
b.HasKey("id");
b.ToTable("eva_setup_permission");
});
modelBuilder.Entity("TodoAPI2.Models.eva_adjust_postponementEntity", b =>
{
b.HasOne("TodoAPI2.Models.eva_create_evaluationEntity", "eva_create_evaluation")