แก้รายละเอียดผู้สมัครบรรจุ
This commit is contained in:
parent
7909634e6b
commit
20e1ba9261
4 changed files with 16601 additions and 31 deletions
|
|
@ -177,23 +177,21 @@ namespace BMA.EHR.Domain.Models.Placement
|
|||
[MaxLength(100), Comment("สัญชาติมารดา")]
|
||||
public string? MotherNationality { get; set; }
|
||||
|
||||
[Comment("ประเภทอาชีพที่ทำงานมาก่อน")]
|
||||
public string? OccupationType { get; set; }
|
||||
|
||||
[Comment("สำนัก/บริษัท บริษัท")]
|
||||
public string? OccupationCompany { get; set; }
|
||||
|
||||
[Comment("กอง/ฝ่าย บริษัท")]
|
||||
public string? OccupationDepartment { get; set; }
|
||||
|
||||
[MaxLength(200), Comment("อีเมล บริษัท")]
|
||||
public string? OccupationEmail { get; set; }
|
||||
|
||||
[MaxLength(200), Comment("โทรศัพท์ บริษัท")]
|
||||
public string? OccupationTelephone { get; set; }
|
||||
|
||||
[Comment("ตำแหน่งอาชีพ")]
|
||||
[Comment("ตำแหน่งปัจจุบัน ชื่อตำแหน่ง")]
|
||||
public string? OccupationOrg { get; set; }
|
||||
[Comment("ตำแหน่งปัจจุบัน กอง")]
|
||||
public string? OccupationPile { get; set; }
|
||||
[Comment("ตำแหน่งปัจจุบัน กลุ่ม/ฝ่าย")]
|
||||
public string? OccupationGroup { get; set; }
|
||||
[Comment("ตำแหน่งปัจจุบัน เงินเดือน")]
|
||||
public int? OccupationSalary { get; set; }
|
||||
[Comment("ตำแหน่งปัจจุบัน สังกัด")]
|
||||
public string? OccupationPosition { get; set; }
|
||||
[Comment("ตำแหน่งปัจจุบัน ประเภทราชการ")]
|
||||
public string? OccupationPositionType { get; set; }
|
||||
|
||||
[MaxLength(20), Comment("โทรศัพท์ บริษัท")]
|
||||
public string? OccupationTelephone { get; set; }
|
||||
|
||||
[Comment("Id ตำแหน่งเลขที่")]
|
||||
public PositionNumberEntity? PositionNumber { get; set; }
|
||||
|
|
|
|||
16387
BMA.EHR.Infrastructure/Migrations/20231001080056_update table PlacementProfile add Occupationorg.Designer.cs
generated
Normal file
16387
BMA.EHR.Infrastructure/Migrations/20231001080056_update table PlacementProfile add Occupationorg.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,182 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace BMA.EHR.Infrastructure.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class updatetablePlacementProfileaddOccupationorg : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationCompany",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationDepartment",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationEmail",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationType",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "OccupationTelephone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(20)",
|
||||
maxLength: 20,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์ บริษัท",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(200)",
|
||||
oldMaxLength: 200,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์ บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "OccupationPosition",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน สังกัด",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext",
|
||||
oldNullable: true,
|
||||
oldComment: "ตำแหน่งอาชีพ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationGroup",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน กลุ่ม/ฝ่าย")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationOrg",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน ชื่อตำแหน่ง")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationPile",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน กอง")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationPositionType",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน ประเภทราชการ")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "OccupationSalary",
|
||||
table: "PlacementProfiles",
|
||||
type: "int",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งปัจจุบัน เงินเดือน");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationGroup",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationOrg",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationPile",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationPositionType",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OccupationSalary",
|
||||
table: "PlacementProfiles");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "OccupationTelephone",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "โทรศัพท์ บริษัท",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "varchar(20)",
|
||||
oldMaxLength: 20,
|
||||
oldNullable: true,
|
||||
oldComment: "โทรศัพท์ บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "OccupationPosition",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ตำแหน่งอาชีพ",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext",
|
||||
oldNullable: true,
|
||||
oldComment: "ตำแหน่งปัจจุบัน สังกัด")
|
||||
.Annotation("MySql:CharSet", "utf8mb4")
|
||||
.OldAnnotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationCompany",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "สำนัก/บริษัท บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationDepartment",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "กอง/ฝ่าย บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationEmail",
|
||||
table: "PlacementProfiles",
|
||||
type: "varchar(200)",
|
||||
maxLength: 200,
|
||||
nullable: true,
|
||||
comment: "อีเมล บริษัท")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OccupationType",
|
||||
table: "PlacementProfiles",
|
||||
type: "longtext",
|
||||
nullable: true,
|
||||
comment: "ประเภทอาชีพที่ทำงานมาก่อน")
|
||||
.Annotation("MySql:CharSet", "utf8mb4");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -11587,32 +11587,35 @@ namespace BMA.EHR.Infrastructure.Migrations
|
|||
.HasColumnType("varchar(40)")
|
||||
.HasComment("สัญชาติ");
|
||||
|
||||
b.Property<string>("OccupationCompany")
|
||||
b.Property<string>("OccupationGroup")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("สำนัก/บริษัท บริษัท");
|
||||
.HasComment("ตำแหน่งปัจจุบัน กลุ่ม/ฝ่าย");
|
||||
|
||||
b.Property<string>("OccupationDepartment")
|
||||
b.Property<string>("OccupationOrg")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("กอง/ฝ่าย บริษัท");
|
||||
.HasComment("ตำแหน่งปัจจุบัน ชื่อตำแหน่ง");
|
||||
|
||||
b.Property<string>("OccupationEmail")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasComment("อีเมล บริษัท");
|
||||
b.Property<string>("OccupationPile")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งปัจจุบัน กอง");
|
||||
|
||||
b.Property<string>("OccupationPosition")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งอาชีพ");
|
||||
.HasComment("ตำแหน่งปัจจุบัน สังกัด");
|
||||
|
||||
b.Property<string>("OccupationPositionType")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ตำแหน่งปัจจุบัน ประเภทราชการ");
|
||||
|
||||
b.Property<int?>("OccupationSalary")
|
||||
.HasColumnType("int")
|
||||
.HasComment("ตำแหน่งปัจจุบัน เงินเดือน");
|
||||
|
||||
b.Property<string>("OccupationTelephone")
|
||||
.HasMaxLength(200)
|
||||
.HasColumnType("varchar(200)")
|
||||
.HasMaxLength(20)
|
||||
.HasColumnType("varchar(20)")
|
||||
.HasComment("โทรศัพท์ บริษัท");
|
||||
|
||||
b.Property<string>("OccupationType")
|
||||
.HasColumnType("longtext")
|
||||
.HasComment("ประเภทอาชีพที่ทำงานมาก่อน");
|
||||
|
||||
b.Property<Guid?>("OrganizationPositionId")
|
||||
.HasColumnType("char(36)");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue